Skip to content

[7.x] [Security Solution][Detections] Support arrays in event fields for Severity/Risk overrides (#83723)#84643

Merged
banderror merged 1 commit intoelastic:7.xfrom
banderror:backport/7.x/pr-83723
Dec 1, 2020
Merged

[7.x] [Security Solution][Detections] Support arrays in event fields for Severity/Risk overrides (#83723)#84643
banderror merged 1 commit intoelastic:7.xfrom
banderror:backport/7.x/pr-83723

Conversation

@banderror
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…verity/Risk overrides (elastic#83723)

This PR changes the behavior of severity and risk score overrides in two ways:

- adds support for arrays in the mapped event fields (so a rule can be triggered by an event where e.g. `event.custom_severity` has a value like `[45, 70, 90]`)
- makes the logic of overrides more flexible, resilient to the incoming values (filters out junk, extracts meaningful values, does its best to find a value that would fit the mapping)
@banderror banderror added the backport This PR is a backport of another PR label Dec 1, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@banderror banderror merged commit b77febd into elastic:7.x Dec 1, 2020
@banderror banderror deleted the backport/7.x/pr-83723 branch December 1, 2020 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants