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 TFSec Recommendations #56

Merged
merged 8 commits into from
Oct 17, 2023
Merged

Conversation

ranikamadurawe
Copy link
Contributor

@ranikamadurawe ranikamadurawe commented Oct 12, 2023

VimukthiPerera
VimukthiPerera previously approved these changes Oct 12, 2023
@@ -14,6 +14,8 @@ resource "aws_iam_user" "ecr_access_user" {
tags = var.tags
}

# Ignoring as this IAM User is an Admin user used for accessing any ECR repository
Copy link

Choose a reason for hiding this comment

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

In this comment, can you also add what AVD-AWS-0057 is about and the reason for ignoring this is not clear.

Copy link

Choose a reason for hiding this comment

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

Better to add the documentation link for this violation if there is anything as such.

Copy link

@DilanUA DilanUA Oct 16, 2023

Choose a reason for hiding this comment

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

Shall we some specific format for this like the one below? it's easy to review then
# Ignore AVD-AWS-0057 (https://avd.aquasec.com/misconfig/aws/iam/avd-aws-0057):
# Reason: Ignoring as this IAM User is an Admin user used for accessing any ECR repository
# trivy:ignore:AVD-AWS-0057

@ranikamadurawe ranikamadurawe merged commit 26da398 into wso2:main Oct 17, 2023
3 checks passed
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.

3 participants