Skip to content

Commit

Permalink
refactor: missing SSL setting leaked in the bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
watany-dev committed May 11, 2022
1 parent 45ab9d0 commit 2f17ab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions usecases/base-standalone/lib/blea-config-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class BLEAConfigStack extends cdk.Stack {
versioned: true,
removalPolicy: cdk.RemovalPolicy.RETAIN,
encryption: s3.BucketEncryption.S3_MANAGED,
enforceSSL: true,
});

// Attaches the AWSConfigBucketPermissionsCheck policy statement.
Expand Down
1 change: 1 addition & 0 deletions usecases/guest-webapp-sample/lib/blea-vpc-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class BLEAVpcStack extends cdk.Stack {
encryption: s3.BucketEncryption.KMS,
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,
removalPolicy: cdk.RemovalPolicy.RETAIN,
enforceSSL: true,
});

myVpc.addFlowLog('FlowLogs', {
Expand Down

0 comments on commit 2f17ab0

Please sign in to comment.