Add requireInvokerIam constraint to the polices to prevent public exposure of Cloud Run services

This commit is contained in:
Wiktor Niesiobędzki
2025-03-31 18:19:12 +00:00
committed by Wiktor Niesiobędzki
parent 925788b54a
commit bea36cb047
5 changed files with 27 additions and 5 deletions

View File

@@ -24,6 +24,10 @@ run.allowedIngress:
values:
- is:internal-and-cloud-load-balancing
run.managed.requireInvokerIam:
rules:
- enforce: true
# run.allowedVPCEgress:
# rules:
# - allow:

View File

@@ -24,6 +24,10 @@ run.allowedIngress:
values:
- is:internal-and-cloud-load-balancing
run.managed.requireInvokerIam:
rules:
- enforce: true
# run.allowedVPCEgress:
# rules:
# - allow: