Skip to content

Commit

Permalink
feat: [grafeas] add enum for grafeas v1 cvss to support both cvss v2 …
Browse files Browse the repository at this point in the history
…and v3 (#4167)

* feat: add enum for grafeas v1 cvss to support both cvss v2 and v3

PiperOrigin-RevId: 523785347

Source-Link: googleapis/googleapis@4e8d390

Source-Link: googleapis/googleapis-gen@d1e6d67
Copy-Tag: eyJwIjoicGFja2FnZXMvZ3JhZmVhcy8uT3dsQm90LnlhbWwiLCJoIjoiZDFlNmQ2N2VjZTU5OGU5N2Y5Mzk4YzZjYjM1ZmZjNjEzMDhlNmRiYyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: danieljbruce <[email protected]>
Co-authored-by: Denis DelGrosso <[email protected]>
  • Loading branch information
4 people authored Apr 17, 2023
1 parent 0904936 commit d9cf3bd
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 5 deletions.
3 changes: 3 additions & 0 deletions packages/grafeas/protos/grafeas/v1/cvss.proto
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ message CVSS {
ATTACK_COMPLEXITY_UNSPECIFIED = 0;
ATTACK_COMPLEXITY_LOW = 1;
ATTACK_COMPLEXITY_HIGH = 2;
ATTACK_COMPLEXITY_MEDIUM = 3;
}

enum Authentication {
Expand Down Expand Up @@ -155,6 +156,8 @@ message CVSS {
IMPACT_HIGH = 1;
IMPACT_LOW = 2;
IMPACT_NONE = 3;
IMPACT_PARTIAL = 4;
IMPACT_COMPLETE = 5;
}
}

Expand Down
7 changes: 5 additions & 2 deletions packages/grafeas/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions packages/grafeas/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions packages/grafeas/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"clientLibrary": {
"name": "nodejs-grafeas",
"version": "4.4.0",
"version": "4.4.1",
"language": "TYPESCRIPT",
"apis": [
{
Expand Down

0 comments on commit d9cf3bd

Please sign in to comment.