We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204224e commit 2ead9d5Copy full SHA for 2ead9d5
infra/gcp/terraform/modules/oci-proxy/cloud-armor.tf
@@ -76,7 +76,7 @@ resource "google_compute_security_policy" "cloud-armor" {
76
# OCI pull / list calls: /v2/<name>/(blobs|manifests|tags)/<reference>
77
# https://github.com/opencontainers/distribution-spec/blob/main/spec.md#endpoints
78
# NOTE: AR doesn't support referrers API
79
- expression = "!request.path.matches('(?:^/?$)|(?:^/privacy$)|(?:^/v2/?$)|(?:^/v2/.+/(:?blobs|manifests|tags)/.+$)')"
+ expression = "!request.path.matches('^/$|^/privacy$|^/v2/?$|^/v2/.+/blobs/.+$|^/v2/.+/manifests/.+$|^/v2/.+/tags/.+$')"
80
}
81
82
0 commit comments