google-apis-containeranalysis_v1alpha1 0.24.0 → 0.25.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/containeranalysis_v1alpha1/classes.rb +174 -12
- data/lib/google/apis/containeranalysis_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/containeranalysis_v1alpha1/representations.rb +51 -0
- data/lib/google/apis/containeranalysis_v1alpha1/service.rb +27 -18
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd4b847be9fc90ef1247303a1fa7b4f780e70ee4677ce3f0f16856597b9e9c87
|
4
|
+
data.tar.gz: c3d262408823de048d4114ddb3803b96f7d106bf0111ddfc6b4687ba102e455c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f911782bec757bbcbf39f10deadaad1abd4e053f85624451e244fef28cbe8eeb56dee34f73b192f1f44ab48c69c45ec423a97a87c8f69570840c8d9b5e4389c
|
7
|
+
data.tar.gz: 360086d7a4d3d67293c8bf332ef194c7b645a02b9aac53b2ac6ab73999491403d783554cb57bc00db88c3b56d6d18fb809e7299ad415009874d7f5623c6cd771
|
data/CHANGELOG.md
CHANGED
@@ -2349,6 +2349,32 @@ module Google
|
|
2349
2349
|
end
|
2350
2350
|
end
|
2351
2351
|
|
2352
|
+
# Digest information.
|
2353
|
+
class Digest
|
2354
|
+
include Google::Apis::Core::Hashable
|
2355
|
+
|
2356
|
+
# `SHA1`, `SHA512` etc.
|
2357
|
+
# Corresponds to the JSON property `algo`
|
2358
|
+
# @return [String]
|
2359
|
+
attr_accessor :algo
|
2360
|
+
|
2361
|
+
# Value of the digest encoded. For example: SHA512 - base64 encoding, SHA1 - hex
|
2362
|
+
# encoding.
|
2363
|
+
# Corresponds to the JSON property `digestValue`
|
2364
|
+
# @return [String]
|
2365
|
+
attr_accessor :digest_value
|
2366
|
+
|
2367
|
+
def initialize(**args)
|
2368
|
+
update!(**args)
|
2369
|
+
end
|
2370
|
+
|
2371
|
+
# Update properties of this object
|
2372
|
+
def update!(**args)
|
2373
|
+
@algo = args[:algo] if args.key?(:algo)
|
2374
|
+
@digest_value = args[:digest_value] if args.key?(:digest_value)
|
2375
|
+
end
|
2376
|
+
end
|
2377
|
+
|
2352
2378
|
# Provides information about the scan status of a discovered resource.
|
2353
2379
|
class Discovered
|
2354
2380
|
include Google::Apis::Core::Hashable
|
@@ -2785,6 +2811,26 @@ module Google
|
|
2785
2811
|
end
|
2786
2812
|
end
|
2787
2813
|
|
2814
|
+
# Indicates the location at which a package was found.
|
2815
|
+
class FileLocation
|
2816
|
+
include Google::Apis::Core::Hashable
|
2817
|
+
|
2818
|
+
# For jars that are contained inside .war files, this filepath can indicate the
|
2819
|
+
# path to war file combined with the path to jar file.
|
2820
|
+
# Corresponds to the JSON property `filePath`
|
2821
|
+
# @return [String]
|
2822
|
+
attr_accessor :file_path
|
2823
|
+
|
2824
|
+
def initialize(**args)
|
2825
|
+
update!(**args)
|
2826
|
+
end
|
2827
|
+
|
2828
|
+
# Update properties of this object
|
2829
|
+
def update!(**args)
|
2830
|
+
@file_path = args[:file_path] if args.key?(:file_path)
|
2831
|
+
end
|
2832
|
+
end
|
2833
|
+
|
2788
2834
|
# FileNote represents an SPDX File Information section: https://spdx.github.io/
|
2789
2835
|
# spdx-spec/4-file-information/
|
2790
2836
|
class FileNote
|
@@ -2858,8 +2904,7 @@ module Google
|
|
2858
2904
|
# @return [String]
|
2859
2905
|
attr_accessor :id
|
2860
2906
|
|
2861
|
-
# License information
|
2862
|
-
# 315-declared-license
|
2907
|
+
# License information.
|
2863
2908
|
# Corresponds to the JSON property `licenseConcluded`
|
2864
2909
|
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
2865
2910
|
attr_accessor :license_concluded
|
@@ -3343,6 +3388,24 @@ module Google
|
|
3343
3388
|
class Installation
|
3344
3389
|
include Google::Apis::Core::Hashable
|
3345
3390
|
|
3391
|
+
# Output only. The CPU architecture for which packages in this distribution
|
3392
|
+
# channel were built. Architecture will be blank for language packages.
|
3393
|
+
# Corresponds to the JSON property `architecture`
|
3394
|
+
# @return [String]
|
3395
|
+
attr_accessor :architecture
|
3396
|
+
|
3397
|
+
# Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
|
3398
|
+
# denoting the package manager version distributing a package. The cpe_uri will
|
3399
|
+
# be blank for language packages.
|
3400
|
+
# Corresponds to the JSON property `cpeUri`
|
3401
|
+
# @return [String]
|
3402
|
+
attr_accessor :cpe_uri
|
3403
|
+
|
3404
|
+
# License information.
|
3405
|
+
# Corresponds to the JSON property `license`
|
3406
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
3407
|
+
attr_accessor :license
|
3408
|
+
|
3346
3409
|
# All of the places within the filesystem versions of this package have been
|
3347
3410
|
# found.
|
3348
3411
|
# Corresponds to the JSON property `location`
|
@@ -3354,14 +3417,33 @@ module Google
|
|
3354
3417
|
# @return [String]
|
3355
3418
|
attr_accessor :name
|
3356
3419
|
|
3420
|
+
# Output only. The type of package; whether native or non native (e.g., ruby
|
3421
|
+
# gems, node.js packages, etc.).
|
3422
|
+
# Corresponds to the JSON property `packageType`
|
3423
|
+
# @return [String]
|
3424
|
+
attr_accessor :package_type
|
3425
|
+
|
3426
|
+
# Version contains structured information about the version of the package. For
|
3427
|
+
# a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/
|
3428
|
+
# debian-packages-version-convention For a discussion of this in Redhat/Fedora/
|
3429
|
+
# Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
|
3430
|
+
# Corresponds to the JSON property `version`
|
3431
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::Version]
|
3432
|
+
attr_accessor :version
|
3433
|
+
|
3357
3434
|
def initialize(**args)
|
3358
3435
|
update!(**args)
|
3359
3436
|
end
|
3360
3437
|
|
3361
3438
|
# Update properties of this object
|
3362
3439
|
def update!(**args)
|
3440
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
3441
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
3442
|
+
@license = args[:license] if args.key?(:license)
|
3363
3443
|
@location = args[:location] if args.key?(:location)
|
3364
3444
|
@name = args[:name] if args.key?(:name)
|
3445
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
3446
|
+
@version = args[:version] if args.key?(:version)
|
3365
3447
|
end
|
3366
3448
|
end
|
3367
3449
|
|
@@ -3390,8 +3472,7 @@ module Google
|
|
3390
3472
|
end
|
3391
3473
|
end
|
3392
3474
|
|
3393
|
-
# License information
|
3394
|
-
# 315-declared-license
|
3475
|
+
# License information.
|
3395
3476
|
class License
|
3396
3477
|
include Google::Apis::Core::Hashable
|
3397
3478
|
|
@@ -3400,8 +3481,10 @@ module Google
|
|
3400
3481
|
# @return [String]
|
3401
3482
|
attr_accessor :comments
|
3402
3483
|
|
3403
|
-
#
|
3404
|
-
#
|
3484
|
+
# Often a single license can be used to represent the licensing terms. Sometimes
|
3485
|
+
# it is necessary to include a choice of one or more licenses or some
|
3486
|
+
# combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
|
3487
|
+
# 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
|
3405
3488
|
# Corresponds to the JSON property `expression`
|
3406
3489
|
# @return [String]
|
3407
3490
|
attr_accessor :expression
|
@@ -3524,8 +3607,8 @@ module Google
|
|
3524
3607
|
class Location
|
3525
3608
|
include Google::Apis::Core::Hashable
|
3526
3609
|
|
3527
|
-
# The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
|
3528
|
-
# package manager version distributing a package.
|
3610
|
+
# Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
|
3611
|
+
# denoting the package manager version distributing a package.
|
3529
3612
|
# Corresponds to the JSON property `cpeUri`
|
3530
3613
|
# @return [String]
|
3531
3614
|
attr_accessor :cpe_uri
|
@@ -4073,24 +4156,86 @@ module Google
|
|
4073
4156
|
class Package
|
4074
4157
|
include Google::Apis::Core::Hashable
|
4075
4158
|
|
4159
|
+
# The CPU architecture for which packages in this distribution channel were
|
4160
|
+
# built. Architecture will be blank for language packages.
|
4161
|
+
# Corresponds to the JSON property `architecture`
|
4162
|
+
# @return [String]
|
4163
|
+
attr_accessor :architecture
|
4164
|
+
|
4165
|
+
# The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the
|
4166
|
+
# package manager version distributing a package. The cpe_uri will be blank for
|
4167
|
+
# language packages.
|
4168
|
+
# Corresponds to the JSON property `cpeUri`
|
4169
|
+
# @return [String]
|
4170
|
+
attr_accessor :cpe_uri
|
4171
|
+
|
4172
|
+
# The description of this package.
|
4173
|
+
# Corresponds to the JSON property `description`
|
4174
|
+
# @return [String]
|
4175
|
+
attr_accessor :description
|
4176
|
+
|
4177
|
+
# Hash value, typically a file digest, that allows unique identification a
|
4178
|
+
# specific package.
|
4179
|
+
# Corresponds to the JSON property `digest`
|
4180
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Digest>]
|
4181
|
+
attr_accessor :digest
|
4182
|
+
|
4076
4183
|
# The various channels by which a package is distributed.
|
4077
4184
|
# Corresponds to the JSON property `distribution`
|
4078
4185
|
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Distribution>]
|
4079
4186
|
attr_accessor :distribution
|
4080
4187
|
|
4188
|
+
# License information.
|
4189
|
+
# Corresponds to the JSON property `license`
|
4190
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
4191
|
+
attr_accessor :license
|
4192
|
+
|
4193
|
+
# A freeform text denoting the maintainer of this package.
|
4194
|
+
# Corresponds to the JSON property `maintainer`
|
4195
|
+
# @return [String]
|
4196
|
+
attr_accessor :maintainer
|
4197
|
+
|
4081
4198
|
# The name of the package.
|
4082
4199
|
# Corresponds to the JSON property `name`
|
4083
4200
|
# @return [String]
|
4084
4201
|
attr_accessor :name
|
4085
4202
|
|
4203
|
+
# The type of package; whether native or non native (e.g., ruby gems, node.js
|
4204
|
+
# packages, etc.).
|
4205
|
+
# Corresponds to the JSON property `packageType`
|
4206
|
+
# @return [String]
|
4207
|
+
attr_accessor :package_type
|
4208
|
+
|
4209
|
+
# The homepage for this package.
|
4210
|
+
# Corresponds to the JSON property `url`
|
4211
|
+
# @return [String]
|
4212
|
+
attr_accessor :url
|
4213
|
+
|
4214
|
+
# Version contains structured information about the version of the package. For
|
4215
|
+
# a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/
|
4216
|
+
# debian-packages-version-convention For a discussion of this in Redhat/Fedora/
|
4217
|
+
# Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
|
4218
|
+
# Corresponds to the JSON property `version`
|
4219
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::Version]
|
4220
|
+
attr_accessor :version
|
4221
|
+
|
4086
4222
|
def initialize(**args)
|
4087
4223
|
update!(**args)
|
4088
4224
|
end
|
4089
4225
|
|
4090
4226
|
# Update properties of this object
|
4091
4227
|
def update!(**args)
|
4228
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
4229
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
4230
|
+
@description = args[:description] if args.key?(:description)
|
4231
|
+
@digest = args[:digest] if args.key?(:digest)
|
4092
4232
|
@distribution = args[:distribution] if args.key?(:distribution)
|
4233
|
+
@license = args[:license] if args.key?(:license)
|
4234
|
+
@maintainer = args[:maintainer] if args.key?(:maintainer)
|
4093
4235
|
@name = args[:name] if args.key?(:name)
|
4236
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
4237
|
+
@url = args[:url] if args.key?(:url)
|
4238
|
+
@version = args[:version] if args.key?(:version)
|
4094
4239
|
end
|
4095
4240
|
end
|
4096
4241
|
|
@@ -4155,8 +4300,7 @@ module Google
|
|
4155
4300
|
# @return [String]
|
4156
4301
|
attr_accessor :home_page
|
4157
4302
|
|
4158
|
-
# License information
|
4159
|
-
# 315-declared-license
|
4303
|
+
# License information.
|
4160
4304
|
# Corresponds to the JSON property `licenseDeclared`
|
4161
4305
|
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
4162
4306
|
attr_accessor :license_declared
|
@@ -4257,8 +4401,7 @@ module Google
|
|
4257
4401
|
# @return [String]
|
4258
4402
|
attr_accessor :id
|
4259
4403
|
|
4260
|
-
# License information
|
4261
|
-
# 315-declared-license
|
4404
|
+
# License information.
|
4262
4405
|
# Corresponds to the JSON property `licenseConcluded`
|
4263
4406
|
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
4264
4407
|
attr_accessor :license_concluded
|
@@ -5503,6 +5646,11 @@ module Google
|
|
5503
5646
|
# @return [String]
|
5504
5647
|
attr_accessor :cpe_uri
|
5505
5648
|
|
5649
|
+
# The file location at which this package was found.
|
5650
|
+
# Corresponds to the JSON property `fileLocation`
|
5651
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::FileLocation>]
|
5652
|
+
attr_accessor :file_location
|
5653
|
+
|
5506
5654
|
# The package being described.
|
5507
5655
|
# Corresponds to the JSON property `package`
|
5508
5656
|
# @return [String]
|
@@ -5523,6 +5671,7 @@ module Google
|
|
5523
5671
|
# Update properties of this object
|
5524
5672
|
def update!(**args)
|
5525
5673
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
5674
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
5526
5675
|
@package = args[:package] if args.key?(:package)
|
5527
5676
|
@version = args[:version] if args.key?(:version)
|
5528
5677
|
end
|
@@ -5537,6 +5686,17 @@ module Google
|
|
5537
5686
|
# @return [Float]
|
5538
5687
|
attr_accessor :cvss_score
|
5539
5688
|
|
5689
|
+
# Common Vulnerability Scoring System.
|
5690
|
+
# Corresponds to the JSON property `cvssV2`
|
5691
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
|
5692
|
+
attr_accessor :cvss_v2
|
5693
|
+
|
5694
|
+
# A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/
|
5695
|
+
# index.html
|
5696
|
+
# Corresponds to the JSON property `cwe`
|
5697
|
+
# @return [Array<String>]
|
5698
|
+
attr_accessor :cwe
|
5699
|
+
|
5540
5700
|
# All information about the package to specifically identify this vulnerability.
|
5541
5701
|
# One entry per (version range and cpe_uri) the package vulnerability has
|
5542
5702
|
# manifested in.
|
@@ -5556,6 +5716,8 @@ module Google
|
|
5556
5716
|
# Update properties of this object
|
5557
5717
|
def update!(**args)
|
5558
5718
|
@cvss_score = args[:cvss_score] if args.key?(:cvss_score)
|
5719
|
+
@cvss_v2 = args[:cvss_v2] if args.key?(:cvss_v2)
|
5720
|
+
@cwe = args[:cwe] if args.key?(:cwe)
|
5559
5721
|
@details = args[:details] if args.key?(:details)
|
5560
5722
|
@severity = args[:severity] if args.key?(:severity)
|
5561
5723
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220506"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -334,6 +334,12 @@ module Google
|
|
334
334
|
include Google::Apis::Core::JsonObjectSupport
|
335
335
|
end
|
336
336
|
|
337
|
+
class Digest
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
337
343
|
class Discovered
|
338
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
345
|
|
@@ -400,6 +406,12 @@ module Google
|
|
400
406
|
include Google::Apis::Core::JsonObjectSupport
|
401
407
|
end
|
402
408
|
|
409
|
+
class FileLocation
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
403
415
|
class FileNote
|
404
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
417
|
|
@@ -1378,6 +1390,14 @@ module Google
|
|
1378
1390
|
end
|
1379
1391
|
end
|
1380
1392
|
|
1393
|
+
class Digest
|
1394
|
+
# @private
|
1395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1396
|
+
property :algo, as: 'algo'
|
1397
|
+
property :digest_value, as: 'digestValue'
|
1398
|
+
end
|
1399
|
+
end
|
1400
|
+
|
1381
1401
|
class Discovered
|
1382
1402
|
# @private
|
1383
1403
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1488,6 +1508,13 @@ module Google
|
|
1488
1508
|
end
|
1489
1509
|
end
|
1490
1510
|
|
1511
|
+
class FileLocation
|
1512
|
+
# @private
|
1513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1514
|
+
property :file_path, as: 'filePath'
|
1515
|
+
end
|
1516
|
+
end
|
1517
|
+
|
1491
1518
|
class FileNote
|
1492
1519
|
# @private
|
1493
1520
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1658,9 +1685,16 @@ module Google
|
|
1658
1685
|
class Installation
|
1659
1686
|
# @private
|
1660
1687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1688
|
+
property :architecture, as: 'architecture'
|
1689
|
+
property :cpe_uri, as: 'cpeUri'
|
1690
|
+
property :license, as: 'license', class: Google::Apis::ContaineranalysisV1alpha1::License, decorator: Google::Apis::ContaineranalysisV1alpha1::License::Representation
|
1691
|
+
|
1661
1692
|
collection :location, as: 'location', class: Google::Apis::ContaineranalysisV1alpha1::Location, decorator: Google::Apis::ContaineranalysisV1alpha1::Location::Representation
|
1662
1693
|
|
1663
1694
|
property :name, as: 'name'
|
1695
|
+
property :package_type, as: 'packageType'
|
1696
|
+
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
|
1697
|
+
|
1664
1698
|
end
|
1665
1699
|
end
|
1666
1700
|
|
@@ -1858,9 +1892,21 @@ module Google
|
|
1858
1892
|
class Package
|
1859
1893
|
# @private
|
1860
1894
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1895
|
+
property :architecture, as: 'architecture'
|
1896
|
+
property :cpe_uri, as: 'cpeUri'
|
1897
|
+
property :description, as: 'description'
|
1898
|
+
collection :digest, as: 'digest', class: Google::Apis::ContaineranalysisV1alpha1::Digest, decorator: Google::Apis::ContaineranalysisV1alpha1::Digest::Representation
|
1899
|
+
|
1861
1900
|
collection :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1alpha1::Distribution, decorator: Google::Apis::ContaineranalysisV1alpha1::Distribution::Representation
|
1862
1901
|
|
1902
|
+
property :license, as: 'license', class: Google::Apis::ContaineranalysisV1alpha1::License, decorator: Google::Apis::ContaineranalysisV1alpha1::License::Representation
|
1903
|
+
|
1904
|
+
property :maintainer, as: 'maintainer'
|
1863
1905
|
property :name, as: 'name'
|
1906
|
+
property :package_type, as: 'packageType'
|
1907
|
+
property :url, as: 'url'
|
1908
|
+
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
|
1909
|
+
|
1864
1910
|
end
|
1865
1911
|
end
|
1866
1912
|
|
@@ -2203,6 +2249,8 @@ module Google
|
|
2203
2249
|
# @private
|
2204
2250
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2205
2251
|
property :cpe_uri, as: 'cpeUri'
|
2252
|
+
collection :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1alpha1::FileLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::FileLocation::Representation
|
2253
|
+
|
2206
2254
|
property :package, as: 'package'
|
2207
2255
|
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
|
2208
2256
|
|
@@ -2213,6 +2261,9 @@ module Google
|
|
2213
2261
|
# @private
|
2214
2262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2215
2263
|
property :cvss_score, as: 'cvssScore'
|
2264
|
+
property :cvss_v2, as: 'cvssV2', class: Google::Apis::ContaineranalysisV1alpha1::Cvss, decorator: Google::Apis::ContaineranalysisV1alpha1::Cvss::Representation
|
2265
|
+
|
2266
|
+
collection :cwe, as: 'cwe'
|
2216
2267
|
collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1alpha1::Detail, decorator: Google::Apis::ContaineranalysisV1alpha1::Detail::Representation
|
2217
2268
|
|
2218
2269
|
property :severity, as: 'severity'
|
@@ -161,8 +161,9 @@ module Google
|
|
161
161
|
# occurrences/`OCCURRENCE_ID`` for occurrences and projects/`PROJECT_ID`/notes/`
|
162
162
|
# NOTE_ID` for notes
|
163
163
|
# @param [String] resource
|
164
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
165
|
-
#
|
164
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
165
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
166
|
+
# appropriate value for this field.
|
166
167
|
# @param [Google::Apis::ContaineranalysisV1alpha1::GetIamPolicyRequest] get_iam_policy_request_object
|
167
168
|
# @param [String] fields
|
168
169
|
# Selector specifying which fields to include in a partial response.
|
@@ -285,8 +286,9 @@ module Google
|
|
285
286
|
# projects/`projectid`/occurrences/`occurrenceid`` for occurrences and projects/`
|
286
287
|
# projectid`/notes/`noteid` for notes
|
287
288
|
# @param [String] resource
|
288
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
289
|
-
#
|
289
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
290
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
291
|
+
# appropriate value for this field.
|
290
292
|
# @param [Google::Apis::ContaineranalysisV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
291
293
|
# @param [String] fields
|
292
294
|
# Selector specifying which fields to include in a partial response.
|
@@ -326,8 +328,9 @@ module Google
|
|
326
328
|
# projects/`PROJECT_ID`/occurrences/`OCCURRENCE_ID`` for `Occurrences` and `
|
327
329
|
# projects/`PROJECT_ID`/notes/`NOTE_ID`` for `Notes`
|
328
330
|
# @param [String] resource
|
329
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
330
|
-
#
|
331
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
332
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
333
|
+
# appropriate value for this field.
|
331
334
|
# @param [Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
332
335
|
# @param [String] fields
|
333
336
|
# Selector specifying which fields to include in a partial response.
|
@@ -511,8 +514,9 @@ module Google
|
|
511
514
|
# occurrences/`OCCURRENCE_ID`` for occurrences and projects/`PROJECT_ID`/notes/`
|
512
515
|
# NOTE_ID` for notes
|
513
516
|
# @param [String] resource
|
514
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
515
|
-
#
|
517
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
518
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
519
|
+
# appropriate value for this field.
|
516
520
|
# @param [Google::Apis::ContaineranalysisV1alpha1::GetIamPolicyRequest] get_iam_policy_request_object
|
517
521
|
# @param [String] fields
|
518
522
|
# Selector specifying which fields to include in a partial response.
|
@@ -702,8 +706,9 @@ module Google
|
|
702
706
|
# projects/`projectid`/occurrences/`occurrenceid`` for occurrences and projects/`
|
703
707
|
# projectid`/notes/`noteid` for notes
|
704
708
|
# @param [String] resource
|
705
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
706
|
-
#
|
709
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
710
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
711
|
+
# appropriate value for this field.
|
707
712
|
# @param [Google::Apis::ContaineranalysisV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
708
713
|
# @param [String] fields
|
709
714
|
# Selector specifying which fields to include in a partial response.
|
@@ -743,8 +748,9 @@ module Google
|
|
743
748
|
# projects/`PROJECT_ID`/occurrences/`OCCURRENCE_ID`` for `Occurrences` and `
|
744
749
|
# projects/`PROJECT_ID`/notes/`NOTE_ID`` for `Notes`
|
745
750
|
# @param [String] resource
|
746
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
747
|
-
#
|
751
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
752
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
753
|
+
# appropriate value for this field.
|
748
754
|
# @param [Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
749
755
|
# @param [String] fields
|
750
756
|
# Selector specifying which fields to include in a partial response.
|
@@ -1061,8 +1067,9 @@ module Google
|
|
1061
1067
|
# occurrences/`OCCURRENCE_ID`` for occurrences and projects/`PROJECT_ID`/notes/`
|
1062
1068
|
# NOTE_ID` for notes
|
1063
1069
|
# @param [String] resource
|
1064
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1065
|
-
#
|
1070
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1071
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1072
|
+
# appropriate value for this field.
|
1066
1073
|
# @param [Google::Apis::ContaineranalysisV1alpha1::GetIamPolicyRequest] get_iam_policy_request_object
|
1067
1074
|
# @param [String] fields
|
1068
1075
|
# Selector specifying which fields to include in a partial response.
|
@@ -1185,8 +1192,9 @@ module Google
|
|
1185
1192
|
# projects/`projectid`/occurrences/`occurrenceid`` for occurrences and projects/`
|
1186
1193
|
# projectid`/notes/`noteid` for notes
|
1187
1194
|
# @param [String] resource
|
1188
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1189
|
-
#
|
1195
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1196
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1197
|
+
# appropriate value for this field.
|
1190
1198
|
# @param [Google::Apis::ContaineranalysisV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
1191
1199
|
# @param [String] fields
|
1192
1200
|
# Selector specifying which fields to include in a partial response.
|
@@ -1226,8 +1234,9 @@ module Google
|
|
1226
1234
|
# projects/`PROJECT_ID`/occurrences/`OCCURRENCE_ID`` for `Occurrences` and `
|
1227
1235
|
# projects/`PROJECT_ID`/notes/`NOTE_ID`` for `Notes`
|
1228
1236
|
# @param [String] resource
|
1229
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1230
|
-
#
|
1237
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1238
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1239
|
+
# appropriate value for this field.
|
1231
1240
|
# @param [Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1232
1241
|
# @param [String] fields
|
1233
1242
|
# Selector specifying which fields to include in a partial response.
|
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.
|
4
|
+
version: 0.25.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: 2022-
|
11
|
+
date: 2022-05-16 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-containeranalysis_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|