Skip to content
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

[Suricata] Fixing bugs with metadata fields #1287

Merged
merged 4 commits into from
Jul 9, 2021

Conversation

P1llus
Copy link
Member

@P1llus P1llus commented Jul 5, 2021

What does this PR do?

This makes it so that metadata fields are moved to flattened, metadata fields can be any custom fields produced by rules.
The known metadata fields that are defined by the suricata rule schema/best practice is moved outside of flattened, because they are used in visualizations and rules, so they need to be a specific type.

This resolves some reported issues not being able to access fields while also getting errors on the created_at and updated_at fields.

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.
  • If I'm introducing a new feature, I have modified the Kibana version constraint in my package's manifest.yml file to point to the latest Elastic stack release (e.g. ^7.13.0).

@elasticmachine
Copy link

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

@elasticmachine
Copy link

elasticmachine commented Jul 5, 2021

💚 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: 2021-07-06T22:28:29.602+0000

  • Duration: 12 min 1 sec

  • Commit: 1ffb971

Test stats 🧪

Test Results
Failed 0
Passed 28
Skipped 0
Total 28

Trends 🧪

Image of Build Times

Image of Tests

@P1llus P1llus merged commit 045271b into elastic:master Jul 9, 2021
eyalkraft pushed a commit to build-security/integrations that referenced this pull request Mar 30, 2022
* adding new pipeline entries for metadata and new field definitions

* adding changelog entry

* removing metadata field if its empty

* fixes date fields when they are arrays
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.

None yet

3 participants