github.com/ishita82/trivy-gitaction@v0.0.0-20240206054925-e937cc05f8e3/integration/testdata/dockerfile-custom-policies.json.golden (about)

     1  {
     2    "SchemaVersion": 2,
     3    "CreatedAt": "2021-08-25T12:20:30.000000005Z",
     4    "ArtifactName": "testdata/fixtures/repo/custom-policy",
     5    "ArtifactType": "repository",
     6    "Metadata": {
     7      "ImageConfig": {
     8        "architecture": "",
     9        "created": "0001-01-01T00:00:00Z",
    10        "os": "",
    11        "rootfs": {
    12          "type": "",
    13          "diff_ids": null
    14        },
    15        "config": {}
    16      }
    17    },
    18    "Results": [
    19      {
    20        "Target": "Dockerfile",
    21        "Class": "config",
    22        "Type": "dockerfile",
    23        "MisconfSummary": {
    24          "Successes": 26,
    25          "Failures": 2,
    26          "Exceptions": 0
    27        },
    28        "Misconfigurations": [
    29          {
    30            "Type": "Dockerfile Security Check",
    31            "ID": "N/A",
    32            "Title": "N/A",
    33            "Description": "Rego module: data.user.bar",
    34            "Message": "something bad: bar",
    35            "Namespace": "user.bar",
    36            "Query": "data.user.bar.deny",
    37            "Severity": "UNKNOWN",
    38            "Status": "FAIL",
    39            "Layer": {},
    40            "CauseMetadata": {
    41              "Provider": "Generic",
    42              "Service": "general",
    43              "Code": {
    44                "Lines": null
    45              }
    46            }
    47          },
    48          {
    49            "Type": "Dockerfile Security Check",
    50            "ID": "N/A",
    51            "Title": "N/A",
    52            "Description": "Rego module: data.user.foo",
    53            "Message": "something bad: foo",
    54            "Namespace": "user.foo",
    55            "Query": "data.user.foo.deny",
    56            "Severity": "UNKNOWN",
    57            "Status": "FAIL",
    58            "Layer": {},
    59            "CauseMetadata": {
    60              "Provider": "Generic",
    61              "Service": "general",
    62              "Code": {
    63                "Lines": null
    64              }
    65            }
    66          }
    67        ]
    68      }
    69    ]
    70  }