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

✨ Add GCP compute network mode property #742

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Conversation

imilchev
Copy link
Member

@imilchev imilchev commented Jan 9, 2023

The gcloud CLI returns network mode which can be auto, legacy or custom. This is a computed field according to the gcloud CLI source. I copied the logic behind that field from the CLI implementation (see here).

I guess it's useful to have that embedded in the MQL resource since it is part of the CIS policy for GCP and would make the queries simpler

@imilchev imilchev requested a review from a team as a code owner January 9, 2023 08:54
Copy link
Contributor

@czunker czunker left a comment

Choose a reason for hiding this comment

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

LGTM

@imilchev imilchev merged commit 55d7080 into main Jan 9, 2023
@imilchev imilchev deleted the ivan/gcp-network-mode branch January 9, 2023 13:31
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants