Skip to content

Conversation

@Misofser
Copy link

@Misofser Misofser commented Sep 1, 2025

PR adds integrating trivy and relates to this issue

Trivy is used, because of now tfsec is part of the trivy

@Misofser Misofser self-assigned this Sep 1, 2025
name = var.project
region = var.region
auto_upgrade = true
surge_upgrade = true
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This value for surge_upgrade is set by default, But trivy shows warning if it is not defined explicitly.

Comment on lines +33 to +39
resource "aws_s3_bucket_public_access_block" "state" {
bucket = aws_s3_bucket.state.id

block_public_acls = true
block_public_policy = true
ignore_public_acls = true
restrict_public_buckets = true
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Received set of warnings regarding public access block. I think the enabling it here will be useful. Please, let me know if we don't need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants