- Notifications
You must be signed in to change notification settings - Fork 519
enhancement - modify incident handling to match defender for endpoint #9246
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
Conversation
| 💚 CLA has been signed |
| Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
| buildkite test this |
| I see the build is failing, but don't have access to buildkite to see why. Is there anything I can help with to facilitate this? |
| @agmic CI is failing on this line inside changelog: Can you update the line to |
| thx @kcreddy . I've made the update - any last things needed to trigger the buildcheck? |
| /test |
|
| Hey @agmic, The better way to handle this is using Elasticsearch Latest Transform where you can store latest copy in separate index. But, transforms are usually computationally expensive as every time it has to query all the data in the source datastream to find and store latest copies. @jamiehynds Do you think adding this support (modified incidents) using transforms is worth it? Currently based on the fingerprint processor, modifications to incidents are not ingested. |
| We find value in the suggested behavior as it allows the modifications to come into elastic, enabling us to follow the changes. The behavior also follows how incidents from M365 Defender are being handled by that integration. Line 318 in 2e66957
|
| Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
| 👍 |
| Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
| The update to include mod time in the fingerprint seem good, because otherwise the integration mostly won't index any updates. I suggest adding a small blurb in the Alerts section of the package's readme to state that a new document is indexed when alerts are modified. |
kcreddy left a comment
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.
| @kcreddy I'll update the readme and add it to the PR. Just to be clear, I'll add it to the Incidents section, as this is what is changed. |
| Hey @agmic, thanks for taking care of this.
Yes, that sounds good.
Yes, the merge conflicts need to be resolved as well. |
…ident modification
| /test |
kcreddy left a comment
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.
@agmic The CI is failing on outdated README.
Can you regenerate the README file and commit it.
elastic-package build && elastic-package format && elastic-package lint && elastic-package check && elastic-package build
Add blurb explaining that a new incident document is indexed upon incident modification to README.md template
Update version of README.md as generated by elastic-package
| @kcreddy - I'd forgotten that the README.md was generated from a template. I've modified the template in _dev/build/docs and run the elastic-package commands above. The regenerated README.md appears to be unchanged. |
| /test |
| @kcreddy Failing on expected outcome of incident parsing due to change of timestamp handling - I'll get that remedied. |
| /test |
| @agmic You may have to re-run the pipeline tests: There is a missing comma |
Fix invalid JSON
| /test |
1 similar comment
| /test |
🚀 Benchmarks reportTo see the full report comment with |
|
💚 Build Succeeded
History
|
kcreddy left a comment
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.
LGTM
| Package panw_cortex_xdr - 1.28.0 containing this change is available at https://epr.elastic.co/search?package=panw_cortex_xdr |







Enhancement
Proposed commit message
Modify incident handling to match Defender for Endpoint.
This change will align the integration with the defender for endpoint integration, enable correct fetching of the latest incidents and incident changes, and allow for ingestion of modified incidents.
Checklist
changelog.ymlfile.