Skip to content

Commit

Permalink
supress checkov scans
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Oct 16, 2023
1 parent a44a2bf commit b65d521
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elasticache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@ resource "aws_kms_key" "encrytion_rest" {
enable_key_rotation = true
description = "Key to encrypt cache at rest"
deletion_window_in_days = 7
#checkov:skip=CKV2_AWS_64: Not including a KMS Key policy
}

Check warning

Code scanning / checkov

Ensure KMS key Policy is defined Warning

Ensure KMS key Policy is defined
resource "aws_kms_key" "encrytion_secret" {
enable_key_rotation = true
description = "Key to encrypt secret"
deletion_window_in_days = 7
#checkov:skip=CKV2_AWS_64: Not including a KMS Key policy
}

Check warning

Code scanning / checkov

Ensure KMS key Policy is defined Warning

Ensure KMS key Policy is defined
resource "aws_secretsmanager_secret" "elasticache_auth" {
name = "elasticache_auth"
recovery_window_in_days = 0
kms_key_id = aws_kms_key.encrytion_secret.id
#checkov:skip=CKV2_AWS_57: Disabled Secrets Manager secrets automatic rotation
}

Check warning

Code scanning / checkov

Ensure Secrets Manager secrets should have automatic rotation enabled Warning

Ensure Secrets Manager secrets should have automatic rotation enabled
resource "aws_secretsmanager_secret_version" "auth" {
secret_id = aws_secretsmanager_secret.elasticache_auth.id
Expand Down

0 comments on commit b65d521

Please sign in to comment.