Skip to content

question: Is there a Rule ID fo aws-iam-set-max-password-age #1483

Discussion options

You must be logged in to vote

Hey @peraltadavidtrvlx - tfsec can only work with the information it has. If it doesn't have a default or the tfvars file with the used values it can only deduce there is no value.

You have a number of tfsec based options

  1. Add an ignore on the line, so
resource "aws_iam_account_password_policy" "name_here" {
...
max_password_age  = var.max_password_age #tfsec:ignore:aws-iam-set-max-password-age
...
}
  1. Add the exclusion to the config file
    https://aquasecurity.github.io/tfsec/v1.0.8/getting-started/configuration/config/

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@peraltadavidtrvlx
Comment options

@owenrumney
Comment options

@peraltadavidtrvlx
Comment options

@liamg
Comment options

@peraltadavidtrvlx
Comment options

Answer selected by peraltadavidtrvlx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested aws A check for AWS issues
3 participants
Converted from issue

This discussion was converted from issue #1482 on February 02, 2022 12:57.