Skip to content

[azure_frontdoor] Fix Azure frontdoor preserve original event #7464

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

Merged
merged 7 commits into from
Oct 2, 2023
Merged

[azure_frontdoor] Fix Azure frontdoor preserve original event #7464

merged 7 commits into from
Oct 2, 2023

Conversation

nicpenning
Copy link
Contributor

  • Bug

What does this PR do?

Fixes the "Preserve Original Event" feature for both Frontdoor Access and WAF data streams which has been stated here:
#6847
#6848

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.

@nicpenning nicpenning requested a review from a team as a code owner August 21, 2023 01:47
@elasticmachine
Copy link

elasticmachine commented Aug 21, 2023

💚 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-02T22:19:16.494+0000

  • Duration: 14 min 48 sec

Test stats 🧪

Test Results
Failed 0
Passed 9
Skipped 0
Total 9

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

@nicpenning nicpenning changed the title Set tag to fix preserve original event + remove event.original from r… [azure_frontdoor] Fix Azure frontdoor preserve original event Aug 21, 2023
@efd6
Copy link
Contributor

efd6 commented Aug 21, 2023

/test

@elasticmachine
Copy link

elasticmachine commented Aug 21, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (2/2) 💚
Files 100.0% (2/2) 💚
Classes 100.0% (2/2) 💚
Methods 91.667% (22/24) 👍 60.897
Lines 96.644% (288/298) 👎 -3.356
Conditionals 100.0% (0/0) 💚


on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
value: '{{{ _ingest.on_failure_message }}}'
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
value: '{{{ _ingest.on_failure_message }}}'
value: '{{{ _ingest.on_failure_message }}}'

(this fixes the missing trailing new line in the file)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doesn't look like a change is able to be applied above.

@nicpenning
Copy link
Contributor Author

@efd6 👋

@efd6
Copy link
Contributor

efd6 commented Aug 31, 2023

/test

…pipeline/default.yml

Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
@nicpenning
Copy link
Contributor Author

Checking in here. Anything needed here to review?

@nicpenning
Copy link
Contributor Author

Updated, as this got stale. Can someone please review?

nicpenning and others added 2 commits October 2, 2023 16:33
@nicpenning
Copy link
Contributor Author

I think I resolved the issues you addressed.

@efd6
Copy link
Contributor

efd6 commented Oct 2, 2023

/test

Copy link
Contributor

@efd6 efd6 left a comment

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 67dd2e2 into elastic:main Oct 2, 2023
@elasticmachine
Copy link

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

@nicpenning nicpenning deleted the azure-frontdoor-preserve-original-event-redo branch October 3, 2023 00:42
@andrewkroh andrewkroh added the Integration:azure_frontdoor Azure Frontdoor (Community supported) label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration:azure_frontdoor Azure Frontdoor (Community supported)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants