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

Rule ID mismatch for #ts:skip annotation #1097

Closed
R011y opened this issue Dec 10, 2021 · 0 comments
Closed

Rule ID mismatch for #ts:skip annotation #1097

R011y opened this issue Dec 10, 2021 · 0 comments

Comments

@R011y
Copy link

R011y commented Dec 10, 2021

  • terrascan version: v1.12.0
  • Operating System: Ubuntu

Description

I ran terrascan against my repo so I could add an annotation to skip the check on iam password policy, however the Rule ID returned by the tool does not align with the Rule ID present in the docs.
Output from terrascan:
Image 1:
image
Actual Rule ID in documentation:
Image 2:
image

What I Did

From terminal, I ran:
terrascan scan -v
It returned the output in Image 1 above.
Once I added the following annotation to the main.tf file:
#ts:skip=AWS.Iam.IAM.Low.0539
It successfully skipped the check:
image

Therefore, the Rule ID provided from terrascan scan -v is not the correct ID when compared to the documentation.

@R011y R011y closed this as completed Dec 10, 2021
@R011y R011y reopened this Dec 10, 2021
@R011y R011y closed this as completed Dec 10, 2021
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

No branches or pull requests

1 participant