-
Notifications
You must be signed in to change notification settings - Fork 854
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #947 from GoogleCloudPlatform/jccb/fast-org-policy…
…-factory Use org policy factory for resman stage
- Loading branch information
Showing
8 changed files
with
148 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# skip boilerplate check | ||
# | ||
# sample subset of useful organization policies, edit to suit requirements | ||
|
||
compute.disableGuestAttributesAccess: | ||
enforce: true | ||
|
||
compute.requireOsLogin: | ||
enforce: true | ||
|
||
compute.restrictLoadBalancerCreationForTypes: | ||
allow: | ||
values: | ||
- in:INTERNAL | ||
|
||
compute.skipDefaultNetworkCreation: | ||
enforce: true | ||
|
||
compute.vmExternalIpAccess: | ||
deny: | ||
all: true | ||
|
||
|
||
# compute.disableInternetNetworkEndpointGroup: | ||
# enforce: true | ||
|
||
# compute.disableNestedVirtualization: | ||
# enforce: true | ||
|
||
# compute.disableSerialPortAccess: | ||
# enforce: true | ||
|
||
# compute.restrictCloudNATUsage: | ||
# deny: | ||
# all: true | ||
|
||
# compute.restrictDedicatedInterconnectUsage: | ||
# deny: | ||
# all: true | ||
|
||
# compute.restrictPartnerInterconnectUsage: | ||
# deny: | ||
# all: true | ||
|
||
# compute.restrictProtocolForwardingCreationForTypes: | ||
# deny: | ||
# all: true | ||
|
||
# compute.restrictSharedVpcHostProjects: | ||
# deny: | ||
# all: true | ||
|
||
# compute.restrictSharedVpcSubnetworks: | ||
# deny: | ||
# all: true | ||
|
||
# compute.restrictVpcPeering: | ||
# deny: | ||
# all: true | ||
|
||
# compute.restrictVpnPeerIPs: | ||
# deny: | ||
# all: true | ||
|
||
# compute.restrictXpnProjectLienRemoval: | ||
# enforce: true | ||
|
||
# compute.setNewProjectDefaultToZonalDNSOnly: | ||
# enforce: true | ||
|
||
# compute.vmCanIpForward: | ||
# deny: | ||
# all: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# skip boilerplate check | ||
# | ||
# sample subset of useful organization policies, edit to suit requirements | ||
|
||
iam.automaticIamGrantsForDefaultServiceAccounts: | ||
enforce: true | ||
|
||
iam.disableServiceAccountKeyCreation: | ||
enforce: true | ||
|
||
iam.disableServiceAccountKeyUpload: | ||
enforce: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# skip boilerplate check | ||
# | ||
# sample subset of useful organization policies, edit to suit requirements | ||
|
||
run.allowedIngress: | ||
allow: | ||
values: | ||
- is:internal | ||
|
||
# run.allowedVPCEgress: | ||
# allow: | ||
# values: | ||
# - is:private-ranges-only | ||
|
||
# cloudfunctions.allowedIngressSettings: | ||
# allow: | ||
# values: | ||
# - is:ALLOW_INTERNAL_ONLY | ||
|
||
# cloudfunctions.allowedVpcConnectorEgressSettings: | ||
# allow: | ||
# values: | ||
# - is:PRIVATE_RANGES_ONLY | ||
|
||
# cloudfunctions.requireVPCConnector: | ||
# enforce: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# skip boilerplate check | ||
# | ||
# sample subset of useful organization policies, edit to suit requirements | ||
|
||
sql.restrictAuthorizedNetworks: | ||
enforce: true | ||
|
||
sql.restrictPublicIp: | ||
enforce: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# skip boilerplate check | ||
# | ||
# sample subset of useful organization policies, edit to suit requirements | ||
|
||
storage.uniformBucketLevelAccess: | ||
enforce: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters