NeuraLegion / sec-tester-cr

Bright Security scanner integration for Crystal specs
MIT License
15 stars 1 forks source link

Minimal PR for reporting scan results as a error spans #8

Closed wyhaines closed 2 years ago

wyhaines commented 2 years ago

This is a minimal PR that is sufficient to use opentelemetry to report scan as an error span. It is setup so that configuration is done only through environment variables. Testing, using a slightly messier version of this, against New Relic, showed it working as expected. The errors are picked up by the Errors Inbox.

It should work, as well, for whatever any other vendor does with error spans.