Skip to content

Adding security_posture_config (block) #1743

@richiefrich

Description

@richiefrich

TL;DR

The security_posture_config block supports: mode - (Optional) Sets the mode of the Kubernetes security posture API's off-cluster features. Available options include DISABLED and BASIC. vulnerability_mode - (Optional) Sets the mode of the Kubernetes security posture API's workload vulnerability scanning. Available options include VULNERABILITY_DISABLED and VULNERABILITY_BASIC. 

Terraform Resources

https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster

Detailed design

I see you added the protect_config, but there is another one. It is The security_posture_config block. https://cloud.google.com/kubernetes-engine/docs/concepts/about-security-posture-dashboard https://cloud.google.com/kubernetes-engine/docs/concepts/about-configuration-scanning The security_posture_config block supports: mode - (Optional) Sets the mode of the Kubernetes security posture API's off-cluster features. Available options include DISABLED and BASIC. vulnerability_mode - (Optional) Sets the mode of the Kubernetes security posture API's workload vulnerability scanning. Available options include VULNERABILITY_DISABLED and VULNERABILITY_BASIC.
 ### Additional information _No response_ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions