forked from guacsec/guac
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trustification-v0.7.2' into TC-1642
- Loading branch information
Showing
30 changed files
with
20,106 additions
and
943 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -287,6 +287,28 @@ query FindVulnerabilitySbomURI_quarkus { | |
} | ||
} | ||
|
||
query FindVulnerabilityCPE_quarkus { | ||
findVulnerabilityByCPE (cpe: "cpe:/a:redhat:quarkus:2.13::el8") { | ||
... on CertifyVuln { | ||
...allCertifyVulnTree | ||
} | ||
... on CertifyVEXStatement { | ||
...allCertifyVEXStatementTree | ||
} | ||
} | ||
} | ||
|
||
query FindVulnerability_quarkus { | ||
findVulnerability (purl: "pkg:maven/com.redhat.quarkus.platform/[email protected]?type=pom") { | ||
... on CertifyVuln { | ||
...allCertifyVulnTree | ||
} | ||
... on CertifyVEXStatement { | ||
...allCertifyVEXStatementTree | ||
} | ||
} | ||
} | ||
|
||
query FindVulnerabilitySbomURI_ubi9 { | ||
findVulnerabilityBySbomURI ( | ||
sbomURI:"https://access.redhat.com/security/data/sbom/beta/spdx/ubi9-minimal-container-9b954617-943f-43ab-bd5b-3df62a706ed6", offset:0, limit:1000) { | ||
|
@@ -357,26 +379,27 @@ query TC_1593_FindDependentProduct { | |
} | ||
} | ||
|
||
query TC_1593_HasMetadata { | ||
HasMetadata (hasMetadataSpec: {key: "topLevelPackage", value: "pkg:maven/pom-with-deps-no-ignore/[email protected]?type=jar"}) { | ||
subject { | ||
... on Package { | ||
...allPkgTree | ||
} | ||
} | ||
query TC_1609_FindDependentProduct { | ||
findDependentProduct ( | ||
purl: "pkg:maven/io.github.crac/[email protected]?type=jar" | ||
) { | ||
...allHasSBOMTree | ||
} | ||
} | ||
|
||
query TC_1609_HasMetadata { | ||
HasMetadata (hasMetadataSpec: { | ||
key: "topLevelPackage", | ||
value: "pkg:maven/com.example/[email protected]?type=jar", | ||
subject: {package: {name:"org-crac"}} | ||
}) { | ||
subject { | ||
... on Package { | ||
...allPkgTree | ||
query CVE_2023_1664 { | ||
CertifyVEXStatement ( | ||
certifyVEXStatementSpec: { | ||
vulnerability: { | ||
vulnerabilityID: "cve-2023-1664" | ||
} | ||
subject: { | ||
package: { | ||
name: "keycloak-core" | ||
} | ||
} | ||
} | ||
) { | ||
documentRef | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"CertifyVEXStatement": [ | ||
{ | ||
"documentRef": "sha256_bcb4eb22af2714f0f4fcc5acd58d4d9ef48290212816c7ad776fc50e716d93a2" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.