Skip to content

cloud_security_posture: Add gcp_credentials_cloud_connector_id to GCP stream and mark as secret - #17378

Merged
Omolola-Akinleye merged 2 commits into
mainfrom
csp-gcp-connector-secret
Feb 11, 2026
Merged

cloud_security_posture: Add gcp_credentials_cloud_connector_id to GCP stream and mark as secret#17378
Omolola-Akinleye merged 2 commits into
mainfrom
csp-gcp-connector-secret

Conversation

@amirbenun

Copy link
Copy Markdown
Contributor

Summary

  • Add gcp_credentials_cloud_connector_id to data_stream/findings/agent/stream/gcp.yml.hbs (cloud_connector_id in credentials).
  • Mark gcp_credentials_cloud_connector_id as secret in findings manifest.
  • Bump version to 3.3.0-preview05.
Copilot AI review requested due to automatic review settings February 11, 2026 16:51
@amirbenun
amirbenun requested a review from a team as a code owner February 11, 2026 16:51

Copilot AI 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.

Pull request overview

This PR updates the cloud_security_posture integration to support passing a GCP Cloud Connector ID through the findings GCP stream configuration, ensures the value is treated as a secret in the findings data stream manifest, and bumps the package version accordingly.

Changes:

  • Bump cloud_security_posture package version to 3.3.0-preview05.
  • Mark gcp_credentials_cloud_connector_id as secret: true in the findings data stream manifest.
  • Render cloud_connector_id in the GCP findings stream template when gcp_credentials_cloud_connector_id is provided, and add a corresponding changelog entry.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
packages/cloud_security_posture/manifest.yml Bumps the integration version to 3.3.0-preview05.
packages/cloud_security_posture/data_stream/findings/manifest.yml Marks gcp_credentials_cloud_connector_id as a secret var.
packages/cloud_security_posture/data_stream/findings/agent/stream/gcp.yml.hbs Adds cloud_connector_id rendering into the GCP credentials block.
packages/cloud_security_posture/changelog.yml Adds a new entry for 3.3.0-preview05.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

audience: {{gcp.credentials.audience}}
{{/if}}
{{#if gcp_credentials_cloud_connector_id}}
cloud_connector_id: {{gcp_credentials_cloud_connector_id}}

Copilot AI Feb 11, 2026

Copy link

Choose a reason for hiding this comment

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

cloud_connector_id is rendered without quoting or an explicit string tag. For consistency with project_id/organization_id in this same template (which use !!str) and to avoid YAML type coercion (e.g., numeric-looking IDs), render gcp_credentials_cloud_connector_id as a string (quote it or use !!str).

Suggested change
cloud_connector_id: {{gcp_credentials_cloud_connector_id}}
cloud_connector_id: !!str {{gcp_credentials_cloud_connector_id}}
Copilot uses AI. Check for mistakes.
Comment on lines +21 to +24
- version: "3.3.0-preview05"
changes:
- description: Add gcp_credentials_cloud_connector_id to GCP stream template and mark as secret
type: enhancement

Copilot AI Feb 11, 2026

Copy link

Choose a reason for hiding this comment

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

Changelog entries in this file consistently include a link: to the originating PR (e.g., the immediately following entry for 3.3.0-preview04 includes link: at lines 25-29). This new 3.3.0-preview05 entry is missing it; please add the PR link to keep changelog format consistent and maintain traceability.

Copilot uses AI. Check for mistakes.
@andrewkroh andrewkroh added the Integration:cloud_security_posture Security Posture Management label Feb 11, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

@Omolola-Akinleye
Omolola-Akinleye merged commit cc2018b into main Feb 11, 2026
10 checks passed
@Omolola-Akinleye
Omolola-Akinleye deleted the csp-gcp-connector-secret branch February 11, 2026 17:27
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package cloud_security_posture - 3.3.0-preview05 containing this change is available at https://epr.elastic.co/package/cloud_security_posture/3.3.0-preview05/

jakubgalecki0 pushed a commit to jakubgalecki0/integrations that referenced this pull request Feb 19, 2026
… stream and mark as secret (elastic#17378)

* Add gcp_credentials_cloud_connector_id to GCP stream and mark as secret (3.3.0-preview05)

* Add PR link to changelog
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package cloud_security_posture - 3.3.0-preview06 containing this change is available at https://epr.elastic.co/package/cloud_security_posture/3.3.0-preview06/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package cloud_security_posture - 3.3.0 containing this change is available at https://epr.elastic.co/package/cloud_security_posture/3.3.0/

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

5 participants