Skip to content

[ESET PROTECT] Normalize ECS hash fields enabling indicator match rules - #9465

Merged
efd6 merged 6 commits into
elastic:mainfrom
kat-does-code:main
Apr 2, 2024
Merged

[ESET PROTECT] Normalize ECS hash fields enabling indicator match rules#9465
efd6 merged 6 commits into
elastic:mainfrom
kat-does-code:main

Conversation

@kat-does-code

@kat-does-code kat-does-code commented Mar 28, 2024

Copy link
Copy Markdown
Contributor

[Enhancement]

This PR aims to improve compatibility with threat intelligence and other security integrations, including ESET Threat Intelligence #9255, by lowercasing the ECS hash fields threat.indicator.file.hash.sha1, file.hash.sha and related.hash, which is more in line with similar security integrations. This would enable one to use indicator match rules more easily as well.

Also fixes a parsing error when object_uri equals script.

Proposed commit message

Lowercase related hash and indicator hash to support indicator rule matching. Fixed grok parse error when object_uri equals script.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
kat-does-code and others added 2 commits March 28, 2024 12:03
@kat-does-code
kat-does-code requested a review from a team as a code owner March 28, 2024 12:14
@kat-does-code kat-does-code reopened this Mar 28, 2024
Comment thread packages/eset_protect/changelog.yml Outdated
Comment thread packages/eset_protect/data_stream/detection/_dev/test/pipeline/test-detection.log Outdated
Comment thread packages/eset_protect/data_stream/event/_dev/test/pipeline/test-event.log Outdated
Comment thread packages/eset_protect/data_stream/event/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/eset_protect/data_stream/event/elasticsearch/ingest_pipeline/default.yml Outdated
@efd6

efd6 commented Apr 2, 2024

Copy link
Copy Markdown
Contributor

/test

@elasticmachine

Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

@elastic-sonarqube

Copy link
Copy Markdown

@efd6 efd6 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@efd6
efd6 merged commit 6a1931b into elastic:main Apr 2, 2024
@LaZyDK

LaZyDK commented Apr 3, 2024

Copy link
Copy Markdown
Contributor

You are referencing the wrong pull request in the changelog

@kat-does-code

Copy link
Copy Markdown
Contributor Author

You are referencing the wrong pull request in the changelog

@efd6 How do I go about fixing this, issue and PR?

@efd6

efd6 commented Apr 3, 2024

Copy link
Copy Markdown
Contributor

Sorry about that, I should have caught it. You can send another PR to fix the line. No other change is required. Otherwise I can do it tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 participants