beats icon indicating copy to clipboard operation
beats copied to clipboard

threatintel module for anomalithreatstream not handling delta gracefully

Open sam42man opened this issue 3 years ago • 1 comments

https://github.com/elastic/beats/blob/main/x-pack/filebeat/module/threatintel/anomalithreatstream/ingest/pipeline.yml

For security vulnerabilities please only send reports to [email protected]. See https://www.elastic.co/community/security for more information.

Please include configurations and logs if available.

For confirmed bugs, please report:

  • Version: 7.17.3
  • Operating System: eck
  • Steps to Reproduce:
  • -set up anomalithreatstream integration with a beats instance reading date from anomali.
    • we use the beats configuration and ingest piplines from the module.
    • restart the anomily thretstream integrator expected results: only new records of IOC should be ingested in to our elastic search cluster

actual results: when the thretstream integrator restarts it re send s all IOC to our beats instance and all ioc are converted to records in elastic search causing duplicate.

sam42man avatar Oct 07 '22 18:10 sam42man

This issue doesn't have a Team:<team> label.

botelastic[bot] avatar Oct 07 '22 18:10 botelastic[bot]

@jamiehynds Can we please get this assigned? Thanks a million

Hashtpari avatar Oct 26 '22 17:10 Hashtpari

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

elasticmachine avatar Nov 10 '22 09:11 elasticmachine

This was fixed in #29014 which was included in v8. The fix was to add a fingerprint processor using the event.dataset and event id field from the original event. Making this change to v7 would be a breaking change and so it was not back-ported, and would unfortunately not help in the current situation until all old logs are not available for filebeat to reprocess.

efd6 avatar Nov 14 '22 00:11 efd6

Closing as the PR linked by Dan resolved the issue in 8.x

jamiehynds avatar Feb 14 '23 12:02 jamiehynds