Skip to content

[Suricata] Add Observer Metadata - #6985

Merged
efd6 merged 24 commits into
elastic:mainfrom
MakoWish:suricata_add_observer_metadata
Oct 3, 2023
Merged

[Suricata] Add Observer Metadata#6985
efd6 merged 24 commits into
elastic:mainfrom
MakoWish:suricata_add_observer_metadata

Conversation

@MakoWish

@MakoWish MakoWish commented Jul 17, 2023

Copy link
Copy Markdown
Contributor

Type of change

  • Enhancement

What does this PR do?

The Suricata integration currently supports removing host.* fields if "forwarded" is in tags, but it does not currently populate the observer.* fields. This PR adds that functionality.

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 incremented the version my package's manifest.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Author's Checklist

  • Modify default documents config to include "forwarded" tag
  • Verify expected results documents include new observer.* fields

Related issues

@MakoWish
MakoWish marked this pull request as ready for review July 17, 2023 19:19
@MakoWish
MakoWish requested a review from a team as a code owner July 17, 2023 19:19
@elasticmachine

elasticmachine commented Jul 17, 2023

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-10-03T00:49:57.963+0000

  • Duration: 14 min 28 sec

Test stats 🧪

Test Results
Failed 0
Passed 14
Skipped 0
Total 14

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

Comment thread packages/suricata/data_stream/eve/_dev/test/pipeline/test-common-config.yml Outdated
Comment thread packages/suricata/data_stream/eve/agent/stream/log.yml.hbs Outdated
Comment thread packages/suricata/data_stream/eve/elasticsearch/ingest_pipeline/default.yml Outdated
MakoWish and others added 4 commits July 17, 2023 16:52
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Comment thread packages/winlog/data_stream/winlog/elasticsearch/ingest_pipeline/default.yml Outdated
@elasticmachine

Copy link
Copy Markdown

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

@MakoWish MakoWish changed the title Suricata add observer metadata [Suricata] Add Observer Metadata Jul 20, 2023
@efd6

efd6 commented Jul 30, 2023

Copy link
Copy Markdown
Contributor

/test

@elasticmachine

elasticmachine commented Jul 30, 2023

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (5/5) 💚
Classes 100.0% (5/5) 💚
Methods 100.0% (44/44) 💚 8.333
Lines 96.204% (887/922) 👎 -0.44
Conditionals 100.0% (0/0) 💚

@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.

minor nit and then LGTM

MakoWish and others added 2 commits July 31, 2023 08:35
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
@MakoWish

Copy link
Copy Markdown
Contributor Author

@efd6 ,

Would you mind kicking off a /test?

@efd6

efd6 commented Aug 28, 2023

Copy link
Copy Markdown
Contributor

/test

Comment thread packages/suricata/manifest.yml Outdated
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
@botelastic

botelastic Bot commented Sep 28, 2023

Copy link
Copy Markdown

Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1. Thank you for your contribution!

@botelastic botelastic Bot added the Stalled label Sep 28, 2023
@botelastic botelastic Bot removed the Stalled label Sep 28, 2023
@efd6

efd6 commented Sep 28, 2023

Copy link
Copy Markdown
Contributor

/test

@efd6

efd6 commented Sep 28, 2023

Copy link
Copy Markdown
Contributor

You'll need to run elastic-package test pipeline -g.

@MakoWish

Copy link
Copy Markdown
Contributor Author

You'll need to run elastic-package test pipeline -g.

I usually do, but looks like I didn't on this one. Done.

@efd6

efd6 commented Oct 3, 2023

Copy link
Copy Markdown
Contributor

/test

@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 cfbe348 into elastic:main Oct 3, 2023
@elasticmachine

Copy link
Copy Markdown

Package suricata - 2.18.0 containing this change is available at https://epr.elastic.co/search?package=suricata

@MakoWish
MakoWish deleted the suricata_add_observer_metadata branch October 3, 2023 16:41
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Suricata] Enable observer.* Fields for Integration

4 participants