From 404f0c97171a8ea968d7c04f350161729c5ea51b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 4 Oct 2022 07:14:50 +0000 Subject: [PATCH] feat(containeranalysis): update the api #### containeranalysis:v1 The following keys were added: - schemas.VulnerabilityNote.properties.cvssVersion.type (Total Keys: 1) - schemas.VulnerabilityOccurrence.properties.cvssVersion.type (Total Keys: 1) #### containeranalysis:v1beta1 The following keys were added: - schemas.GrafeasV1beta1VulnerabilityDetails.properties.cvssVersion.type (Total Keys: 1) - schemas.Vulnerability.properties.cvssVersion.type (Total Keys: 1) --- .../containeranalysis_v1.projects.notes.html | 8 +++++ ...nalysis_v1.projects.notes.occurrences.html | 1 + ...aineranalysis_v1.projects.occurrences.html | 9 ++++++ ...taineranalysis_v1beta1.projects.notes.html | 8 +++++ ...is_v1beta1.projects.notes.occurrences.html | 1 + ...analysis_v1beta1.projects.occurrences.html | 9 ++++++ .../documents/containeranalysis.v1.json | 32 +++++++++++++++++-- .../documents/containeranalysis.v1alpha1.json | 2 +- .../documents/containeranalysis.v1beta1.json | 30 ++++++++++++++++- 9 files changed, 96 insertions(+), 4 deletions(-) diff --git a/docs/dyn/containeranalysis_v1.projects.notes.html b/docs/dyn/containeranalysis_v1.projects.notes.html index 1813897d86c..7503f243a6c 100644 --- a/docs/dyn/containeranalysis_v1.projects.notes.html +++ b/docs/dyn/containeranalysis_v1.projects.notes.html @@ -289,6 +289,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. @@ -523,6 +524,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. @@ -762,6 +764,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. @@ -993,6 +996,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. @@ -1248,6 +1252,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. @@ -1534,6 +1539,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. @@ -1782,6 +1788,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. @@ -2013,6 +2020,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. diff --git a/docs/dyn/containeranalysis_v1.projects.notes.occurrences.html b/docs/dyn/containeranalysis_v1.projects.notes.occurrences.html index f1883acdb64..909858f6b03 100644 --- a/docs/dyn/containeranalysis_v1.projects.notes.occurrences.html +++ b/docs/dyn/containeranalysis_v1.projects.notes.occurrences.html @@ -698,6 +698,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. diff --git a/docs/dyn/containeranalysis_v1.projects.occurrences.html b/docs/dyn/containeranalysis_v1.projects.occurrences.html index 625ee12dffc..54d41cb306c 100644 --- a/docs/dyn/containeranalysis_v1.projects.occurrences.html +++ b/docs/dyn/containeranalysis_v1.projects.occurrences.html @@ -714,6 +714,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. @@ -1376,6 +1377,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. @@ -2043,6 +2045,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. @@ -2701,6 +2704,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. @@ -3384,6 +3388,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. @@ -3668,6 +3673,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "details": [ # Details of all known distros and packages affected by this vulnerability. { # A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). "affectedCpeUri": "A String", # Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. @@ -4362,6 +4368,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. @@ -5038,6 +5045,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. @@ -5697,6 +5705,7 @@

Method Details

}, "vulnerability": { # An occurrence of a severity vulnerability on a resource. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "cvssv3": { # 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. "attackComplexity": "A String", "attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. diff --git a/docs/dyn/containeranalysis_v1beta1.projects.notes.html b/docs/dyn/containeranalysis_v1beta1.projects.notes.html index d5298ea6123..cd18395e14f 100644 --- a/docs/dyn/containeranalysis_v1beta1.projects.notes.html +++ b/docs/dyn/containeranalysis_v1beta1.projects.notes.html @@ -318,6 +318,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], @@ -583,6 +584,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], @@ -853,6 +855,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], @@ -1115,6 +1118,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], @@ -1401,6 +1405,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], @@ -1718,6 +1723,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], @@ -1997,6 +2003,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], @@ -2259,6 +2266,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], diff --git a/docs/dyn/containeranalysis_v1beta1.projects.notes.occurrences.html b/docs/dyn/containeranalysis_v1beta1.projects.notes.occurrences.html index 8d9a45d804f..66989f88697 100644 --- a/docs/dyn/containeranalysis_v1beta1.projects.notes.occurrences.html +++ b/docs/dyn/containeranalysis_v1beta1.projects.notes.occurrences.html @@ -466,6 +466,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. diff --git a/docs/dyn/containeranalysis_v1beta1.projects.occurrences.html b/docs/dyn/containeranalysis_v1beta1.projects.occurrences.html index df85c47d083..0331aea23e5 100644 --- a/docs/dyn/containeranalysis_v1beta1.projects.occurrences.html +++ b/docs/dyn/containeranalysis_v1beta1.projects.occurrences.html @@ -482,6 +482,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. @@ -894,6 +895,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. @@ -1311,6 +1313,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. @@ -1719,6 +1722,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. @@ -2152,6 +2156,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. @@ -2447,6 +2452,7 @@

Method Details

"scope": "A String", "userInteraction": "A String", }, + "cvssVersion": "A String", # CVSS version used to populate cvss_score and severity. "cwe": [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html "A String", ], @@ -2918,6 +2924,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. @@ -3344,6 +3351,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. @@ -3753,6 +3761,7 @@

