CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsEnforcing the use of customer-managed encryption keys (CMEK) for Cloud Functions ensures that data is encrypted according to the organization's specific security and compliance requirements. Without CMEK, the default Google-managed keys are used, which may not comply with certain regulatory frameworks or internal policies. CMEKs provides greater control over the encryption keys, including the ability to manage key rotation and disable keys, reducing the risk of unauthorized data access.
Set the kms_key_name
attribute in google_cloudfunctions_function
resource to a valid customer-managed encryption key.
resource "google_cloudfunctions_function" "allow" {
name = "function-snyk807"
description = "My function snyk807"
runtime = "nodejs20"
available_memory_mb = 128
source_archive_bucket = google_storage_bucket.bucket.name
source_archive_object = google_storage_bucket_object.object.name
trigger_http = true
entry_point = "helloWorld"
docker_registry = "ARTIFACT_REGISTRY"
docker_repository = google_artifact_registry_repository.allowed-snyk-807.id
kms_key_name = google_kms_crypto_key.snyk_807_key.id
}