-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elastic-friendly Event JSON #1670
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #1670 +/- ##
=====================================
- Coverage 93% 93% -0%
=====================================
Files 341 341
Lines 25934 25948 +14
=====================================
- Hits 23931 23923 -8
- Misses 2003 2025 +22 ☔ View full report in Codecov by Sentry. |
Here's another issue @TheTechromancer , WIth BBOT v1.x siem_friendly=True output... .data.SCAN is a string, e.g.
Whereas with BBOT v2.x siem_friendly=True output .data.SCAN is an object, e.g.
Again, I can hack around this in the Elastic ingest pipeline by moving .data.SCAN to something else like .data.SCAN_INIT But this will probably cause conflicts with other SIEM systems that also expect type consistency. It won't be a problem if there's no coexistence of v1.x logs alongside v2.x logs, so one other approach here is also to simply say that they're not compatible and that any new version of a SIEM integration should only support v2.x logs... |
Oof yeah. My instinct would be to support only v2 going forward. |
Yeap, I'm inclined to agree right now, backwards compatibility right now might be pointless, though I do think my suggestion in #1672 re using JSON Schema to test output would be really good moving forward to avoid this kind of issue again as BBOT v3.x develops :-) |
@colin-stubbs should we merge this? |
Yeap, this would be good. |
This PR separates the event IDs from the
discovery_chain
and puts them in their own list: