[Tuning] SDH - Possible Consent Grant Attack via Azure-Registered Application #4283
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s):
https://github.com/elastic/sdh-protections/issues/538
Summary - What I changed
o365 integration had a field pipeline change that renamed the
o365.audit.Operation
field asevent.action
. Because of this the rule as it exists does not trigger foro365.audit
data stream. I'm adding theevent.action
field as an additional OR clause which should correct the false negative. This is a simple tuning that should work as expected below is a screenshot from @arturmouraa with the working query in his test environment as I do not have one set up for this at the moment and would like to push the change in time for our upcoming release.How To Test
target event provided in SDH ticket
SCREENSHOTS
Here is the screenshot of the alert after changing the rule query.
And here is the rule cloned and changed: