google-apis-containeranalysis_v1alpha1 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13642fe32fe0258e5f67b5144945bb9952101afc3c155a53fd1e928193bf67f7
4
- data.tar.gz: 7757e62355ea4f2f2b2a278e58c34171034760ccc0f8596b9d17797722c2da7f
3
+ metadata.gz: b01d175a62b08eaa7266ca43826c60d95cf54b3d8bf28017dd293397c985e325
4
+ data.tar.gz: 3f76c4e4a077d07b33e41da807aee832f799df58a516325b35c4bf63efb9f736
5
5
  SHA512:
6
- metadata.gz: 5e4525fcb45b96638be0a4872e4f007035c45616950ac4438069ef913ca63699558d02f41f62c18e21d07443c98439acccc2c95cfcbb0ef5f0b5a11d382444b5
7
- data.tar.gz: a246e2c40ea21a591cb9eaedc1838be77469cdfc723bcf340190540113029fcc39366af4bc60c3e28c26038347fd1165dbbfa1af75b371b079d5d4388ee0ba78
6
+ metadata.gz: fdfa58358a40cfde5d5d8e0b0737f6cc801de9f6ecfb4a4083aed461f1d2e5b97d41c471c5fa0b2423293454b2fd2bb6ad58c6efb9756fc60c8cb89e60be5f78
7
+ data.tar.gz: 48deb3a3c0d707e9065079121a7e95c343d895ba80ec4ca786d089d66bfb3506a00921615d46be3b1979888cf28a8b77a1c227475eee140dd5f8d63c7464e208
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.13.0 (2021-08-26)
4
+
5
+ * Regenerated from discovery document revision 20210820
6
+
3
7
  ### v0.12.0 (2021-08-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20210813
@@ -2710,11 +2710,24 @@ module Google
2710
2710
  # @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
2711
2711
  attr_accessor :affected_location
2712
2712
 
2713
+ # Output only. The distro or language system assigned severity for this
2714
+ # vulnerability when that is available and note provider assigned severity when
2715
+ # distro or language system has not yet assigned a severity for this
2716
+ # vulnerability.
2717
+ # Corresponds to the JSON property `effectiveSeverity`
2718
+ # @return [String]
2719
+ attr_accessor :effective_severity
2720
+
2713
2721
  # The location of the vulnerability
2714
2722
  # Corresponds to the JSON property `fixedLocation`
2715
2723
  # @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
2716
2724
  attr_accessor :fixed_location
2717
2725
 
2726
+ # The type of package (e.g. OS, MAVEN, GO).
2727
+ # Corresponds to the JSON property `packageType`
2728
+ # @return [String]
2729
+ attr_accessor :package_type
2730
+
2718
2731
  #
2719
2732
  # Corresponds to the JSON property `severityName`
2720
2733
  # @return [String]
@@ -2727,7 +2740,9 @@ module Google
2727
2740
  # Update properties of this object
2728
2741
  def update!(**args)
2729
2742
  @affected_location = args[:affected_location] if args.key?(:affected_location)
2743
+ @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
2730
2744
  @fixed_location = args[:fixed_location] if args.key?(:fixed_location)
2745
+ @package_type = args[:package_type] if args.key?(:package_type)
2731
2746
  @severity_name = args[:severity_name] if args.key?(:severity_name)
2732
2747
  end
2733
2748
  end
@@ -3784,7 +3799,14 @@ module Google
3784
3799
 
3785
3800
  # The distro assigned severity for this vulnerability when that is available and
3786
3801
  # note provider assigned severity when distro has not yet assigned a severity
3787
- # for this vulnerability.
3802
+ # for this vulnerability. When there are multiple package issues for this
3803
+ # vulnerability, they can have different effective severities because some might
3804
+ # come from the distro and some might come from installed language packs (e.g.
3805
+ # Maven JARs or Go binaries). For this reason, it is advised to use the
3806
+ # effective severity on the PackageIssue level, as this field may eventually be
3807
+ # deprecated. In the case where multiple PackageIssues have different effective
3808
+ # severities, the one set here will be the highest severity of any of the
3809
+ # PackageIssues.
3788
3810
  # Corresponds to the JSON property `effectiveSeverity`
3789
3811
  # @return [String]
3790
3812
  attr_accessor :effective_severity
@@ -3801,7 +3823,8 @@ module Google
3801
3823
  attr_accessor :severity
3802
3824
 
3803
3825
  # The type of package; whether native or non native(ruby gems, node.js packages
3804
- # etc)
3826
+ # etc). This may be deprecated in the future because we can have multiple
3827
+ # PackageIssues with different package types.
3805
3828
  # Corresponds to the JSON property `type`
3806
3829
  # @return [String]
3807
3830
  attr_accessor :type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210813"
25
+ REVISION = "20210820"
26
26
  end
27
27
  end
28
28
  end
@@ -1315,8 +1315,10 @@ module Google
1315
1315
  class Representation < Google::Apis::Core::JsonRepresentation
1316
1316
  property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
1317
1317
 
1318
+ property :effective_severity, as: 'effectiveSeverity'
1318
1319
  property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
1319
1320
 
1321
+ property :package_type, as: 'packageType'
1320
1322
  property :severity_name, as: 'severityName'
1321
1323
  end
1322
1324
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-23 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-containeranalysis_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []