Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .checkov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ skip-check:
# SPP use the same pattern so it's not a concern for us
- CKV_AWS_382

# These ignores are TEMPORARY. They will be resolved in the future.
- CKV_AWS_108
# Ignore adding code-signing to Lambda.
# It is not needed here since our Lambda functions use container
# images over uploading .zip files for layers.
- CKV_AWS_272
6 changes: 4 additions & 2 deletions terraform/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ data "aws_iam_policy_document" "lambda_logging" {
"logs:PutLogEvents",
]

resources = ["arn:aws:logs:*:*:*"] #trivy:ignore:AVD-AWS-0057
resources = [
"${aws_cloudwatch_log_group.loggroup.arn}:*"
]
}
}

Expand Down Expand Up @@ -70,7 +72,7 @@ data "aws_iam_policy_document" "lambda_secret_manager_policy" {
]

resources = [
"*"
"arn:aws:secretsmanager:*:*:secret:${var.aws_secret_name}*"
]
}
}
Expand Down