Skip to content

[Cloud Security] Injest now copies cluster_id -> orchestrator.cluster.id if null (due to pre 8.8.0 agents) - #7185

Merged
mitodrummer merged 2 commits into
mainfrom
cluster_id_deprecation
Jul 31, 2023
Merged

[Cloud Security] Injest now copies cluster_id -> orchestrator.cluster.id if null (due to pre 8.8.0 agents)#7185
mitodrummer merged 2 commits into
mainfrom
cluster_id_deprecation

Conversation

@mitodrummer

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds backwards compatibility for the cluster_id field for agents pre 8.8.0

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.

Related issues

@mitodrummer mitodrummer added deprecation Team:Cloud Security Cloud Security team [elastic/cloud-security-posture] Integration:cloud_security_posture Security Posture Management labels Jul 28, 2023
@mitodrummer
mitodrummer requested a review from a team as a code owner July 28, 2023 21:32
@elasticmachine

elasticmachine commented Jul 28, 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-07-31T17:21:51.850+0000

  • Duration: 13 min 25 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.

@elasticmachine

elasticmachine commented Jul 28, 2023

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) 💚
@mitodrummer
mitodrummer requested review from a team as code owners July 31, 2023 16:52
@mitodrummer
mitodrummer force-pushed the cluster_id_deprecation branch from 632770b to 981409a Compare July 31, 2023 16:56
@mitodrummer
mitodrummer requested a review from maxcold July 31, 2023 17:22
@mitodrummer
mitodrummer merged commit b0b5325 into main Jul 31, 2023
@elasticmachine

Copy link
Copy Markdown

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

@oren-zohar
oren-zohar deleted the cluster_id_deprecation branch August 2, 2023 08:21
mitodrummer added a commit that referenced this pull request Aug 10, 2023
…or.cluster.id if null (due to pre 8.8.0 agents) (#7185)
mitodrummer added a commit to mitodrummer/integrations that referenced this pull request Aug 10, 2023
mitodrummer added a commit to mitodrummer/integrations that referenced this pull request Aug 10, 2023
@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

qcorporation pushed a commit that referenced this pull request Feb 4, 2025
…or.cluster.id if null (due to pre 8.8.0 agents) (#7185)
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
….id if null (due to pre 8.8.0 agents) (elastic#7185)

* injest now copies cluster_id -> orchestrator.cluster.id if null

pr link updated

Merged with main

* using copy_from instead of value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecation Integration:cloud_security_posture Security Posture Management Team:Cloud Security Cloud Security team [elastic/cloud-security-posture]

3 participants