Method Details

"updateTime": "A String", # Output only. The time this occurrence was last updated. "vulnerability": { # Details of a vulnerability Occurrence. # Describes a security vulnerability. "cvssScore": 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. + "cvssVersion": "A String", # Output only. CVSS version used to populate cvss_score and severity. "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. "longDescription": "A String", # Output only. A detailed description of this vulnerability. "packageIssue": [ # Required. The set of affected locations and their fixes (if available) within the associated resource. diff --git a/googleapiclient/discovery_cache/documents/containeranalysis.v1.json b/googleapiclient/discovery_cache/documents/containeranalysis.v1.json index 302ff5910cf..61f480e0702 100644 --- a/googleapiclient/discovery_cache/documents/containeranalysis.v1.json +++ b/googleapiclient/discovery_cache/documents/containeranalysis.v1.json @@ -755,7 +755,7 @@ } } }, - "revision": "20220910", + "revision": "20220928", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2767,7 +2767,7 @@ "Resource is known but no action has been taken yet.", "Resource is being analyzed.", "Analysis has finished successfully.", - "Analysis has completed", + "Analysis has completed.", "Analysis has finished unsuccessfully, the analysis itself is in a bad state.", "The resource is known not to be supported." ], @@ -4473,6 +4473,20 @@ "$ref": "CVSSv3", "description": "The full description of the CVSSv3 for this vulnerability." }, + "cvssVersion": { + "description": "CVSS version used to populate cvss_score and severity.", + "enum": [ + "CVSS_VERSION_UNSPECIFIED", + "CVSS_VERSION_2", + "CVSS_VERSION_3" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, "details": { "description": "Details of all known distros and packages affected by this vulnerability.", "items": { @@ -4524,6 +4538,20 @@ "format": "float", "type": "number" }, + "cvssVersion": { + "description": "Output only. CVSS version used to populate cvss_score and severity.", + "enum": [ + "CVSS_VERSION_UNSPECIFIED", + "CVSS_VERSION_2", + "CVSS_VERSION_3" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, "cvssv3": { "$ref": "CVSS", "description": "The cvss v3 score for the vulnerability." diff --git a/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json b/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json index 7ff08bc0e3b..baf71ffb523 100644 --- a/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +++ b/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json @@ -1229,7 +1229,7 @@ } } }, - "revision": "20220910", + "revision": "20220928", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { diff --git a/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json b/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json index eaad10b4cd6..5557a3dc33d 100644 --- a/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json @@ -853,7 +853,7 @@ } } }, - "revision": "20220910", + "revision": "20220928", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -3438,6 +3438,20 @@ "format": "float", "type": "number" }, + "cvssVersion": { + "description": "Output only. CVSS version used to populate cvss_score and severity.", + "enum": [ + "CVSS_VERSION_UNSPECIFIED", + "CVSS_VERSION_2", + "CVSS_VERSION_3" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, "effectiveSeverity": { "description": "The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.", "enum": [ @@ -4922,6 +4936,20 @@ "$ref": "CVSSv3", "description": "The full description of the CVSS for version 3." }, + "cvssVersion": { + "description": "CVSS version used to populate cvss_score and severity.", + "enum": [ + "CVSS_VERSION_UNSPECIFIED", + "CVSS_VERSION_2", + "CVSS_VERSION_3" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, "cwe": { "description": "A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html", "items": {