Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Trivy Findings AVD-AWS-0136 #452

Closed
wants to merge 4 commits into from
Closed
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
1 change: 1 addition & 0 deletions .trivyignore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ misconfigurations:
- id: AVD-AWS-0031
- id: AVD-AWS-0039
- id: AVD-AWS-0057
- id: AVD-AWS-0136

secrets:

Expand Down
2 changes: 1 addition & 1 deletion modules/backup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ resource "aws_backup_selection" "non_production" {
}

# SNS topic
#trivy:ignore:avd-aws-0136
#trivy:ignore:AVD-AWS-0136
resource "aws_sns_topic" "backup_failure_topic" {
kms_master_key_id = var.sns_backup_topic_key
name = "backup_failure_topic"
Expand Down
1 change: 1 addition & 0 deletions modules/config/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ resource "aws_config_configuration_recorder_status" "default" {
# Create an SNS topic
# AWS-managed account key appropriate for default topic
# tfsec:ignore:aws-sns-topic-encryption-use-cmk
#trivy:ignore:AVD-AWS-0136
resource "aws_sns_topic" "default" {
name = "config"
kms_master_key_id = "alias/aws/sns"
Expand Down