results:
    violations:
        - rule_name: amiNotEncrypted
          description: Enable AWS AMI Encryption
          rule_id: AC_AWS_0001
          severity: MEDIUM
          category: Encryption & KeyManagement
          resource_name: awsAmiEncrypted
          resource_type: aws_ami
          module_name: root
          file: main.tf
          plan_root: ./
          line: 5
    skipped_violations: []
    scan_summary:
        file/folder: /Users/apple/go/src/github.com/patilpankaj212/terrascan/test/e2e/test_data/iac/aws/aws_ami_violation
        iac_type: terraform
        scanned_at: 2021-03-02 15:46:38.259501 +0000 UTC
        policies_validated: 8
        violated_policies: 1
        low: 0
        medium: 1
        high: 0