google-apis-ondemandscanning_v1 0.34.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffb3d01999ccc34a223bf5fbd8058af07971a8e0988f2de07dd16a7198bb7e3f
|
4
|
+
data.tar.gz: a745bdfb6abc64d010092a2cef6a0c7f04963a0d16beb1e6cbd29bf96c7d2fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12b707cd8d33cffcf20e2719b431b33b59dd9c444738f4039f7f17421134c54df1c23dfb9ed12818cc3476a7382168fc6e4396aae955afdc378d3ce0ff82b9c6
|
7
|
+
data.tar.gz: aa4ba0536966b118bc81e9ec01aa8d5b478974d70ccf5ea22a1bf2d270db996571abdc311bf1351b6620fe899f523bd262228504a98c9f9ff284c073493f7b63
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.36.0 (2023-04-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230327
|
6
|
+
|
7
|
+
### v0.35.0 (2023-03-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230313
|
10
|
+
|
3
11
|
### v0.34.0 (2023-03-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230306
|
@@ -277,6 +277,31 @@ module Google
|
|
277
277
|
end
|
278
278
|
end
|
279
279
|
|
280
|
+
#
|
281
|
+
class Binary
|
282
|
+
include Google::Apis::Core::Hashable
|
283
|
+
|
284
|
+
#
|
285
|
+
# Corresponds to the JSON property `name`
|
286
|
+
# @return [String]
|
287
|
+
attr_accessor :name
|
288
|
+
|
289
|
+
#
|
290
|
+
# Corresponds to the JSON property `version`
|
291
|
+
# @return [String]
|
292
|
+
attr_accessor :version
|
293
|
+
|
294
|
+
def initialize(**args)
|
295
|
+
update!(**args)
|
296
|
+
end
|
297
|
+
|
298
|
+
# Update properties of this object
|
299
|
+
def update!(**args)
|
300
|
+
@name = args[:name] if args.key?(:name)
|
301
|
+
@version = args[:version] if args.key?(:version)
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
280
305
|
# Details of a build occurrence.
|
281
306
|
class BuildOccurrence
|
282
307
|
include Google::Apis::Core::Hashable
|
@@ -1461,6 +1486,32 @@ module Google
|
|
1461
1486
|
end
|
1462
1487
|
end
|
1463
1488
|
|
1489
|
+
# Justification provides the justification when the state of the assessment if
|
1490
|
+
# NOT_AFFECTED.
|
1491
|
+
class Justification
|
1492
|
+
include Google::Apis::Core::Hashable
|
1493
|
+
|
1494
|
+
# Additional details on why this justification was chosen.
|
1495
|
+
# Corresponds to the JSON property `details`
|
1496
|
+
# @return [String]
|
1497
|
+
attr_accessor :details
|
1498
|
+
|
1499
|
+
# The justification type for this vulnerability.
|
1500
|
+
# Corresponds to the JSON property `justificationType`
|
1501
|
+
# @return [String]
|
1502
|
+
attr_accessor :justification_type
|
1503
|
+
|
1504
|
+
def initialize(**args)
|
1505
|
+
update!(**args)
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
# Update properties of this object
|
1509
|
+
def update!(**args)
|
1510
|
+
@details = args[:details] if args.key?(:details)
|
1511
|
+
@justification_type = args[:justification_type] if args.key?(:justification_type)
|
1512
|
+
end
|
1513
|
+
end
|
1514
|
+
|
1464
1515
|
#
|
1465
1516
|
class Jwt
|
1466
1517
|
include Google::Apis::Core::Hashable
|
@@ -1990,6 +2041,15 @@ module Google
|
|
1990
2041
|
# @return [String]
|
1991
2042
|
attr_accessor :architecture
|
1992
2043
|
|
2044
|
+
# The binary package. This is significant when the source is different than the
|
2045
|
+
# binary itself. Historically if they've differed, we've stored the name of the
|
2046
|
+
# source and its version in the package/version fields, but we should also store
|
2047
|
+
# the binary package info, as that's what's actually installed. See https://b.
|
2048
|
+
# corp.google.com/issues/175908657#comment15
|
2049
|
+
# Corresponds to the JSON property `binary`
|
2050
|
+
# @return [Google::Apis::OndemandscanningV1::Binary]
|
2051
|
+
attr_accessor :binary
|
2052
|
+
|
1993
2053
|
# The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which
|
1994
2054
|
# the vulnerability may manifest. Examples include distro or storage location
|
1995
2055
|
# for vulnerable jar.
|
@@ -2064,6 +2124,7 @@ module Google
|
|
2064
2124
|
# Update properties of this object
|
2065
2125
|
def update!(**args)
|
2066
2126
|
@architecture = args[:architecture] if args.key?(:architecture)
|
2127
|
+
@binary = args[:binary] if args.key?(:binary)
|
2067
2128
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
2068
2129
|
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
|
2069
2130
|
@file_location = args[:file_location] if args.key?(:file_location)
|
@@ -2331,6 +2392,37 @@ module Google
|
|
2331
2392
|
end
|
2332
2393
|
end
|
2333
2394
|
|
2395
|
+
# Specifies details on how to handle (and presumably, fix) a vulnerability.
|
2396
|
+
class Remediation
|
2397
|
+
include Google::Apis::Core::Hashable
|
2398
|
+
|
2399
|
+
# Contains a comprehensive human-readable discussion of the remediation.
|
2400
|
+
# Corresponds to the JSON property `details`
|
2401
|
+
# @return [String]
|
2402
|
+
attr_accessor :details
|
2403
|
+
|
2404
|
+
# The type of remediation that can be applied.
|
2405
|
+
# Corresponds to the JSON property `remediationType`
|
2406
|
+
# @return [String]
|
2407
|
+
attr_accessor :remediation_type
|
2408
|
+
|
2409
|
+
# Metadata for any related URL information.
|
2410
|
+
# Corresponds to the JSON property `remediationUri`
|
2411
|
+
# @return [Google::Apis::OndemandscanningV1::RelatedUrl]
|
2412
|
+
attr_accessor :remediation_uri
|
2413
|
+
|
2414
|
+
def initialize(**args)
|
2415
|
+
update!(**args)
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
# Update properties of this object
|
2419
|
+
def update!(**args)
|
2420
|
+
@details = args[:details] if args.key?(:details)
|
2421
|
+
@remediation_type = args[:remediation_type] if args.key?(:remediation_type)
|
2422
|
+
@remediation_uri = args[:remediation_uri] if args.key?(:remediation_uri)
|
2423
|
+
end
|
2424
|
+
end
|
2425
|
+
|
2334
2426
|
# A unique identifier for a Cloud Repo.
|
2335
2427
|
class RepoId
|
2336
2428
|
include Google::Apis::Core::Hashable
|
@@ -2961,6 +3053,67 @@ module Google
|
|
2961
3053
|
end
|
2962
3054
|
end
|
2963
3055
|
|
3056
|
+
# VexAssessment provides all publisher provided Vex information that is related
|
3057
|
+
# to this vulnerability.
|
3058
|
+
class VexAssessment
|
3059
|
+
include Google::Apis::Core::Hashable
|
3060
|
+
|
3061
|
+
# Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
|
3062
|
+
# number for the vulnerability.
|
3063
|
+
# Corresponds to the JSON property `cve`
|
3064
|
+
# @return [String]
|
3065
|
+
attr_accessor :cve
|
3066
|
+
|
3067
|
+
# Contains information about the impact of this vulnerability, this will change
|
3068
|
+
# with time.
|
3069
|
+
# Corresponds to the JSON property `impacts`
|
3070
|
+
# @return [Array<String>]
|
3071
|
+
attr_accessor :impacts
|
3072
|
+
|
3073
|
+
# Justification provides the justification when the state of the assessment if
|
3074
|
+
# NOT_AFFECTED.
|
3075
|
+
# Corresponds to the JSON property `justification`
|
3076
|
+
# @return [Google::Apis::OndemandscanningV1::Justification]
|
3077
|
+
attr_accessor :justification
|
3078
|
+
|
3079
|
+
# The VulnerabilityAssessment note from which this VexAssessment was generated.
|
3080
|
+
# This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
|
3081
|
+
# Corresponds to the JSON property `noteName`
|
3082
|
+
# @return [String]
|
3083
|
+
attr_accessor :note_name
|
3084
|
+
|
3085
|
+
# Holds a list of references associated with this vulnerability item and
|
3086
|
+
# assessment.
|
3087
|
+
# Corresponds to the JSON property `relatedUris`
|
3088
|
+
# @return [Array<Google::Apis::OndemandscanningV1::RelatedUrl>]
|
3089
|
+
attr_accessor :related_uris
|
3090
|
+
|
3091
|
+
# Specifies details on how to handle (and presumably, fix) a vulnerability.
|
3092
|
+
# Corresponds to the JSON property `remediations`
|
3093
|
+
# @return [Array<Google::Apis::OndemandscanningV1::Remediation>]
|
3094
|
+
attr_accessor :remediations
|
3095
|
+
|
3096
|
+
# Provides the state of this Vulnerability assessment.
|
3097
|
+
# Corresponds to the JSON property `state`
|
3098
|
+
# @return [String]
|
3099
|
+
attr_accessor :state
|
3100
|
+
|
3101
|
+
def initialize(**args)
|
3102
|
+
update!(**args)
|
3103
|
+
end
|
3104
|
+
|
3105
|
+
# Update properties of this object
|
3106
|
+
def update!(**args)
|
3107
|
+
@cve = args[:cve] if args.key?(:cve)
|
3108
|
+
@impacts = args[:impacts] if args.key?(:impacts)
|
3109
|
+
@justification = args[:justification] if args.key?(:justification)
|
3110
|
+
@note_name = args[:note_name] if args.key?(:note_name)
|
3111
|
+
@related_uris = args[:related_uris] if args.key?(:related_uris)
|
3112
|
+
@remediations = args[:remediations] if args.key?(:remediations)
|
3113
|
+
@state = args[:state] if args.key?(:state)
|
3114
|
+
end
|
3115
|
+
end
|
3116
|
+
|
2964
3117
|
# An occurrence of a severity vulnerability on a resource.
|
2965
3118
|
class VulnerabilityOccurrence
|
2966
3119
|
include Google::Apis::Core::Hashable
|
@@ -3042,6 +3195,12 @@ module Google
|
|
3042
3195
|
# @return [String]
|
3043
3196
|
attr_accessor :type
|
3044
3197
|
|
3198
|
+
# VexAssessment provides all publisher provided Vex information that is related
|
3199
|
+
# to this vulnerability.
|
3200
|
+
# Corresponds to the JSON property `vexAssessment`
|
3201
|
+
# @return [Google::Apis::OndemandscanningV1::VexAssessment]
|
3202
|
+
attr_accessor :vex_assessment
|
3203
|
+
|
3045
3204
|
def initialize(**args)
|
3046
3205
|
update!(**args)
|
3047
3206
|
end
|
@@ -3060,6 +3219,7 @@ module Google
|
|
3060
3219
|
@severity = args[:severity] if args.key?(:severity)
|
3061
3220
|
@short_description = args[:short_description] if args.key?(:short_description)
|
3062
3221
|
@type = args[:type] if args.key?(:type)
|
3222
|
+
@vex_assessment = args[:vex_assessment] if args.key?(:vex_assessment)
|
3063
3223
|
end
|
3064
3224
|
end
|
3065
3225
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230327"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class Binary
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class BuildOccurrence
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -268,6 +274,12 @@ module Google
|
|
268
274
|
include Google::Apis::Core::JsonObjectSupport
|
269
275
|
end
|
270
276
|
|
277
|
+
class Justification
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
271
283
|
class Jwt
|
272
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
285
|
|
@@ -382,6 +394,12 @@ module Google
|
|
382
394
|
include Google::Apis::Core::JsonObjectSupport
|
383
395
|
end
|
384
396
|
|
397
|
+
class Remediation
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
385
403
|
class RepoId
|
386
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
405
|
|
@@ -472,6 +490,12 @@ module Google
|
|
472
490
|
include Google::Apis::Core::JsonObjectSupport
|
473
491
|
end
|
474
492
|
|
493
|
+
class VexAssessment
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
475
499
|
class VulnerabilityOccurrence
|
476
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
501
|
|
@@ -559,6 +583,14 @@ module Google
|
|
559
583
|
end
|
560
584
|
end
|
561
585
|
|
586
|
+
class Binary
|
587
|
+
# @private
|
588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
+
property :name, as: 'name'
|
590
|
+
property :version, as: 'version'
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
562
594
|
class BuildOccurrence
|
563
595
|
# @private
|
564
596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -894,6 +926,14 @@ module Google
|
|
894
926
|
end
|
895
927
|
end
|
896
928
|
|
929
|
+
class Justification
|
930
|
+
# @private
|
931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
932
|
+
property :details, as: 'details'
|
933
|
+
property :justification_type, as: 'justificationType'
|
934
|
+
end
|
935
|
+
end
|
936
|
+
|
897
937
|
class Jwt
|
898
938
|
# @private
|
899
939
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1041,6 +1081,8 @@ module Google
|
|
1041
1081
|
# @private
|
1042
1082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1043
1083
|
property :architecture, as: 'architecture'
|
1084
|
+
property :binary, as: 'binary', class: Google::Apis::OndemandscanningV1::Binary, decorator: Google::Apis::OndemandscanningV1::Binary::Representation
|
1085
|
+
|
1044
1086
|
property :cpe_uri, as: 'cpeUri'
|
1045
1087
|
collection :dependency_chain, as: 'dependencyChain', class: Google::Apis::OndemandscanningV1::LanguagePackageDependency, decorator: Google::Apis::OndemandscanningV1::LanguagePackageDependency::Representation
|
1046
1088
|
|
@@ -1121,6 +1163,16 @@ module Google
|
|
1121
1163
|
end
|
1122
1164
|
end
|
1123
1165
|
|
1166
|
+
class Remediation
|
1167
|
+
# @private
|
1168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1169
|
+
property :details, as: 'details'
|
1170
|
+
property :remediation_type, as: 'remediationType'
|
1171
|
+
property :remediation_uri, as: 'remediationUri', class: Google::Apis::OndemandscanningV1::RelatedUrl, decorator: Google::Apis::OndemandscanningV1::RelatedUrl::Representation
|
1172
|
+
|
1173
|
+
end
|
1174
|
+
end
|
1175
|
+
|
1124
1176
|
class RepoId
|
1125
1177
|
# @private
|
1126
1178
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1285,6 +1337,22 @@ module Google
|
|
1285
1337
|
end
|
1286
1338
|
end
|
1287
1339
|
|
1340
|
+
class VexAssessment
|
1341
|
+
# @private
|
1342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1343
|
+
property :cve, as: 'cve'
|
1344
|
+
collection :impacts, as: 'impacts'
|
1345
|
+
property :justification, as: 'justification', class: Google::Apis::OndemandscanningV1::Justification, decorator: Google::Apis::OndemandscanningV1::Justification::Representation
|
1346
|
+
|
1347
|
+
property :note_name, as: 'noteName'
|
1348
|
+
collection :related_uris, as: 'relatedUris', class: Google::Apis::OndemandscanningV1::RelatedUrl, decorator: Google::Apis::OndemandscanningV1::RelatedUrl::Representation
|
1349
|
+
|
1350
|
+
collection :remediations, as: 'remediations', class: Google::Apis::OndemandscanningV1::Remediation, decorator: Google::Apis::OndemandscanningV1::Remediation::Representation
|
1351
|
+
|
1352
|
+
property :state, as: 'state'
|
1353
|
+
end
|
1354
|
+
end
|
1355
|
+
|
1288
1356
|
class VulnerabilityOccurrence
|
1289
1357
|
# @private
|
1290
1358
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1304,6 +1372,8 @@ module Google
|
|
1304
1372
|
property :severity, as: 'severity'
|
1305
1373
|
property :short_description, as: 'shortDescription'
|
1306
1374
|
property :type, as: 'type'
|
1375
|
+
property :vex_assessment, as: 'vexAssessment', class: Google::Apis::OndemandscanningV1::VexAssessment, decorator: Google::Apis::OndemandscanningV1::VexAssessment::Representation
|
1376
|
+
|
1307
1377
|
end
|
1308
1378
|
end
|
1309
1379
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ondemandscanning_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.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: 2023-
|
11
|
+
date: 2023-04-02 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/main/generated/google-apis-ondemandscanning_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|