Files
trivy/integration/testdata/cargo.lock.json.golden

148 lines
3.5 KiB
Plaintext

{
"SchemaVersion": 2,
"ReportID": "017b7d41-e09f-7000-80ea-000000000001",
"CreatedAt": "2021-08-25T12:20:30.000000005Z",
"ArtifactName": "testdata/fixtures/repo/cargo",
"ArtifactType": "repository",
"Results": [
{
"Target": "Cargo.lock",
"Class": "lang-pkgs",
"Type": "cargo",
"Packages": [
{
"ID": "app@0.1.0",
"Name": "app",
"Identifier": {
"PURL": "pkg:cargo/app@0.1.0",
"UID": "a4ce1e2c46af5d56"
},
"Version": "0.1.0",
"Relationship": "root",
"DependsOn": [
"memchr@1.0.2",
"regex@1.7.3"
],
"Locations": [
{
"StartLine": 14,
"EndLine": 21
}
]
},
{
"ID": "memchr@1.0.2",
"Name": "memchr",
"Identifier": {
"PURL": "pkg:cargo/memchr@1.0.2",
"UID": "427a73f0e28dc7df"
},
"Version": "1.0.2",
"Relationship": "direct",
"DependsOn": [
"libc@0.2.171"
],
"Locations": [
{
"StartLine": 29,
"EndLine": 36
}
]
},
{
"ID": "regex@1.7.3",
"Name": "regex",
"Identifier": {
"PURL": "pkg:cargo/regex@1.7.3",
"UID": "4633c68363763fad"
},
"Version": "1.7.3",
"Relationship": "direct",
"DependsOn": [
"aho-corasick@0.7.20",
"memchr@2.7.4",
"regex-syntax@0.6.29"
],
"Locations": [
{
"StartLine": 44,
"EndLine": 53
}
]
},
{
"ID": "aho-corasick@0.7.20",
"Name": "aho-corasick",
"Identifier": {
"PURL": "pkg:cargo/aho-corasick@0.7.20",
"UID": "994a6d343f8da957"
},
"Version": "0.7.20",
"Indirect": true,
"Relationship": "indirect",
"DependsOn": [
"memchr@2.7.4"
],
"Locations": [
{
"StartLine": 5,
"EndLine": 12
}
]
},
{
"ID": "libc@0.2.171",
"Name": "libc",
"Identifier": {
"PURL": "pkg:cargo/libc@0.2.171",
"UID": "5395cf65d65d1f19"
},
"Version": "0.2.171",
"Indirect": true,
"Relationship": "indirect",
"Locations": [
{
"StartLine": 23,
"EndLine": 27
}
]
},
{
"ID": "memchr@2.7.4",
"Name": "memchr",
"Identifier": {
"PURL": "pkg:cargo/memchr@2.7.4",
"UID": "3f037d5da23e5826"
},
"Version": "2.7.4",
"Indirect": true,
"Relationship": "indirect",
"Locations": [
{
"StartLine": 38,
"EndLine": 42
}
]
},
{
"ID": "regex-syntax@0.6.29",
"Name": "regex-syntax",
"Identifier": {
"PURL": "pkg:cargo/regex-syntax@0.6.29",
"UID": "2c8dd93ce2f15b00"
},
"Version": "0.6.29",
"Indirect": true,
"Relationship": "indirect",
"Locations": [
{
"StartLine": 55,
"EndLine": 59
}
]
}
]
}
]
}