bitdefender: ensure remediation actions are correlated with their file paths#11013
bitdefender: ensure remediation actions are correlated with their file paths#11013efd6 merged 2 commits intoelastic:mainfrom
Conversation
e61451d to
7582217
Compare
…e paths The .filePaths, .fileSizes and .remediationActions are correlated arrays, so ensure that empty actions are not removed from the array to maintain their cardinality relationships.
7582217 to
c1424e6
Compare
🚀 Benchmarks reportPackage
|
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
push_configuration |
33333.33 | 23809.52 | -9523.81 (-28.57%) | 💔 |
push_statistics |
58823.53 | 38461.54 | -20361.99 (-34.62%) | 💔 |
To see the full report comment with /test benchmark fullreport
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
kcreddy
left a comment
There was a problem hiding this comment.
Minor clarification. Otherwise LGTM 👍🏼
| } | ||
| return false; | ||
| } | ||
| ctx.bitdefender?.event?.remediationActions?.replaceAll(e -> e == "" ? "-" : e); |
There was a problem hiding this comment.
Do you think similar change for filePaths and fileSizes is also required?
There was a problem hiding this comment.
I don't think so, but I will add them. The semantics are that this can be empty if there is no remediation, but the others would only be empty due to error.
|
💚 Build Succeeded
History
cc @efd6 |
|
Package bitdefender - 2.1.1 containing this change is available at https://epr.elastic.co/search?package=bitdefender |
…e paths (elastic#11013) The .filePaths, .fileSizes and .remediationActions are correlated arrays, so ensure that empty actions are not removed from the array to maintain their cardinality relationships.
…e paths (elastic#11013) The .filePaths, .fileSizes and .remediationActions are correlated arrays, so ensure that empty actions are not removed from the array to maintain their cardinality relationships.




Proposed commit message
The .filePaths, .fileSizes and .remediationActions fields are correlated arrays, so ensure that empty actions are not removed from the array to maintain their cardinality relationships.
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots