-
Couldn't load subscription status.
- Fork 505
Add filtering out of documents with error.message from latest indexes #15722
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
base: main
Are you sure you want to change the base?
Add filtering out of documents with error.message from latest indexes #15722
Conversation
005bfac to
4f4e661
Compare
4f4e661 to
7bc623c
Compare
🚀 Benchmarks reportTo see the full report comment with |
|
Is there an issue for this explaining why it's necessary? |
256f44a to
a672def
Compare
This PR closes this issue, the intention it to maintain clean latest indexes and prevent documents with errors reaching them. |
5fdc011 to
b65571b
Compare
|
I think this should either be conditional on user configuration or done dynamically rather than my mutating the index. |
AFAIK we don't mutate any index, just filtering out findings containing errors messages. @maxcold do we need to make the filtering configurable? didn't see such requirement. |
…iguration and vulnerability index change is added to all supported native and 3p integrations
b65571b to
f8d6a64
Compare
|
@alexreal1314 @efd6 I don't see a reason to make it configurable tbh. The sole reason the transforms exist today for these integrations is that we want the data from the latest transform destination index to be used in the Findings page in Security Solution. This change only affects the destination index, not a source index which is used by the users for their needs (dashbaords, alerts, whatever usercase pre tranform existence). Destination index is only for our internal use really and we don't want error documents to show up on the Findings page |
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
|
@maxcold That's reasonable. |
packages/aws/changelog.yml
Outdated
| - description: Update transform to filter out document containing an error.message from AWS Config, AWS Inspector, and AWS Security Hub latest indexes. | ||
| type: bugfix | ||
| link: https://github.com/elastic/integrations/pull/15722 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@efd6 could you elaborate please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This text is an addition to a previous version that was added in #15737 and is a duplicate of the text above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@efd6 fixed, thanks.
f8d6a64 to
4b3069c
Compare
💚 Build Succeeded
History
|
Proposed commit message
Purpose of this PR is to filter out documents who contain error.message in the source indexes for all supported 3p integration and our native integration. This is in order to improve UI experience by filtering them out from the cdr workflows.
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
wizCollect Wiz logs via APIlogs-wiz.vulnerability-defaultshould contain a document with error.message field but no documents should be in the dest indexsecurity_solution-wiz.vulnerability_latest-v2.Screenshots
source index - wiz:

dest index - wiz:
