Graylog2 / graylog-plugin-threatintel

Graylog Processing Pipeline functions to enrich log messages with IoC information from threat intelligence databases
Other
151 stars 19 forks source link

Bubble up HTTP error codes from data adapter #215

Closed patrickmann closed 2 years ago

patrickmann commented 2 years ago

Resolves Graylog2/graylog-plugin-cloud#1046

When OTX API returns an HTTP error code, bubble up the error and log it in the processing failure stream.

How to test: either use a test proxy to manipulate the returned values; or issue OTX requests at a high rate, which will cause the rate limiter to kick in.

/jenkins-pr-deps Graylog2/graylog2-server#13508