google-apis-containeranalysis_v1 0.62.0 → 0.64.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: 7b84bb6d05a66a4fe2c1d3f612de8382b37b2bbbf06d88287738cda6969e440f
4
- data.tar.gz: e1e5d4a4800cf05c2016bc6d68a41a574df1d3047c60a93816600841896a3af9
3
+ metadata.gz: 31d5274d439216bde3bdaf5b0e70e417205a0b6f31ee1e1bd608b8c4df42a81b
4
+ data.tar.gz: 337be72e3a6489e927744a13b07b65c792abf31f634281f95e01c32f7f79ee7d
5
5
  SHA512:
6
- metadata.gz: 1f0174fb2fb9367d5b5a4f1191099f70a88c8adeca46ab30330930c57425069dec5e76dd4675f247bf6e9cf0572daeb2644cd7d49c8d4b34991e310c4a12bb92
7
- data.tar.gz: 23d8ee1e25f8b5b09e1a259f22edfe44f554fcc4243a46f10dea2ffba867c1f8a5c28f7eaabe555b2e0601ebf9c4288590a8c90ece3b57f184f73a5abd69c98f
6
+ metadata.gz: c40e7397b9acbf3c05c42befd2d914b03622c683edee12c4b625dd4060b758429b2c70e3dc676374e3b72ca91bd5787f93ce860e35784baeff1819849a55a9fc
7
+ data.tar.gz: 4eee36ba63a1093e187af6b667b45088ff261f0c483dfc85c1e96e900e40cf24800fce6abda33b0c3d9e0d2dac776967615a8d52edf68f3e40255ce1566c6028
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.64.0 (2025-09-07)
4
+
5
+ * Regenerated from discovery document revision 20250829
6
+
7
+ ### v0.63.0 (2025-08-24)
8
+
9
+ * Regenerated from discovery document revision 20250813
10
+
3
11
  ### v0.62.0 (2025-07-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20250704
@@ -705,7 +705,7 @@ module Google
705
705
  end
706
706
  end
707
707
 
708
- # A step in the build pipeline. Next ID: 22
708
+ # A step in the build pipeline. Next ID: 23
709
709
  class BuildStep
710
710
  include Google::Apis::Core::Hashable
711
711
 
@@ -796,6 +796,11 @@ module Google
796
796
  # @return [Google::Apis::ContaineranalysisV1::TimeSpan]
797
797
  attr_accessor :pull_timing
798
798
 
799
+ # Remote configuration for the build step.
800
+ # Corresponds to the JSON property `remoteConfig`
801
+ # @return [String]
802
+ attr_accessor :remote_config
803
+
799
804
  #
800
805
  # Corresponds to the JSON property `results`
801
806
  # @return [Array<Google::Apis::ContaineranalysisV1::StepResult>]
@@ -867,6 +872,7 @@ module Google
867
872
  @id = args[:id] if args.key?(:id)
868
873
  @name = args[:name] if args.key?(:name)
869
874
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
875
+ @remote_config = args[:remote_config] if args.key?(:remote_config)
870
876
  @results = args[:results] if args.key?(:results)
871
877
  @script = args[:script] if args.key?(:script)
872
878
  @secret_env = args[:secret_env] if args.key?(:secret_env)
@@ -897,6 +903,26 @@ module Google
897
903
  end
898
904
  end
899
905
 
906
+ #
907
+ class CisaKnownExploitedVulnerabilities
908
+ include Google::Apis::Core::Hashable
909
+
910
+ # Whether the vulnerability is known to have been leveraged as part of a
911
+ # ransomware campaign.
912
+ # Corresponds to the JSON property `knownRansomwareCampaignUse`
913
+ # @return [String]
914
+ attr_accessor :known_ransomware_campaign_use
915
+
916
+ def initialize(**args)
917
+ update!(**args)
918
+ end
919
+
920
+ # Update properties of this object
921
+ def update!(**args)
922
+ @known_ransomware_campaign_use = args[:known_ransomware_campaign_use] if args.key?(:known_ransomware_campaign_use)
923
+ end
924
+ end
925
+
900
926
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
901
927
  # cvss/specification-document This is a message we will try to use for storing
902
928
  # various versions of CVSS rather than making a separate proto for storing a
@@ -1665,7 +1691,8 @@ module Google
1665
1691
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1666
1692
  include Google::Apis::Core::Hashable
1667
1693
 
1668
- # Path to the package.json. e.g. workspace/path/to/package
1694
+ # Optional. Path to the package.json. e.g. workspace/path/to/package Only one of
1695
+ # `archive` or `package_path` can be specified.
1669
1696
  # Corresponds to the JSON property `packagePath`
1670
1697
  # @return [String]
1671
1698
  attr_accessor :package_path
@@ -3846,6 +3873,33 @@ module Google
3846
3873
  end
3847
3874
  end
3848
3875
 
3876
+ #
3877
+ class ExploitPredictionScoringSystem
3878
+ include Google::Apis::Core::Hashable
3879
+
3880
+ # The percentile of the current score, the proportion of all scored
3881
+ # vulnerabilities with the same or a lower EPSS score
3882
+ # Corresponds to the JSON property `percentile`
3883
+ # @return [Float]
3884
+ attr_accessor :percentile
3885
+
3886
+ # The EPSS score representing the probability [0-1] of exploitation in the wild
3887
+ # in the next 30 days
3888
+ # Corresponds to the JSON property `score`
3889
+ # @return [Float]
3890
+ attr_accessor :score
3891
+
3892
+ def initialize(**args)
3893
+ update!(**args)
3894
+ end
3895
+
3896
+ # Update properties of this object
3897
+ def update!(**args)
3898
+ @percentile = args[:percentile] if args.key?(:percentile)
3899
+ @score = args[:score] if args.key?(:score)
3900
+ end
3901
+ end
3902
+
3849
3903
  # The request to generate and export SBOM. Target must be specified for the
3850
3904
  # request.
3851
3905
  class ExportSbomRequest
@@ -4901,7 +4955,8 @@ module Google
4901
4955
  attr_accessor :notes
4902
4956
 
4903
4957
  # Unordered list. Unreachable regions. Populated for requests from the global
4904
- # region when `return_partial_success` is set. Format: projects//locations/
4958
+ # region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/
4959
+ # locations/[LOCATION]`
4905
4960
  # Corresponds to the JSON property `unreachable`
4906
4961
  # @return [Array<String>]
4907
4962
  attr_accessor :unreachable
@@ -4934,7 +4989,8 @@ module Google
4934
4989
  attr_accessor :occurrences
4935
4990
 
4936
4991
  # Unordered list. Unreachable regions. Populated for requests from the global
4937
- # region when `return_partial_success` is set. Format: projects//locations/
4992
+ # region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/
4993
+ # locations/[LOCATION]`
4938
4994
  # Corresponds to the JSON property `unreachable`
4939
4995
  # @return [Array<String>]
4940
4996
  attr_accessor :unreachable
@@ -6048,6 +6104,33 @@ module Google
6048
6104
  end
6049
6105
  end
6050
6106
 
6107
+ #
6108
+ class Risk
6109
+ include Google::Apis::Core::Hashable
6110
+
6111
+ # CISA maintains the authoritative source of vulnerabilities that have been
6112
+ # exploited in the wild.
6113
+ # Corresponds to the JSON property `cisaKev`
6114
+ # @return [Google::Apis::ContaineranalysisV1::CisaKnownExploitedVulnerabilities]
6115
+ attr_accessor :cisa_kev
6116
+
6117
+ # The Exploit Prediction Scoring System (EPSS) estimates the likelihood (
6118
+ # probability) that a software vulnerability will be exploited in the wild.
6119
+ # Corresponds to the JSON property `epss`
6120
+ # @return [Google::Apis::ContaineranalysisV1::ExploitPredictionScoringSystem]
6121
+ attr_accessor :epss
6122
+
6123
+ def initialize(**args)
6124
+ update!(**args)
6125
+ end
6126
+
6127
+ # Update properties of this object
6128
+ def update!(**args)
6129
+ @cisa_kev = args[:cisa_kev] if args.key?(:cisa_kev)
6130
+ @epss = args[:epss] if args.key?(:epss)
6131
+ end
6132
+ end
6133
+
6051
6134
  #
6052
6135
  class RunDetails
6053
6136
  include Google::Apis::Core::Hashable
@@ -7451,6 +7534,11 @@ module Google
7451
7534
  # @return [Array<Google::Apis::ContaineranalysisV1::RelatedUrl>]
7452
7535
  attr_accessor :related_urls
7453
7536
 
7537
+ # Risk information about the vulnerability, such as CISA, EPSS, etc.
7538
+ # Corresponds to the JSON property `risk`
7539
+ # @return [Google::Apis::ContaineranalysisV1::Risk]
7540
+ attr_accessor :risk
7541
+
7454
7542
  # Output only. The note provider assigned severity of this vulnerability.
7455
7543
  # Corresponds to the JSON property `severity`
7456
7544
  # @return [String]
@@ -7489,6 +7577,7 @@ module Google
7489
7577
  @long_description = args[:long_description] if args.key?(:long_description)
