Skip to content

Commit

Permalink
Put blacklist_public_users in cft scorecard bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante committed Aug 26, 2019
1 parent 0cb6218 commit 7c67093
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions samples/storage_blacklist_public.yaml
@@ -1,9 +1,24 @@
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apiVersion: constraints.gatekeeper.sh/v1alpha1
kind: GCPStorageBucketWorldReadableConstraintV1
metadata:
name: blacklist_public_users
annotations:
description: Prevent public users from having access to resources via IAM
bundles.validator.forsetisecurity.org/scorecard-v1: security
spec:
severity: high
match:
Expand Down

0 comments on commit 7c67093

Please sign in to comment.