{
  "results": {
    "scan_errors": [
      {
        "iac_type": "kustomize",
        "directory": "/Users/pankajpatil/go/src/github.com/patilpankaj212/terrascan/test/e2e/test_data/iac/aws/aws_ami_violation",
        "errMsg": "kustomization.y(a)ml file not found in the directory /Users/pankajpatil/go/src/github.com/patilpankaj212/terrascan/test/e2e/test_data/iac/aws/aws_ami_violation"
      },
      {
        "iac_type": "helm",
        "directory": "/Users/pankajpatil/go/src/github.com/patilpankaj212/terrascan/test/e2e/test_data/iac/aws/aws_ami_violation",
        "errMsg": "no helm charts found in directory /Users/pankajpatil/go/src/github.com/patilpankaj212/terrascan/test/e2e/test_data/iac/aws/aws_ami_violation"
      }
    ],
    "violations": [
      {
        "rule_name": "amiNotEncrypted",
        "description": "Enable AWS AMI Encryption",
        "rule_id": "AWS.EC2.Encryption\u0026KeyManagement.Medium.0688",
        "severity": "MEDIUM",
        "category": "Encryption \u0026 KeyManagement",
        "resource_name": "awsAmiEncrypted",
        "resource_type": "aws_ami",
        "module_name": "root",
        "file": "main.tf",
        "plan_root": "./",
        "line": 5
      }
    ],
    "skipped_violations": null,
    "scan_summary": {
      "file/folder": "/Users/apple/go/src/github.com/patilpankaj212/terrascan/test/e2e/test_data/iac/aws/aws_ami_violation",
      "iac_type": "all",
      "scanned_at": "2021-03-02 15:45:55.603722 +0000 UTC",
      "policies_validated": 8,
      "violated_policies": 1,
      "low": 0,
      "medium": 1,
      "high": 0
    }
  }
}