Skip to content
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

Expose gcp.resourceLabels field in the gcp plugin #545

Merged
merged 3 commits into from
Nov 20, 2024

Conversation

pirrofra
Copy link
Contributor

@pirrofra pirrofra commented Nov 20, 2024

What type of PR is this?
/kind feature

Any specific area of the project related to this PR?
/area plugins

What this PR does / why we need it:
On the GCP Plugin we already expose the resource type via the gcp.resourceType field. Given that the log-entry also supports a labels field which can contains useful information for correctly identifying a resource on GCP, we want to expose that using a new gcp.resourceLabels field.
This field will contain the JSON representation of the labels attached on the cloud log entry.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Copy link
Contributor

@LucaGuerra LucaGuerra left a comment

Choose a reason for hiding this comment

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

Thank you! LGTM

@poiana
Copy link
Contributor

poiana commented Nov 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LucaGuerra, pirrofra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana
Copy link
Contributor

poiana commented Nov 20, 2024

LGTM label has been added.

Git tree hash: 4f76052fce46fa04a59550cef8f0db6e5733921c

@poiana poiana merged commit 8f06b50 into falcosecurity:main Nov 20, 2024
1 of 2 checks passed
Copy link

Rules files suggestions

rules

Comparing 7b0fdac41655ae89cbfb8f5e18e76f852d8ced5d with latest tag plugins/gcpaudit/v0.4.0

No changes detected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants