Skip to content

Commit f247a05

Browse files
feat(ondemandscanning): update the api
#### ondemandscanning:v1 The following keys were added: - schemas.VulnerabilityOccurrence.properties.cvssV2.$ref (Total Keys: 1) #### ondemandscanning:v1beta1 The following keys were added: - schemas.VulnerabilityOccurrence.properties.cvssV2.$ref (Total Keys: 1)
1 parent aa9721a commit f247a05

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,20 @@ <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;cvssV2&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 v2 score for the vulnerability.
701+
&quot;attackComplexity&quot;: &quot;A String&quot;,
702+
&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.
703+
&quot;authentication&quot;: &quot;A String&quot;,
704+
&quot;availabilityImpact&quot;: &quot;A String&quot;,
705+
&quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
706+
&quot;confidentialityImpact&quot;: &quot;A String&quot;,
707+
&quot;exploitabilityScore&quot;: 3.14,
708+
&quot;impactScore&quot;: 3.14,
709+
&quot;integrityImpact&quot;: &quot;A String&quot;,
710+
&quot;privilegesRequired&quot;: &quot;A String&quot;,
711+
&quot;scope&quot;: &quot;A String&quot;,
712+
&quot;userInteraction&quot;: &quot;A String&quot;,
713+
},
700714
&quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
701715
&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.
702716
&quot;attackComplexity&quot;: &quot;A String&quot;,

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,20 @@ <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;cvssV2&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 v2 score for the vulnerability.
701+
&quot;attackComplexity&quot;: &quot;A String&quot;,
702+
&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.
703+
&quot;authentication&quot;: &quot;A String&quot;,
704+
&quot;availabilityImpact&quot;: &quot;A String&quot;,
705+
&quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
706+
&quot;confidentialityImpact&quot;: &quot;A String&quot;,
707+
&quot;exploitabilityScore&quot;: 3.14,
708+
&quot;impactScore&quot;: 3.14,
709+
&quot;integrityImpact&quot;: &quot;A String&quot;,
710+
&quot;privilegesRequired&quot;: &quot;A String&quot;,
711+
&quot;scope&quot;: &quot;A String&quot;,
712+
&quot;userInteraction&quot;: &quot;A String&quot;,
713+
},
700714
&quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
701715
&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.
702716
&quot;attackComplexity&quot;: &quot;A String&quot;,

googleapiclient/discovery_cache/documents/ondemandscanning.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20230206",
342+
"revision": "20230213",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -2326,6 +2326,10 @@
23262326
"format": "float",
23272327
"type": "number"
23282328
},
2329+
"cvssV2": {
2330+
"$ref": "CVSS",
2331+
"description": "The cvss v2 score for the vulnerability."
2332+
},
23292333
"cvssVersion": {
23302334
"description": "Output only. CVSS version used to populate cvss_score and severity.",
23312335
"enum": [

googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20230206",
342+
"revision": "20230213",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -2322,6 +2322,10 @@
23222322
"format": "float",
23232323
"type": "number"
23242324
},
2325+
"cvssV2": {
2326+
"$ref": "CVSS",
2327+
"description": "The cvss v2 score for the vulnerability."
2328+
},
23252329
"cvssVersion": {
23262330
"description": "Output only. CVSS version used to populate cvss_score and severity.",
23272331
"enum": [

0 commit comments

Comments
 (0)