We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b36c1ee commit 98ae6e7Copy full SHA for 98ae6e7
container-registry/container-analysis/src/test/java/com/example/containeranalysis/SamplesTest.java
@@ -329,7 +329,7 @@ public void testFindHighSeverityVulnerabilitiesForImage() throws Exception {
329
// create high severity note
330
Note newNote = Note.newBuilder()
331
.setVulnerability(VulnerabilityNote.newBuilder()
332
- .setSeverity(Severity.CRITICAL)
+ .setEffectiveSeverity(Severity.CRITICAL)
333
.addDetails(VulnerabilityNote.Detail.newBuilder()
334
.setAffectedCpeUri("your-uri-here")
335
.setAffectedPackage("your-package-here")
0 commit comments