Skip to content

zeek: ensure fields are not HTML escaped, and fix event.type value for sip - #7640

Merged
efd6 merged 1 commit into
elastic:mainfrom
efd6:7627-zeek
Sep 4, 2023
Merged

zeek: ensure fields are not HTML escaped, and fix event.type value for sip#7640
efd6 merged 1 commit into
elastic:mainfrom
efd6:7627-zeek

Conversation

@efd6

@efd6 efd6 commented Sep 3, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

Only use triple stache template snippets to ensure that text is not multiply escaped. Also remove all redundant null-safe operators on ctx.

Assigning "error" to event.type is removed in the sip data stream as this is not a valid value for event.category: network.

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.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@efd6 efd6 added bug Something isn't working, use only for issues Team:Security-External Integrations Integration:zeek Zeek labels Sep 3, 2023
@efd6 efd6 self-assigned this Sep 3, 2023
…r sip

Only use triple stache template snippets to ensure that text is not multiply
escaped. Also remove all redundant null-safe operators on ctx.

Assigning "error" to event.type is removed in the sip data stream as this is not
a valid value for event.category: network.
@elasticmachine

elasticmachine commented Sep 3, 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-09-03T23:04:32.289+0000

  • Duration: 59 min 59 sec

Test stats 🧪

Test Results
Failed 0
Passed 254
Skipped 0
Total 254

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

@elasticmachine

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (43/43) 💚
Files 96.341% (79/82) 👎 -0.3
Classes 96.341% (79/82) 👎 -0.3
Methods 92.021% (692/752) 👎 -0.282
Lines 92.055% (8632/9377) 👍 3.784
Conditionals 100.0% (0/0) 💚
@efd6
efd6 marked this pull request as ready for review September 4, 2023 00:31
@efd6
efd6 requested a review from a team as a code owner September 4, 2023 00:31
@elasticmachine

Copy link
Copy Markdown

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

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

LGTM 👍🏼

@efd6
efd6 merged commit e0bd17f into elastic:main Sep 4, 2023
@elasticmachine

Copy link
Copy Markdown

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

1 similar comment
@elasticmachine

Copy link
Copy Markdown

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

@efd6
efd6 deleted the 7627-zeek branch February 5, 2025 22:08
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
…r sip (elastic#7640)

Only use triple stache template snippets to ensure that text is not multiply
escaped. Also remove all redundant null-safe operators on ctx.

Assigning "error" to event.type is removed in the sip data stream as this is not
a valid value for event.category: network.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working, use only for issues Integration:zeek Zeek

3 participants