Ensure that the Binary Authorization feature is enabled for your Google Cloud Run services. Enabling Binary Authorization for Cloud Run services enhances security by ensuring only trusted container images can be deployed, reducing the risk of deploying vulnerable or unauthorized software.
optimisation
excellence
Binary Authorization aims to mitigate the potential hazards associated with deploying faulty, insecure, or unauthorized software within such environments. With Binary Authorization, you have the capability to block the deployment of images unless they adhere to a policy you establish. While Binary Authorization does not dictate specific internal procedures or endorse any particular best practices, it empowers you to uphold your own established protocols by prohibiting the deployment of images that do not meet your mandatory criteria.
Audit
To ensure that Binary Authorization is enabled for Google Cloud Run services, perform the following actions:
Remediation / Resolution
To enable and configure Binary Authorization for your Google Cloud Run services, perform the following actions:
References
- Google Cloud Platform (GCP) Documentation
- Use Binary Authorization
- Enable Binary Authorization for Cloud Run
- Configure a policy using the Google Cloud console
- Configure a policy using the gcloud CLI
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud services list
- gcloud beta run services describe
- gcloud container binauthz policy export
- gcloud container binauthz policy import
- gcloud beta run services update