Skip to content

Commit

Permalink
add tag to CodeBuild rule, update rule ids
Browse files Browse the repository at this point in the history
  • Loading branch information
lhitchon committed Oct 9, 2018
1 parent b208522 commit 705816a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cli/assets/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -603,13 +603,15 @@ rules:
tags:
- cloudtrail

- id: CODEBUILD_PROJECT
message: CodeBuild Project checks
- id: CODEBUILD_PROJECT_ENCRYPTION
message: CodeBuild Project artifacts should be encrypted
resource: aws_codebuild_project
severity: FAILURE
assertions:
- key: encryption_key
op: present
tags:
- codebuild

- id: CODEPIPELINE
message: CodePipeline checks
Expand Down Expand Up @@ -699,8 +701,8 @@ rules:
- key: kms_key_id
op: present

- id: S3_BUCKET_OBJECT
message: S3 Bucket Object checks
- id: S3_BUCKET_OBJECT_ENCRYPTION
message: S3 Bucket Object should be encrypted
resource: aws_s3_bucket_object
severity: FAILURE
assertions:
Expand Down

0 comments on commit 705816a

Please sign in to comment.