Skip to content

[cloud_security_posture] Ensure event.kind is correctly set for pipeline errors - #7048

Merged
oren-zohar merged 8 commits into
elastic:mainfrom
MakoWish:6582-cloud_security_posture
Aug 11, 2023
Merged

[cloud_security_posture] Ensure event.kind is correctly set for pipeline errors#7048
oren-zohar merged 8 commits into
elastic:mainfrom
MakoWish:6582-cloud_security_posture

Conversation

@MakoWish

@MakoWish MakoWish commented Jul 20, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

Modify cloud_security_posture integration to correctly set event.kind for pipeline errors and ensure error.message is an array.

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

@MakoWish
MakoWish requested a review from a team as a code owner July 20, 2023 16:06
@elasticmachine

elasticmachine commented Jul 20, 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-08-10T22:28:49.277+0000

  • Duration: 15 min 24 sec

Test stats 🧪

Test Results
Failed 0
Passed 4
Skipped 0
Total 4

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

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

Thank you 🙏

Comment thread packages/cloud_security_posture/manifest.yml Outdated
Comment thread packages/cloud_security_posture/changelog.yml Outdated
MakoWish and others added 2 commits July 24, 2023 09:44
Co-authored-by: Oren Zohar <85433724+oren-zohar@users.noreply.github.com>
Co-authored-by: Oren Zohar <85433724+oren-zohar@users.noreply.github.com>
@MakoWish

Copy link
Copy Markdown
Contributor Author

@oren-zohar, can you /test again? I don't have permissions to.

@oren-zohar

Copy link
Copy Markdown
Contributor

/test

@elasticmachine

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (0/0) 💚
Files 100.0% (0/0) 💚
Classes 100.0% (0/0) 💚
Methods 25.0% (2/8)
Lines 100.0% (0/0) 💚
Conditionals 100.0% (0/0) 💚
@oren-zohar
oren-zohar merged commit 99b4861 into elastic:main Aug 11, 2023
@elasticmachine

Copy link
Copy Markdown

Package cloud_security_posture - 1.5.0-preview31 containing this change is available at https://epr.elastic.co/search?package=cloud_security_posture

@elasticmachine

Copy link
Copy Markdown

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

@andrewkroh andrewkroh added the Integration:cloud_security_posture Security Posture Management label Jul 22, 2024
@MakoWish
MakoWish deleted the 6582-cloud_security_posture branch February 4, 2025 21:00
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
…ine errors (elastic#7048)

* [cloud_security_posture] Ensure event.kind is correctly set for pipeline errors

* Commit suggestion from code review

Co-authored-by: Oren Zohar <85433724+oren-zohar@users.noreply.github.com>

* Commit suggestion from code review

Co-authored-by: Oren Zohar <85433724+oren-zohar@users.noreply.github.com>

---------

Co-authored-by: Oren Zohar <85433724+oren-zohar@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration:cloud_security_posture Security Posture Management

4 participants