7490
7578
  @package_issue = args[:package_issue] if args.key?(:package_issue)
7491
7579
  @related_urls = args[:related_urls] if args.key?(:related_urls)
7580
+ @risk = args[:risk] if args.key?(:risk)
7492
7581
  @severity = args[:severity] if args.key?(:severity)
7493
7582
  @short_description = args[:short_description] if args.key?(:short_description)
7494
7583
  @type = args[:type] if args.key?(:type)
@@ -7507,7 +7596,8 @@ module Google
7507
7596
  attr_accessor :counts
7508
7597
 
7509
7598
  # Unordered list. Unreachable regions. Populated for requests from the global
7510
- # region when `return_partial_success` is set. Format: projects//locations/
7599
+ # region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/
7600
+ # locations/[LOCATION]`
7511
7601
  # Corresponds to the JSON property `unreachable`
7512
7602
  # @return [Array<String>]
7513
7603
  attr_accessor :unreachable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.62.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250704"
25
+ REVISION = "20250829"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class CisaKnownExploitedVulnerabilities
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class Cvss
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -532,6 +538,12 @@ module Google
532
538
  include Google::Apis::Core::JsonObjectSupport
533
539
  end
534
540
 
541
+ class ExploitPredictionScoringSystem
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
535
547
  class ExportSbomRequest
536
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
549
 
@@ -862,6 +874,12 @@ module Google
862
874
  include Google::Apis::Core::JsonObjectSupport
863
875
  end
864
876
 
877
+ class Risk
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
865
883
  class RunDetails
866
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
885
 
@@ -1287,6 +1305,7 @@ module Google
1287
1305
  property :name, as: 'name'
1288
1306
  property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1::TimeSpan::Representation
1289
1307
 
1308
+ property :remote_config, as: 'remoteConfig'
1290
1309
  collection :results, as: 'results', class: Google::Apis::ContaineranalysisV1::StepResult, decorator: Google::Apis::ContaineranalysisV1::StepResult::Representation
1291
1310
 
1292
1311
  property :script, as: 'script'
@@ -1308,6 +1327,13 @@ module Google
1308
1327
  end
1309
1328
  end
1310
1329
 
1330
+ class CisaKnownExploitedVulnerabilities
1331
+ # @private
1332
+ class Representation < Google::Apis::Core::JsonRepresentation
1333
+ property :known_ransomware_campaign_use, as: 'knownRansomwareCampaignUse'
1334
+ end
1335
+ end
1336
+
1311
1337
  class Cvss
1312
1338
  # @private
1313
1339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2077,6 +2103,14 @@ module Google
2077
2103
  end
2078
2104
  end
2079
2105
 
2106
+ class ExploitPredictionScoringSystem
2107
+ # @private
2108
+ class Representation < Google::Apis::Core::JsonRepresentation
2109
+ property :percentile, as: 'percentile'
2110
+ property :score, as: 'score'
2111
+ end
2112
+ end
2113
+
2080
2114
  class ExportSbomRequest
2081
2115
  # @private
2082
2116
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2681,6 +2715,16 @@ module Google
2681
2715
  end
2682
2716
  end
2683
2717
 
2718
+ class Risk
2719
+ # @private
2720
+ class Representation < Google::Apis::Core::JsonRepresentation
2721
+ property :cisa_kev, as: 'cisaKev', class: Google::Apis::ContaineranalysisV1::CisaKnownExploitedVulnerabilities, decorator: Google::Apis::ContaineranalysisV1::CisaKnownExploitedVulnerabilities::Representation
2722
+
2723
+ property :epss, as: 'epss', class: Google::Apis::ContaineranalysisV1::ExploitPredictionScoringSystem, decorator: Google::Apis::ContaineranalysisV1::ExploitPredictionScoringSystem::Representation
2724
+
2725
+ end
2726
+ end
2727
+
2684
2728
  class RunDetails
2685
2729
  # @private
2686
2730
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3069,6 +3113,8 @@ module Google
3069
3113
 
3070
3114
  collection :related_urls, as: 'relatedUrls', class: Google::Apis::ContaineranalysisV1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1::RelatedUrl::Representation
3071
3115
 
3116
+ property :risk, as: 'risk', class: Google::Apis::ContaineranalysisV1::Risk, decorator: Google::Apis::ContaineranalysisV1::Risk::Representation
3117
+
3072
3118
  property :severity, as: 'severity'
3073
3119
  property :short_description, as: 'shortDescription'
3074
3120
  property :type, as: 'type'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.0
4
+ version: 0.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.62.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.64.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
62
62
  rdoc_options: []
63
63
  require_paths: