google-apis-ondemandscanning_v1 0.55.0 → 0.57.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: 4cc7fe804877be89105f077b58d32826d407d9d5f3e2c7fd78965eb36b23ba10
4
- data.tar.gz: 157b63dccac7368efb2b692332d2ebfe43f7db2a5a7e0c19676a2b03809b90a2
3
+ metadata.gz: 405cc7069f11b36976e04f6d4b7fe971bb6e0930b4f7a9802cc75a4cce3ed483
4
+ data.tar.gz: 67e10bee808a0235e7e1057c17106506553165dbb1aa10e7a9f772d146b6b7ca
5
5
  SHA512:
6
- metadata.gz: ad6116722a254183554726dc93ce37f349640f9ca5d26ab79c9ef791f2a16e270b92aa0f2f855b8919d73967de760be22079b258290060ec96764a54ee985301
7
- data.tar.gz: 2aacc290bacde828a1cf207d15c55b0ae81702169cc44e14350853318cd31724111704c1a5efe4628cd3cd01a5e93dba6e7b7488c0ee08be0218e03d67ca46aa
6
+ metadata.gz: 45cefee01bc2e9198ae779f46de2858e6643ce17863caf7096109489bf0a8b5e0e114b9560b5d188c69e04adfbf745a319c7c99ebb03066dfff8d1d9b09ad303
7
+ data.tar.gz: 21f66a28d2e97d2c93d4b25784acbd9b00f1f1ab3023e11374d36ba652007c50a84af36436f4698e0d21004ed582cf0d9153a0bca6ccd43069745a34a69ec5a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.57.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250815
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.56.0 (2025-05-21)
9
+
10
+ * Regenerated from discovery document revision 20250519
11
+
3
12
  ### v0.55.0 (2025-05-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20250505
@@ -577,6 +577,26 @@ module Google
577
577
  end
578
578
  end
579
579
 
580
+ #
581
+ class CisaKnownExploitedVulnerabilities
582
+ include Google::Apis::Core::Hashable
583
+
584
+ # Whether the vulnerability is known to have been leveraged as part of a
585
+ # ransomware campaign.
586
+ # Corresponds to the JSON property `knownRansomwareCampaignUse`
587
+ # @return [String]
588
+ attr_accessor :known_ransomware_campaign_use
589
+
590
+ def initialize(**args)
591
+ update!(**args)
592
+ end
593
+
594
+ # Update properties of this object
595
+ def update!(**args)
596
+ @known_ransomware_campaign_use = args[:known_ransomware_campaign_use] if args.key?(:known_ransomware_campaign_use)
597
+ end
598
+ end
599
+
580
600
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
581
601
  # cvss/specification-document This is a message we will try to use for storing
582
602
  # various versions of CVSS rather than making a separate proto for storing a
@@ -1012,6 +1032,11 @@ module Google
1012
1032
  # @return [String]
1013
1033
  attr_accessor :cpe
1014
1034
 
1035
+ # Files that make up the resource described by the occurrence.
1036
+ # Corresponds to the JSON property `files`
1037
+ # @return [Array<Google::Apis::OndemandscanningV1::File>]
1038
+ attr_accessor :files
1039
+
1015
1040
  # The last time this resource was scanned.
1016
1041
  # Corresponds to the JSON property `lastScanTime`
1017
1042
  # @return [String]
@@ -1035,6 +1060,7 @@ module Google
1035
1060
  @archive_time = args[:archive_time] if args.key?(:archive_time)
1036
1061
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
1037
1062
  @cpe = args[:cpe] if args.key?(:cpe)
1063
+ @files = args[:files] if args.key?(:files)
1038
1064
  @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
1039
1065
  @sbom_status = args[:sbom_status] if args.key?(:sbom_status)
1040
1066
  end
@@ -1115,6 +1141,58 @@ module Google
1115
1141
  end
1116
1142
  end
1117
1143
 
1144
+ #
1145
+ class ExploitPredictionScoringSystem
1146
+ include Google::Apis::Core::Hashable
1147
+
1148
+ # The percentile of the current score, the proportion of all scored
1149
+ # vulnerabilities with the same or a lower EPSS score
1150
+ # Corresponds to the JSON property `percentile`
1151
+ # @return [Float]
1152
+ attr_accessor :percentile
1153
+
1154
+ # The EPSS score representing the probability [0-1] of exploitation in the wild
1155
+ # in the next 30 days
1156
+ # Corresponds to the JSON property `score`
1157
+ # @return [Float]
1158
+ attr_accessor :score
1159
+
1160
+ def initialize(**args)
1161
+ update!(**args)
1162
+ end
1163
+
1164
+ # Update properties of this object
1165
+ def update!(**args)
1166
+ @percentile = args[:percentile] if args.key?(:percentile)
1167
+ @score = args[:score] if args.key?(:score)
1168
+ end
1169
+ end
1170
+
1171
+ #
1172
+ class File
1173
+ include Google::Apis::Core::Hashable
1174
+
1175
+ #
1176
+ # Corresponds to the JSON property `digest`
1177
+ # @return [Hash<String,String>]
1178
+ attr_accessor :digest
1179
+
1180
+ #
1181
+ # Corresponds to the JSON property `name`
1182
+ # @return [String]
1183
+ attr_accessor :name
1184
+
1185
+ def initialize(**args)
1186
+ update!(**args)
1187
+ end
1188
+
1189
+ # Update properties of this object
1190
+ def update!(**args)
1191
+ @digest = args[:digest] if args.key?(:digest)
1192
+ @name = args[:name] if args.key?(:name)
1193
+ end
1194
+ end
1195
+
1118
1196
  # Container message for hashes of byte content of files, used in source messages
1119
1197
  # to verify integrity of source input to the build.
1120
1198
  class FileHashes
@@ -2953,6 +3031,33 @@ module Google
2953
3031
  end
2954
3032
  end
2955
3033
 
3034
+ #
3035
+ class Risk
3036
+ include Google::Apis::Core::Hashable
3037
+
3038
+ # CISA maintains the authoritative source of vulnerabilities that have been
3039
+ # exploited in the wild.
3040
+ # Corresponds to the JSON property `cisaKev`
3041
+ # @return [Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities]
3042
+ attr_accessor :cisa_kev
3043
+
3044
+ # The Exploit Prediction Scoring System (EPSS) estimates the likelihood (
3045
+ # probability) that a software vulnerability will be exploited in the wild.
3046
+ # Corresponds to the JSON property `epss`
3047
+ # @return [Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem]
3048
+ attr_accessor :epss
3049
+
3050
+ def initialize(**args)
3051
+ update!(**args)
3052
+ end
3053
+
3054
+ # Update properties of this object
3055
+ def update!(**args)
3056
+ @cisa_kev = args[:cisa_kev] if args.key?(:cisa_kev)
3057
+ @epss = args[:epss] if args.key?(:epss)
3058
+ end
3059
+ end
3060
+
2956
3061
  #
2957
3062
  class RunDetails
2958
3063
  include Google::Apis::Core::Hashable
@@ -3974,6 +4079,11 @@ module Google
3974
4079
  # @return [Array<Google::Apis::OndemandscanningV1::RelatedUrl>]
3975
4080
  attr_accessor :related_urls
3976
4081
 
4082
+ # Risk information about the vulnerability, such as CISA, EPSS, etc.
4083
+ # Corresponds to the JSON property `risk`
4084
+ # @return [Google::Apis::OndemandscanningV1::Risk]
4085
+ attr_accessor :risk
4086
+
3977
4087
  # Output only. The note provider assigned severity of this vulnerability.
3978
4088
  # Corresponds to the JSON property `severity`
3979
4089
  # @return [String]
@@ -4012,6 +4122,7 @@ module Google
4012
4122
  @long_description = args[:long_description] if args.key?(:long_description)
4013
4123
  @package_issue = args[:package_issue] if args.key?(:package_issue)
4014
4124
  @related_urls = args[:related_urls] if args.key?(:related_urls)
4125
+ @risk = args[:risk] if args.key?(:risk)
4015
4126
  @severity = args[:severity] if args.key?(:severity)
4016
4127
  @short_description = args[:short_description] if args.key?(:short_description)
4017
4128
  @type = args[:type] if args.key?(:type)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1
18
18
  # Version of the google-apis-ondemandscanning_v1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250505"
25
+ REVISION = "20250815"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class CisaKnownExploitedVulnerabilities
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Cvss
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -196,6 +202,18 @@ module Google
196
202
  include Google::Apis::Core::JsonObjectSupport
197
203
  end
198
204
 
205
+ class ExploitPredictionScoringSystem
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class File
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
199
217
  class FileHashes
200
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
219
 
@@ -472,6 +490,12 @@ module Google
472
490
  include Google::Apis::Core::JsonObjectSupport
473
491
  end
474
492
 
493
+ class Risk
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
475
499
  class RunDetails
476
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
501
 
@@ -786,6 +810,13 @@ module Google
786
810
  end
787
811
  end
788
812
 
813
+ class CisaKnownExploitedVulnerabilities
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ property :known_ransomware_campaign_use, as: 'knownRansomwareCampaignUse'
817
+ end
818
+ end
819
+
789
820
  class Cvss
790
821
  # @private
791
822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -900,6 +931,8 @@ module Google
900
931
  property :archive_time, as: 'archiveTime'
901
932
  property :continuous_analysis, as: 'continuousAnalysis'
902
933
  property :cpe, as: 'cpe'
934
+ collection :files, as: 'files', class: Google::Apis::OndemandscanningV1::File, decorator: Google::Apis::OndemandscanningV1::File::Representation
935
+
903
936
  property :last_scan_time, as: 'lastScanTime'
904
937
  property :sbom_status, as: 'sbomStatus', class: Google::Apis::OndemandscanningV1::SbomStatus, decorator: Google::Apis::OndemandscanningV1::SbomStatus::Representation
905
938
 
@@ -930,6 +963,22 @@ module Google
930
963
  end
931
964
  end
932
965
 
966
+ class ExploitPredictionScoringSystem
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ property :percentile, as: 'percentile'
970
+ property :score, as: 'score'
971
+ end
972
+ end
973
+
974
+ class File
975
+ # @private
976
+ class Representation < Google::Apis::Core::JsonRepresentation
977
+ hash :digest, as: 'digest'
978
+ property :name, as: 'name'
979
+ end
980
+ end
981
+
933
982
  class FileHashes
934
983
  # @private
935
984
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1442,6 +1491,16 @@ module Google
1442
1491
  end
1443
1492
  end
1444
1493
 
1494
+ class Risk
1495
+ # @private
1496
+ class Representation < Google::Apis::Core::JsonRepresentation
1497
+ property :cisa_kev, as: 'cisaKev', class: Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities, decorator: Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities::Representation
1498
+
1499
+ property :epss, as: 'epss', class: Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem, decorator: Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem::Representation
1500
+
1501
+ end
1502
+ end
1503
+
1445
1504
  class RunDetails
1446
1505
  # @private
1447
1506
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1722,6 +1781,8 @@ module Google
1722
1781
 
1723
1782
  collection :related_urls, as: 'relatedUrls', class: Google::Apis::OndemandscanningV1::RelatedUrl, decorator: Google::Apis::OndemandscanningV1::RelatedUrl::Representation
1724
1783
 
1784
+ property :risk, as: 'risk', class: Google::Apis::OndemandscanningV1::Risk, decorator: Google::Apis::OndemandscanningV1::Risk::Representation
1785
+
1725
1786
  property :severity, as: 'severity'
1726
1787
  property :short_description, as: 'shortDescription'
1727
1788
  property :type, as: 'type'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.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-ondemandscanning_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for On-Demand Scanning API V1
79
79
  test_files: []