Skip to content

Commit

Permalink
feat: [containeranalysis] Add VULNERABILITY_ASSESSMENT Note type to g…
Browse files Browse the repository at this point in the history
…rafeas v1 API, adds Vex_Assessment derived from the Note to resources' occurrences, VEX notes now be written to add CVE assessments (#9183)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 515727862

Source-Link: https://togithub.com/googleapis/googleapis/commit/a4e62056b0a8b2464e5b0b8f593b798d99c7817e

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/3bc42dca2900815c165cf7d3419ff70df05dfb90
Copy-Tag: eyJwIjoiamF2YS1ncmFmZWFzLy5Pd2xCb3QueWFtbCIsImgiOiIzYmM0MmRjYTI5MDA4MTVjMTY1Y2Y3ZDM0MTlmZjcwZGYwNWRmYjkwIn0=

BEGIN_NESTED_COMMIT
feat: [containeranalysis] Import of Grafeas from Github
PiperOrigin-RevId: 513603965

Source-Link: https://togithub.com/googleapis/googleapis/commit/7044962d31b872f7424bf3b320add0c4a3b186e8

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/0ca25aa1245ce4057f3fbd88653e58970731f571
Copy-Tag: eyJwIjoiamF2YS1ncmFmZWFzLy5Pd2xCb3QueWFtbCIsImgiOiIwY2EyNWFhMTI0NWNlNDA1N2YzZmJkODg2NTNlNTg5NzA3MzFmNTcxIn0=
END_NESTED_COMMIT
  • Loading branch information
gcf-owl-bot[bot] committed Mar 13, 2023
1 parent 6eca244 commit 460b25b
Show file tree
Hide file tree
Showing 18 changed files with 15,264 additions and 205 deletions.
2 changes: 0 additions & 2 deletions java-grafeas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Java idiomatic client for [Grafeas][product-docs].

If you are using Maven, add this to your pom.xml file:

<!--- {x-version-update-start:grafeas:released} -->

```xml
<dependency>
Expand All @@ -35,7 +34,6 @@ If you are using SBT, add this to your dependencies:
```Scala
libraryDependencies += "io.grafeas" % "grafeas" % "2.13.0"
```
<!--- {x-version-update-end} -->

## Authentication

Expand Down
9 changes: 5 additions & 4 deletions java-grafeas/src/main/java/io/grafeas/v1/Common.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\002 \001(\t\"!\n\014FileLocation\022\021\n\tfile_path\030\001 \001(\t"
+ "\"/\n\007License\022\022\n\nexpression\030\001 \001(\t\022\020\n\010comme"
+ "nts\030\002 \001(\t\",\n\006Digest\022\014\n\004algo\030\001 \001(\t\022\024\n\014dig"
+ "est_bytes\030\002 \001(\014*\276\001\n\010NoteKind\022\031\n\025NOTE_KIN"
+ "est_bytes\030\002 \001(\014*\334\001\n\010NoteKind\022\031\n\025NOTE_KIN"
+ "D_UNSPECIFIED\020\000\022\021\n\rVULNERABILITY\020\001\022\t\n\005BU"
+ "ILD\020\002\022\t\n\005IMAGE\020\003\022\013\n\007PACKAGE\020\004\022\016\n\nDEPLOYM"
+ "ENT\020\005\022\r\n\tDISCOVERY\020\006\022\017\n\013ATTESTATION\020\007\022\013\n"
+ "\007UPGRADE\020\010\022\016\n\nCOMPLIANCE\020\t\022\024\n\020DSSE_ATTES"
+ "TATION\020\nBQ\n\rio.grafeas.v1P\001Z8google.gola"
+ "ng.org/genproto/googleapis/grafeas/v1;gr"
+ "afeas\242\002\003GRAb\006proto3"
+ "TATION\020\n\022\034\n\030VULNERABILITY_ASSESSMENT\020\013BQ"
+ "\n\rio.grafeas.v1P\001Z8google.golang.org/gen"
+ "proto/googleapis/grafeas/v1;grafeas\242\002\003GR"
+ "Ab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
306 changes: 156 additions & 150 deletions java-grafeas/src/main/java/io/grafeas/v1/GrafeasOuterClass.java

Large diffs are not rendered by default.

Loading

0 comments on commit 460b25b

Please sign in to comment.