You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to parse and filter json thats passed to notify. Using something like jq, jsonata or JMESPath would be really useful.
For example, today if I wanted to do this with jq I would run the following query to show only results that match severity of info. nuclei -silent -u https://site.tld -j | jq 'select(.info.severity == "info") | {host, "template-id": .["template-id"]}' | notify
I'm thinking adding this into notify would be nice so you could have filtering by id.
I know this is kind of a unique enhancement and does add some complexity so you wouldn't be sending output in some cases and I haven't really considered all the impacts. Figured I would throw out the idea because it would be nice to have these types of things in a config.
The text was updated successfully, but these errors were encountered:
It would be nice to be able to parse and filter json thats passed to notify. Using something like jq, jsonata or JMESPath would be really useful.
For example, today if I wanted to do this with jq I would run the following query to show only results that match severity of info.
nuclei -silent -u https://site.tld -j | jq 'select(.info.severity == "info") | {host, "template-id": .["template-id"]}' | notify
I'm thinking adding this into notify would be nice so you could have filtering by id.
I know this is kind of a unique enhancement and does add some complexity so you wouldn't be sending output in some cases and I haven't really considered all the impacts. Figured I would throw out the idea because it would be nice to have these types of things in a config.
The text was updated successfully, but these errors were encountered: