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

Inconsistent notation for severity in output (sometimes uppercase, sometimes not) #955

Closed
stefangreim opened this issue Aug 4, 2021 · 0 comments · Fixed by #1516
Closed
Labels
policy Issue concerning policy maintainers.

Comments

@stefangreim
Copy link

  • terrascan version: v1.8.1
  • Operating System: ubuntu:latest (21.10) docker

Description

I store the output of a Terrascan scan in a file in order to perform further analyses. I noticed that the severity is available in different notations. I actually thought that this is always uppercase, but this is not the case. Is it possible to specify a consistent notation here?

What I Did

stefan@mine:~$ terrascan scan 
   ...
      {
        "rule_name": "lambdaNotInVpc",
        "description": "Lambda function doesn't not include a VPC configuration.",
        "rule_id": "AC_AWS_0486",
        "severity": "Low",
        "category": "Infrastructure Security",
        "resource_name": "aws_webhook_notification",
        "resource_type": "aws_lambda_function",
        "module_name": "root",
        "file": "lambda_aws_webhook_notification.tf",
        "plan_root": "./",
        "line": 64
      },
      {
        "rule_name": "lambdaXRayTracingDisabled",
        "description": "Lambda tracing is not enabled.",
        "rule_id": "AC_AWS_0485",
        "severity": "LOW",
        "category": "Logging and Monitoring",
        "resource_name": "aws_webhook_notification",
        "resource_type": "aws_lambda_function",
        "module_name": "root",
        "file": "lambda_aws_webhook_notification.tf",
        "plan_root": "./",
        "line": 64
      }
   ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
policy Issue concerning policy maintainers.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants