google-apis-containeranalysis_v1alpha1 0.23.0 → 0.26.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 +12 -0
- data/lib/google/apis/containeranalysis_v1alpha1/classes.rb +200 -25
- 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: 12657fa22ede34e94a232186c666d00ddbfe53fbdb904bfe951d07f2b4ad2d23
|
4
|
+
data.tar.gz: 2ad476931c29fac17fe1b85977c54134b32424d67a9a41f2b5eb0759e69abbf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d31c4d9f685c4c0231dafff5cbb79b05ce7d5e94ed04c54b12b0e5b13c2def0150a0a25ea9642ee983b0026db454188c3055a9c2033fcda0a476d1bb4807b78
|
7
|
+
data.tar.gz: f37ade85839444c82d95f34e78a7b13b04f6cfe09577a77051c23e473d03b28e80a66262dde2f6b15976550809718f4b2cb91b0c5a1746e37a77c39351df087e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1alpha1
|
2
2
|
|
3
|
+
### v0.26.0 (2022-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220513
|
6
|
+
|
7
|
+
### v0.25.0 (2022-05-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220506
|
10
|
+
|
11
|
+
### v0.24.0 (2022-04-21)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220414
|
14
|
+
|
3
15
|
### v0.23.0 (2022-03-23)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220318
|
@@ -207,7 +207,7 @@ module Google
|
|
207
207
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Expr]
|
208
208
|
attr_accessor :condition
|
209
209
|
|
210
|
-
# Specifies the principals requesting access for a Cloud
|
210
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
211
211
|
# members` can have the following values: * `allUsers`: A special identifier
|
212
212
|
# that represents anyone who is on the internet; with or without a Google
|
213
213
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -492,27 +492,32 @@ module Google
|
|
492
492
|
end
|
493
493
|
end
|
494
494
|
|
495
|
-
# Common Vulnerability Scoring System.
|
495
|
+
# Common Vulnerability Scoring System. This message is compatible with CVSS v2
|
496
|
+
# and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
|
497
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
|
498
|
+
# details, see https://www.first.org/cvss/specification-document CVSS v3
|
499
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
|
496
500
|
class Cvss
|
497
501
|
include Google::Apis::Core::Hashable
|
498
502
|
|
499
|
-
#
|
503
|
+
# Defined in CVSS v3, CVSS v2
|
500
504
|
# Corresponds to the JSON property `attackComplexity`
|
501
505
|
# @return [String]
|
502
506
|
attr_accessor :attack_complexity
|
503
507
|
|
504
508
|
# Base Metrics Represents the intrinsic characteristics of a vulnerability that
|
505
|
-
# are constant over time and across user environments.
|
509
|
+
# are constant over time and across user environments. Defined in CVSS v3, CVSS
|
510
|
+
# v2
|
506
511
|
# Corresponds to the JSON property `attackVector`
|
507
512
|
# @return [String]
|
508
513
|
attr_accessor :attack_vector
|
509
514
|
|
510
|
-
#
|
515
|
+
# Defined in CVSS v2
|
511
516
|
# Corresponds to the JSON property `authentication`
|
512
517
|
# @return [String]
|
513
518
|
attr_accessor :authentication
|
514
519
|
|
515
|
-
#
|
520
|
+
# Defined in CVSS v3, CVSS v2
|
516
521
|
# Corresponds to the JSON property `availabilityImpact`
|
517
522
|
# @return [String]
|
518
523
|
attr_accessor :availability_impact
|
@@ -522,7 +527,7 @@ module Google
|
|
522
527
|
# @return [Float]
|
523
528
|
attr_accessor :base_score
|
524
529
|
|
525
|
-
#
|
530
|
+
# Defined in CVSS v3, CVSS v2
|
526
531
|
# Corresponds to the JSON property `confidentialityImpact`
|
527
532
|
# @return [String]
|
528
533
|
attr_accessor :confidentiality_impact
|
@@ -537,22 +542,22 @@ module Google
|
|
537
542
|
# @return [Float]
|
538
543
|
attr_accessor :impact_score
|
539
544
|
|
540
|
-
#
|
545
|
+
# Defined in CVSS v3, CVSS v2
|
541
546
|
# Corresponds to the JSON property `integrityImpact`
|
542
547
|
# @return [String]
|
543
548
|
attr_accessor :integrity_impact
|
544
549
|
|
545
|
-
#
|
550
|
+
# Defined in CVSS v3
|
546
551
|
# Corresponds to the JSON property `privilegesRequired`
|
547
552
|
# @return [String]
|
548
553
|
attr_accessor :privileges_required
|
549
554
|
|
550
|
-
#
|
555
|
+
# Defined in CVSS v3
|
551
556
|
# Corresponds to the JSON property `scope`
|
552
557
|
# @return [String]
|
553
558
|
attr_accessor :scope
|
554
559
|
|
555
|
-
#
|
560
|
+
# Defined in CVSS v3
|
556
561
|
# Corresponds to the JSON property `userInteraction`
|
557
562
|
# @return [String]
|
558
563
|
attr_accessor :user_interaction
|
@@ -2349,6 +2354,32 @@ module Google
|
|
2349
2354
|
end
|
2350
2355
|
end
|
2351
2356
|
|
2357
|
+
# Digest information.
|
2358
|
+
class Digest
|
2359
|
+
include Google::Apis::Core::Hashable
|
2360
|
+
|
2361
|
+
# `SHA1`, `SHA512` etc.
|
2362
|
+
# Corresponds to the JSON property `algo`
|
2363
|
+
# @return [String]
|
2364
|
+
attr_accessor :algo
|
2365
|
+
|
2366
|
+
# Value of the digest encoded. For example: SHA512 - base64 encoding, SHA1 - hex
|
2367
|
+
# encoding.
|
2368
|
+
# Corresponds to the JSON property `digestValue`
|
2369
|
+
# @return [String]
|
2370
|
+
attr_accessor :digest_value
|
2371
|
+
|
2372
|
+
def initialize(**args)
|
2373
|
+
update!(**args)
|
2374
|
+
end
|
2375
|
+
|
2376
|
+
# Update properties of this object
|
2377
|
+
def update!(**args)
|
2378
|
+
@algo = args[:algo] if args.key?(:algo)
|
2379
|
+
@digest_value = args[:digest_value] if args.key?(:digest_value)
|
2380
|
+
end
|
2381
|
+
end
|
2382
|
+
|
2352
2383
|
# Provides information about the scan status of a discovered resource.
|
2353
2384
|
class Discovered
|
2354
2385
|
include Google::Apis::Core::Hashable
|
@@ -2785,6 +2816,26 @@ module Google
|
|
2785
2816
|
end
|
2786
2817
|
end
|
2787
2818
|
|
2819
|
+
# Indicates the location at which a package was found.
|
2820
|
+
class FileLocation
|
2821
|
+
include Google::Apis::Core::Hashable
|
2822
|
+
|
2823
|
+
# For jars that are contained inside .war files, this filepath can indicate the
|
2824
|
+
# path to war file combined with the path to jar file.
|
2825
|
+
# Corresponds to the JSON property `filePath`
|
2826
|
+
# @return [String]
|
2827
|
+
attr_accessor :file_path
|
2828
|
+
|
2829
|
+
def initialize(**args)
|
2830
|
+
update!(**args)
|
2831
|
+
end
|
2832
|
+
|
2833
|
+
# Update properties of this object
|
2834
|
+
def update!(**args)
|
2835
|
+
@file_path = args[:file_path] if args.key?(:file_path)
|
2836
|
+
end
|
2837
|
+
end
|
2838
|
+
|
2788
2839
|
# FileNote represents an SPDX File Information section: https://spdx.github.io/
|
2789
2840
|
# spdx-spec/4-file-information/
|
2790
2841
|
class FileNote
|
@@ -2858,8 +2909,7 @@ module Google
|
|
2858
2909
|
# @return [String]
|
2859
2910
|
attr_accessor :id
|
2860
2911
|
|
2861
|
-
# License information
|
2862
|
-
# 315-declared-license
|
2912
|
+
# License information.
|
2863
2913
|
# Corresponds to the JSON property `licenseConcluded`
|
2864
2914
|
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
2865
2915
|
attr_accessor :license_concluded
|
@@ -3343,6 +3393,24 @@ module Google
|
|
3343
3393
|
class Installation
|
3344
3394
|
include Google::Apis::Core::Hashable
|
3345
3395
|
|
3396
|
+
# Output only. The CPU architecture for which packages in this distribution
|
3397
|
+
# channel were built. Architecture will be blank for language packages.
|
3398
|
+
# Corresponds to the JSON property `architecture`
|
3399
|
+
# @return [String]
|
3400
|
+
attr_accessor :architecture
|
3401
|
+
|
3402
|
+
# Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
|
3403
|
+
# denoting the package manager version distributing a package. The cpe_uri will
|
3404
|
+
# be blank for language packages.
|
3405
|
+
# Corresponds to the JSON property `cpeUri`
|
3406
|
+
# @return [String]
|
3407
|
+
attr_accessor :cpe_uri
|
3408
|
+
|
3409
|
+
# License information.
|
3410
|
+
# Corresponds to the JSON property `license`
|
3411
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
3412
|
+
attr_accessor :license
|
3413
|
+
|
3346
3414
|
# All of the places within the filesystem versions of this package have been
|
3347
3415
|
# found.
|
3348
3416
|
# Corresponds to the JSON property `location`
|
@@ -3354,14 +3422,33 @@ module Google
|
|
3354
3422
|
# @return [String]
|
3355
3423
|
attr_accessor :name
|
3356
3424
|
|
3425
|
+
# Output only. The type of package; whether native or non native (e.g., ruby
|
3426
|
+
# gems, node.js packages, etc.).
|
3427
|
+
# Corresponds to the JSON property `packageType`
|
3428
|
+
# @return [String]
|
3429
|
+
attr_accessor :package_type
|
3430
|
+
|
3431
|
+
# Version contains structured information about the version of the package. For
|
3432
|
+
# a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/
|
3433
|
+
# debian-packages-version-convention For a discussion of this in Redhat/Fedora/
|
3434
|
+
# Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
|
3435
|
+
# Corresponds to the JSON property `version`
|
3436
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::Version]
|
3437
|
+
attr_accessor :version
|
3438
|
+
|
3357
3439
|
def initialize(**args)
|
3358
3440
|
update!(**args)
|
3359
3441
|
end
|
3360
3442
|
|
3361
3443
|
# Update properties of this object
|
3362
3444
|
def update!(**args)
|
3445
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
3446
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
3447
|
+
@license = args[:license] if args.key?(:license)
|
3363
3448
|
@location = args[:location] if args.key?(:location)
|
3364
3449
|
@name = args[:name] if args.key?(:name)
|
3450
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
3451
|
+
@version = args[:version] if args.key?(:version)
|
3365
3452
|
end
|
3366
3453
|
end
|
3367
3454
|
|
@@ -3390,8 +3477,7 @@ module Google
|
|
3390
3477
|
end
|
3391
3478
|
end
|
3392
3479
|
|
3393
|
-
# License information
|
3394
|
-
# 315-declared-license
|
3480
|
+
# License information.
|
3395
3481
|
class License
|
3396
3482
|
include Google::Apis::Core::Hashable
|
3397
3483
|
|
@@ -3400,8 +3486,10 @@ module Google
|
|
3400
3486
|
# @return [String]
|
3401
3487
|
attr_accessor :comments
|
3402
3488
|
|
3403
|
-
#
|
3404
|
-
#
|
3489
|
+
# Often a single license can be used to represent the licensing terms. Sometimes
|
3490
|
+
# it is necessary to include a choice of one or more licenses or some
|
3491
|
+
# combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
|
3492
|
+
# 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
|
3405
3493
|
# Corresponds to the JSON property `expression`
|
3406
3494
|
# @return [String]
|
3407
3495
|
attr_accessor :expression
|
@@ -3524,8 +3612,8 @@ module Google
|
|
3524
3612
|
class Location
|
3525
3613
|
include Google::Apis::Core::Hashable
|
3526
3614
|
|
3527
|
-
# The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
|
3528
|
-
# package manager version distributing a package.
|
3615
|
+
# Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
|
3616
|
+
# denoting the package manager version distributing a package.
|
3529
3617
|
# Corresponds to the JSON property `cpeUri`
|
3530
3618
|
# @return [String]
|
3531
3619
|
attr_accessor :cpe_uri
|
@@ -4073,24 +4161,86 @@ module Google
|
|
4073
4161
|
class Package
|
4074
4162
|
include Google::Apis::Core::Hashable
|
4075
4163
|
|
4164
|
+
# The CPU architecture for which packages in this distribution channel were
|
4165
|
+
# built. Architecture will be blank for language packages.
|
4166
|
+
# Corresponds to the JSON property `architecture`
|
4167
|
+
# @return [String]
|
4168
|
+
attr_accessor :architecture
|
4169
|
+
|
4170
|
+
# The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the
|
4171
|
+
# package manager version distributing a package. The cpe_uri will be blank for
|
4172
|
+
# language packages.
|
4173
|
+
# Corresponds to the JSON property `cpeUri`
|
4174
|
+
# @return [String]
|
4175
|
+
attr_accessor :cpe_uri
|
4176
|
+
|
4177
|
+
# The description of this package.
|
4178
|
+
# Corresponds to the JSON property `description`
|
4179
|
+
# @return [String]
|
4180
|
+
attr_accessor :description
|
4181
|
+
|
4182
|
+
# Hash value, typically a file digest, that allows unique identification a
|
4183
|
+
# specific package.
|
4184
|
+
# Corresponds to the JSON property `digest`
|
4185
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Digest>]
|
4186
|
+
attr_accessor :digest
|
4187
|
+
|
4076
4188
|
# The various channels by which a package is distributed.
|
4077
4189
|
# Corresponds to the JSON property `distribution`
|
4078
4190
|
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Distribution>]
|
4079
4191
|
attr_accessor :distribution
|
4080
4192
|
|
4193
|
+
# License information.
|
4194
|
+
# Corresponds to the JSON property `license`
|
4195
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
4196
|
+
attr_accessor :license
|
4197
|
+
|
4198
|
+
# A freeform text denoting the maintainer of this package.
|
4199
|
+
# Corresponds to the JSON property `maintainer`
|
4200
|
+
# @return [String]
|
4201
|
+
attr_accessor :maintainer
|
4202
|
+
|
4081
4203
|
# The name of the package.
|
4082
4204
|
# Corresponds to the JSON property `name`
|
4083
4205
|
# @return [String]
|
4084
4206
|
attr_accessor :name
|
4085
4207
|
|
4208
|
+
# The type of package; whether native or non native (e.g., ruby gems, node.js
|
4209
|
+
# packages, etc.).
|
4210
|
+
# Corresponds to the JSON property `packageType`
|
4211
|
+
# @return [String]
|
4212
|
+
attr_accessor :package_type
|
4213
|
+
|
4214
|
+
# The homepage for this package.
|
4215
|
+
# Corresponds to the JSON property `url`
|
4216
|
+
# @return [String]
|
4217
|
+
attr_accessor :url
|
4218
|
+
|
4219
|
+
# Version contains structured information about the version of the package. For
|
4220
|
+
# a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/
|
4221
|
+
# debian-packages-version-convention For a discussion of this in Redhat/Fedora/
|
4222
|
+
# Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
|
4223
|
+
# Corresponds to the JSON property `version`
|
4224
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::Version]
|
4225
|
+
attr_accessor :version
|
4226
|
+
|
4086
4227
|
def initialize(**args)
|
4087
4228
|
update!(**args)
|
4088
4229
|
end
|
4089
4230
|
|
4090
4231
|
# Update properties of this object
|
4091
4232
|
def update!(**args)
|
4233
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
4234
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
4235
|
+
@description = args[:description] if args.key?(:description)
|
4236
|
+
@digest = args[:digest] if args.key?(:digest)
|
4092
4237
|
@distribution = args[:distribution] if args.key?(:distribution)
|
4238
|
+
@license = args[:license] if args.key?(:license)
|
4239
|
+
@maintainer = args[:maintainer] if args.key?(:maintainer)
|
4093
4240
|
@name = args[:name] if args.key?(:name)
|
4241
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
4242
|
+
@url = args[:url] if args.key?(:url)
|
4243
|
+
@version = args[:version] if args.key?(:version)
|
4094
4244
|
end
|
4095
4245
|
end
|
4096
4246
|
|
@@ -4155,8 +4305,7 @@ module Google
|
|
4155
4305
|
# @return [String]
|
4156
4306
|
attr_accessor :home_page
|
4157
4307
|
|
4158
|
-
# License information
|
4159
|
-
# 315-declared-license
|
4308
|
+
# License information.
|
4160
4309
|
# Corresponds to the JSON property `licenseDeclared`
|
4161
4310
|
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
4162
4311
|
attr_accessor :license_declared
|
@@ -4257,8 +4406,7 @@ module Google
|
|
4257
4406
|
# @return [String]
|
4258
4407
|
attr_accessor :id
|
4259
4408
|
|
4260
|
-
# License information
|
4261
|
-
# 315-declared-license
|
4409
|
+
# License information.
|
4262
4410
|
# Corresponds to the JSON property `licenseConcluded`
|
4263
4411
|
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
4264
4412
|
attr_accessor :license_concluded
|
@@ -5203,7 +5351,7 @@ module Google
|
|
5203
5351
|
include Google::Apis::Core::Hashable
|
5204
5352
|
|
5205
5353
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
5206
|
-
# (such as
|
5354
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
5207
5355
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
5208
5356
|
# Corresponds to the JSON property `permissions`
|
5209
5357
|
# @return [Array<String>]
|
@@ -5440,7 +5588,11 @@ module Google
|
|
5440
5588
|
# @return [Float]
|
5441
5589
|
attr_accessor :cvss_score
|
5442
5590
|
|
5443
|
-
# Common Vulnerability Scoring System.
|
5591
|
+
# Common Vulnerability Scoring System. This message is compatible with CVSS v2
|
5592
|
+
# and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
|
5593
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
|
5594
|
+
# details, see https://www.first.org/cvss/specification-document CVSS v3
|
5595
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
|
5444
5596
|
# Corresponds to the JSON property `cvssV3`
|
5445
5597
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
|
5446
5598
|
attr_accessor :cvss_v3
|
@@ -5503,6 +5655,11 @@ module Google
|
|
5503
5655
|
# @return [String]
|
5504
5656
|
attr_accessor :cpe_uri
|
5505
5657
|
|
5658
|
+
# The file location at which this package was found.
|
5659
|
+
# Corresponds to the JSON property `fileLocation`
|
5660
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::FileLocation>]
|
5661
|
+
attr_accessor :file_location
|
5662
|
+
|
5506
5663
|
# The package being described.
|
5507
5664
|
# Corresponds to the JSON property `package`
|
5508
5665
|
# @return [String]
|
@@ -5523,6 +5680,7 @@ module Google
|
|
5523
5680
|
# Update properties of this object
|
5524
5681
|
def update!(**args)
|
5525
5682
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
5683
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
5526
5684
|
@package = args[:package] if args.key?(:package)
|
5527
5685
|
@version = args[:version] if args.key?(:version)
|
5528
5686
|
end
|
@@ -5537,6 +5695,21 @@ module Google
|
|
5537
5695
|
# @return [Float]
|
5538
5696
|
attr_accessor :cvss_score
|
5539
5697
|
|
5698
|
+
# Common Vulnerability Scoring System. This message is compatible with CVSS v2
|
5699
|
+
# and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
|
5700
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
|
5701
|
+
# details, see https://www.first.org/cvss/specification-document CVSS v3
|
5702
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
|
5703
|
+
# Corresponds to the JSON property `cvssV2`
|
5704
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
|
5705
|
+
attr_accessor :cvss_v2
|
5706
|
+
|
5707
|
+
# A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/
|
5708
|
+
# index.html
|
5709
|
+
# Corresponds to the JSON property `cwe`
|
5710
|
+
# @return [Array<String>]
|
5711
|
+
attr_accessor :cwe
|
5712
|
+
|
5540
5713
|
# All information about the package to specifically identify this vulnerability.
|
5541
5714
|
# One entry per (version range and cpe_uri) the package vulnerability has
|
5542
5715
|
# manifested in.
|
@@ -5556,6 +5729,8 @@ module Google
|
|
5556
5729
|
# Update properties of this object
|
5557
5730
|
def update!(**args)
|
5558
5731
|
@cvss_score = args[:cvss_score] if args.key?(:cvss_score)
|
5732
|
+
@cvss_v2 = args[:cvss_v2] if args.key?(:cvss_v2)
|
5733
|
+
@cwe = args[:cwe] if args.key?(:cwe)
|
5559
5734
|
@details = args[:details] if args.key?(:details)
|
5560
5735
|
@severity = args[:severity] if args.key?(:severity)
|
5561
5736
|
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.26.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 = "20220513"
|
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.26.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-23 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.26.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: []
|