Response headers
crazy-max opened this issue · 6 comments
Hi,
First of all thanks for this lib.
I'm currently using your lib to retrieve network alerts through GetBannersByAlerts
. Everything works fine but the response headers are not included and they could be relevant to me if they are available:
The headers contain metadata about the alert to help you understand which alert was responsible for generating the notification. Specifically, the following headers are available in the POST request:
- SHODAN-ALERT-ID: unique ID for the alert
- SHODAN-ALERT-NAME: name for the alert
- SHODAN-ALERT-TRIGGER: trigger that caused the notification to get sent
- SHODAN-SIGNATURE-SHA1: SHA1 signature encoded using your API key to validate the notification's origin
These response headers are about the webhook monitor and I wonder if the same are passed for the network alert streaming endpoint.
If so, can you include them?
Thanks!
hey @crazy-max ! i'll try to take a look this week
@crazy-max I'm not sure I wanna make a new major version, I'll think on duplicating methods 🤔 can you build your project with the PR branch and verify the solution?
ok. your welcome 👍