Skip to content

Commit e8cdca9

Browse files
authored
Merge branch 'main' into samples/fix_vias
2 parents 0ec3f42 + cff0d81 commit e8cdca9

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

container-analysis/snippets/createNote.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,10 @@ async function main(
4444
parent: formattedParent,
4545
noteId: noteId,
4646
note: {
47-
vulnerability: {
48-
details: [
49-
{
50-
affectedCpeUri: 'foo.uri',
51-
affectedPackage: 'foo',
52-
affectedVersionStart: {
53-
kind: 'MINIMUM',
54-
},
55-
affectedVersionEnd: {
56-
kind: 'MAXIMUM',
57-
},
58-
},
59-
],
47+
attestation: {
48+
hint: {
49+
humanReadableName: 'my-attestation-authority',
50+
},
6051
},
6152
},
6253
});

0 commit comments

Comments
 (0)