Skip to content

Commit 546cd30

Browse files
feat(ondemandscanning): update the api
#### ondemandscanning:v1 The following keys were added: - schemas.VulnerabilityOccurrence.properties.cvssVersion.type (Total Keys: 1) #### ondemandscanning:v1beta1 The following keys were added: - schemas.VulnerabilityOccurrence.properties.cvssVersion.type (Total Keys: 1)
1 parent 43ac616 commit 546cd30

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ <h3>Method Details</h3>
697697
},
698698
&quot;vulnerability&quot;: { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability.
699699
&quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
700+
&quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
700701
&quot;cvssv3&quot;: { # Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version. # The cvss v3 score for the vulnerability.
701702
&quot;attackComplexity&quot;: &quot;A String&quot;,
702703
&quot;attackVector&quot;: &quot;A String&quot;, # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ <h3>Method Details</h3>
697697
},
698698
&quot;vulnerability&quot;: { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability.
699699
&quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
700+
&quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
700701
&quot;cvssv3&quot;: { # Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version. # The cvss v3 score for the vulnerability.
701702
&quot;attackComplexity&quot;: &quot;A String&quot;,
702703
&quot;attackVector&quot;: &quot;A String&quot;, # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

googleapiclient/discovery_cache/documents/ondemandscanning.v1.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20220910",
342+
"revision": "20220917",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -966,7 +966,7 @@
966966
"Resource is known but no action has been taken yet.",
967967
"Resource is being analyzed.",
968968
"Analysis has finished successfully.",
969-
"Analysis has completed",
969+
"Analysis has completed.",
970970
"Analysis has finished unsuccessfully, the analysis itself is in a bad state.",
971971
"The resource is known not to be supported."
972972
],
@@ -2322,6 +2322,20 @@
23222322
"format": "float",
23232323
"type": "number"
23242324
},
2325+
"cvssVersion": {
2326+
"description": "Output only. CVSS version used to populate cvss_score and severity.",
2327+
"enum": [
2328+
"CVSS_VERSION_UNSPECIFIED",
2329+
"CVSS_VERSION_2",
2330+
"CVSS_VERSION_3"
2331+
],
2332+
"enumDescriptions": [
2333+
"",
2334+
"",
2335+
""
2336+
],
2337+
"type": "string"
2338+
},
23252339
"cvssv3": {
23262340
"$ref": "CVSS",
23272341
"description": "The cvss v3 score for the vulnerability."

googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20220910",
342+
"revision": "20220917",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -962,7 +962,7 @@
962962
"Resource is known but no action has been taken yet.",
963963
"Resource is being analyzed.",
964964
"Analysis has finished successfully.",
965-
"Analysis has completed",
965+
"Analysis has completed.",
966966
"Analysis has finished unsuccessfully, the analysis itself is in a bad state.",
967967
"The resource is known not to be supported."
968968
],
@@ -2318,6 +2318,20 @@
23182318
"format": "float",
23192319
"type": "number"
23202320
},
2321+
"cvssVersion": {
2322+
"description": "Output only. CVSS version used to populate cvss_score and severity.",
2323+
"enum": [
2324+
"CVSS_VERSION_UNSPECIFIED",
2325+
"CVSS_VERSION_2",
2326+
"CVSS_VERSION_3"
2327+
],
2328+
"enumDescriptions": [
2329+
"",
2330+
"",
2331+
""
2332+
],
2333+
"type": "string"
2334+
},
23212335
"cvssv3": {
23222336
"$ref": "CVSS",
23232337
"description": "The cvss v3 score for the vulnerability."

0 commit comments

Comments
 (0)