google-apis-containeranalysis_v1alpha1 0.25.0 → 0.28.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aac0de427098073dbd54315c6e0bbc2dd87fa6eb40d2de84d04644c035101b40
|
4
|
+
data.tar.gz: 3150d5810e3bc1b8234a3d2ce0ef80d0b16475eac5f4ee171a43725fcafe8bef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0739c8d0598406dfb574af17ac95b0771df3fbf50c17e7037923a88aeb28ccf45b026f12be3dbc84d924b76d2d094b738c00e44291b03b539cdbb61d3d63d6f9'
|
7
|
+
data.tar.gz: 9478dae099441076ccd5171fe59549c58994cb7149f3bf849d97c845b24770b10693e74acc072f662850afb0f0d12bc7bf265b279ffc3cbaab00e63d1f055112
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1alpha1
|
2
2
|
|
3
|
+
### v0.28.0 (2022-06-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220602
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
8
|
+
### v0.27.0 (2022-05-26)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220519
|
11
|
+
|
12
|
+
### v0.26.0 (2022-05-18)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220513
|
15
|
+
|
3
16
|
### v0.25.0 (2022-05-11)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220506
|
@@ -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
|
@@ -2358,11 +2363,11 @@ module Google
|
|
2358
2363
|
# @return [String]
|
2359
2364
|
attr_accessor :algo
|
2360
2365
|
|
2361
|
-
# Value of the digest
|
2362
|
-
#
|
2363
|
-
#
|
2366
|
+
# Value of the digest.
|
2367
|
+
# Corresponds to the JSON property `digestBytes`
|
2368
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2364
2369
|
# @return [String]
|
2365
|
-
attr_accessor :
|
2370
|
+
attr_accessor :digest_bytes
|
2366
2371
|
|
2367
2372
|
def initialize(**args)
|
2368
2373
|
update!(**args)
|
@@ -2371,7 +2376,7 @@ module Google
|
|
2371
2376
|
# Update properties of this object
|
2372
2377
|
def update!(**args)
|
2373
2378
|
@algo = args[:algo] if args.key?(:algo)
|
2374
|
-
@
|
2379
|
+
@digest_bytes = args[:digest_bytes] if args.key?(:digest_bytes)
|
2375
2380
|
end
|
2376
2381
|
end
|
2377
2382
|
|
@@ -3232,6 +3237,201 @@ module Google
|
|
3232
3237
|
end
|
3233
3238
|
end
|
3234
3239
|
|
3240
|
+
# Identifies the entity that executed the recipe, which is trusted to have
|
3241
|
+
# correctly performed the operation and populated this provenance.
|
3242
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder
|
3243
|
+
include Google::Apis::Core::Hashable
|
3244
|
+
|
3245
|
+
# URI indicating the builder’s identity.
|
3246
|
+
# Corresponds to the JSON property `id`
|
3247
|
+
# @return [String]
|
3248
|
+
attr_accessor :id
|
3249
|
+
|
3250
|
+
def initialize(**args)
|
3251
|
+
update!(**args)
|
3252
|
+
end
|
3253
|
+
|
3254
|
+
# Update properties of this object
|
3255
|
+
def update!(**args)
|
3256
|
+
@id = args[:id] if args.key?(:id)
|
3257
|
+
end
|
3258
|
+
end
|
3259
|
+
|
3260
|
+
# Indicates that the builder claims certain fields in this message to be
|
3261
|
+
# complete.
|
3262
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness
|
3263
|
+
include Google::Apis::Core::Hashable
|
3264
|
+
|
3265
|
+
# If true, the builder claims that invocation.environment is complete.
|
3266
|
+
# Corresponds to the JSON property `environment`
|
3267
|
+
# @return [Boolean]
|
3268
|
+
attr_accessor :environment
|
3269
|
+
alias_method :environment?, :environment
|
3270
|
+
|
3271
|
+
# If true, the builder claims that materials is complete.
|
3272
|
+
# Corresponds to the JSON property `materials`
|
3273
|
+
# @return [Boolean]
|
3274
|
+
attr_accessor :materials
|
3275
|
+
alias_method :materials?, :materials
|
3276
|
+
|
3277
|
+
# If true, the builder claims that invocation.parameters is complete.
|
3278
|
+
# Corresponds to the JSON property `parameters`
|
3279
|
+
# @return [Boolean]
|
3280
|
+
attr_accessor :parameters
|
3281
|
+
alias_method :parameters?, :parameters
|
3282
|
+
|
3283
|
+
def initialize(**args)
|
3284
|
+
update!(**args)
|
3285
|
+
end
|
3286
|
+
|
3287
|
+
# Update properties of this object
|
3288
|
+
def update!(**args)
|
3289
|
+
@environment = args[:environment] if args.key?(:environment)
|
3290
|
+
@materials = args[:materials] if args.key?(:materials)
|
3291
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
3292
|
+
end
|
3293
|
+
end
|
3294
|
+
|
3295
|
+
# Describes where the config file that kicked off the build came from. This is
|
3296
|
+
# effectively a pointer to the source where buildConfig came from.
|
3297
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource
|
3298
|
+
include Google::Apis::Core::Hashable
|
3299
|
+
|
3300
|
+
# Collection of cryptographic digests for the contents of the artifact specified
|
3301
|
+
# by invocation.configSource.uri.
|
3302
|
+
# Corresponds to the JSON property `digest`
|
3303
|
+
# @return [Hash<String,String>]
|
3304
|
+
attr_accessor :digest
|
3305
|
+
|
3306
|
+
# String identifying the entry point into the build.
|
3307
|
+
# Corresponds to the JSON property `entryPoint`
|
3308
|
+
# @return [String]
|
3309
|
+
attr_accessor :entry_point
|
3310
|
+
|
3311
|
+
# URI indicating the identity of the source of the config.
|
3312
|
+
# Corresponds to the JSON property `uri`
|
3313
|
+
# @return [String]
|
3314
|
+
attr_accessor :uri
|
3315
|
+
|
3316
|
+
def initialize(**args)
|
3317
|
+
update!(**args)
|
3318
|
+
end
|
3319
|
+
|
3320
|
+
# Update properties of this object
|
3321
|
+
def update!(**args)
|
3322
|
+
@digest = args[:digest] if args.key?(:digest)
|
3323
|
+
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
3324
|
+
@uri = args[:uri] if args.key?(:uri)
|
3325
|
+
end
|
3326
|
+
end
|
3327
|
+
|
3328
|
+
# Identifies the event that kicked off the build.
|
3329
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation
|
3330
|
+
include Google::Apis::Core::Hashable
|
3331
|
+
|
3332
|
+
# Describes where the config file that kicked off the build came from. This is
|
3333
|
+
# effectively a pointer to the source where buildConfig came from.
|
3334
|
+
# Corresponds to the JSON property `configSource`
|
3335
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource]
|
3336
|
+
attr_accessor :config_source
|
3337
|
+
|
3338
|
+
# Any other builder-controlled inputs necessary for correctly evaluating the
|
3339
|
+
# build.
|
3340
|
+
# Corresponds to the JSON property `environment`
|
3341
|
+
# @return [Hash<String,Object>]
|
3342
|
+
attr_accessor :environment
|
3343
|
+
|
3344
|
+
# Collection of all external inputs that influenced the build on top of
|
3345
|
+
# invocation.configSource.
|
3346
|
+
# Corresponds to the JSON property `parameters`
|
3347
|
+
# @return [Hash<String,Object>]
|
3348
|
+
attr_accessor :parameters
|
3349
|
+
|
3350
|
+
def initialize(**args)
|
3351
|
+
update!(**args)
|
3352
|
+
end
|
3353
|
+
|
3354
|
+
# Update properties of this object
|
3355
|
+
def update!(**args)
|
3356
|
+
@config_source = args[:config_source] if args.key?(:config_source)
|
3357
|
+
@environment = args[:environment] if args.key?(:environment)
|
3358
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
3359
|
+
end
|
3360
|
+
end
|
3361
|
+
|
3362
|
+
# The collection of artifacts that influenced the build including sources,
|
3363
|
+
# dependencies, build tools, base images, and so on.
|
3364
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial
|
3365
|
+
include Google::Apis::Core::Hashable
|
3366
|
+
|
3367
|
+
# Collection of cryptographic digests for the contents of this artifact.
|
3368
|
+
# Corresponds to the JSON property `digest`
|
3369
|
+
# @return [Hash<String,String>]
|
3370
|
+
attr_accessor :digest
|
3371
|
+
|
3372
|
+
# The method by which this artifact was referenced during the build.
|
3373
|
+
# Corresponds to the JSON property `uri`
|
3374
|
+
# @return [String]
|
3375
|
+
attr_accessor :uri
|
3376
|
+
|
3377
|
+
def initialize(**args)
|
3378
|
+
update!(**args)
|
3379
|
+
end
|
3380
|
+
|
3381
|
+
# Update properties of this object
|
3382
|
+
def update!(**args)
|
3383
|
+
@digest = args[:digest] if args.key?(:digest)
|
3384
|
+
@uri = args[:uri] if args.key?(:uri)
|
3385
|
+
end
|
3386
|
+
end
|
3387
|
+
|
3388
|
+
# Other properties of the build.
|
3389
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata
|
3390
|
+
include Google::Apis::Core::Hashable
|
3391
|
+
|
3392
|
+
# The timestamp of when the build completed.
|
3393
|
+
# Corresponds to the JSON property `buildFinishedOn`
|
3394
|
+
# @return [String]
|
3395
|
+
attr_accessor :build_finished_on
|
3396
|
+
|
3397
|
+
# Identifies this particular build invocation, which can be useful for finding
|
3398
|
+
# associated logs or other ad-hoc analysis.
|
3399
|
+
# Corresponds to the JSON property `buildInvocationId`
|
3400
|
+
# @return [String]
|
3401
|
+
attr_accessor :build_invocation_id
|
3402
|
+
|
3403
|
+
# The timestamp of when the build started.
|
3404
|
+
# Corresponds to the JSON property `buildStartedOn`
|
3405
|
+
# @return [String]
|
3406
|
+
attr_accessor :build_started_on
|
3407
|
+
|
3408
|
+
# Indicates that the builder claims certain fields in this message to be
|
3409
|
+
# complete.
|
3410
|
+
# Corresponds to the JSON property `completeness`
|
3411
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness]
|
3412
|
+
attr_accessor :completeness
|
3413
|
+
|
3414
|
+
# If true, the builder claims that running invocation on materials will produce
|
3415
|
+
# bit-for-bit identical output.
|
3416
|
+
# Corresponds to the JSON property `reproducible`
|
3417
|
+
# @return [Boolean]
|
3418
|
+
attr_accessor :reproducible
|
3419
|
+
alias_method :reproducible?, :reproducible
|
3420
|
+
|
3421
|
+
def initialize(**args)
|
3422
|
+
update!(**args)
|
3423
|
+
end
|
3424
|
+
|
3425
|
+
# Update properties of this object
|
3426
|
+
def update!(**args)
|
3427
|
+
@build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
|
3428
|
+
@build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
|
3429
|
+
@build_started_on = args[:build_started_on] if args.key?(:build_started_on)
|
3430
|
+
@completeness = args[:completeness] if args.key?(:completeness)
|
3431
|
+
@reproducible = args[:reproducible] if args.key?(:reproducible)
|
3432
|
+
end
|
3433
|
+
end
|
3434
|
+
|
3235
3435
|
# A SourceContext is a reference to a tree of files. A SourceContext together
|
3236
3436
|
# with a path point to a unique revision of a single file or directory.
|
3237
3437
|
class GoogleDevtoolsContaineranalysisV1alpha1SourceContext
|
@@ -3355,7 +3555,7 @@ module Google
|
|
3355
3555
|
# @return [String]
|
3356
3556
|
attr_accessor :predicate_type
|
3357
3557
|
|
3358
|
-
#
|
3558
|
+
# Generic Grafeas provenance.
|
3359
3559
|
# Corresponds to the JSON property `provenance`
|
3360
3560
|
# @return [Google::Apis::ContaineranalysisV1alpha1::InTotoProvenance]
|
3361
3561
|
attr_accessor :provenance
|
@@ -3365,6 +3565,12 @@ module Google
|
|
3365
3565
|
# @return [Google::Apis::ContaineranalysisV1alpha1::SlsaProvenance]
|
3366
3566
|
attr_accessor :slsa_provenance
|
3367
3567
|
|
3568
|
+
# SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See
|
3569
|
+
# full explanation of fields at slsa.dev/provenance/v0.2.
|
3570
|
+
# Corresponds to the JSON property `slsaProvenanceZeroTwo`
|
3571
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceZeroTwo]
|
3572
|
+
attr_accessor :slsa_provenance_zero_two
|
3573
|
+
|
3368
3574
|
# subject is the subjects of the intoto statement
|
3369
3575
|
# Corresponds to the JSON property `subject`
|
3370
3576
|
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Subject>]
|
@@ -3380,6 +3586,7 @@ module Google
|
|
3380
3586
|
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
3381
3587
|
@provenance = args[:provenance] if args.key?(:provenance)
|
3382
3588
|
@slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
|
3589
|
+
@slsa_provenance_zero_two = args[:slsa_provenance_zero_two] if args.key?(:slsa_provenance_zero_two)
|
3383
3590
|
@subject = args[:subject] if args.key?(:subject)
|
3384
3591
|
end
|
3385
3592
|
end
|
@@ -5124,6 +5331,58 @@ module Google
|
|
5124
5331
|
end
|
5125
5332
|
end
|
5126
5333
|
|
5334
|
+
# SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See
|
5335
|
+
# full explanation of fields at slsa.dev/provenance/v0.2.
|
5336
|
+
class SlsaProvenanceZeroTwo
|
5337
|
+
include Google::Apis::Core::Hashable
|
5338
|
+
|
5339
|
+
# Lists the steps in the build.
|
5340
|
+
# Corresponds to the JSON property `buildConfig`
|
5341
|
+
# @return [Hash<String,Object>]
|
5342
|
+
attr_accessor :build_config
|
5343
|
+
|
5344
|
+
# URI indicating what type of build was performed.
|
5345
|
+
# Corresponds to the JSON property `buildType`
|
5346
|
+
# @return [String]
|
5347
|
+
attr_accessor :build_type
|
5348
|
+
|
5349
|
+
# Identifies the entity that executed the recipe, which is trusted to have
|
5350
|
+
# correctly performed the operation and populated this provenance.
|
5351
|
+
# Corresponds to the JSON property `builder`
|
5352
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder]
|
5353
|
+
attr_accessor :builder
|
5354
|
+
|
5355
|
+
# Identifies the event that kicked off the build.
|
5356
|
+
# Corresponds to the JSON property `invocation`
|
5357
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation]
|
5358
|
+
attr_accessor :invocation
|
5359
|
+
|
5360
|
+
# The collection of artifacts that influenced the build including sources,
|
5361
|
+
# dependencies, build tools, base images, and so on.
|
5362
|
+
# Corresponds to the JSON property `materials`
|
5363
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial>]
|
5364
|
+
attr_accessor :materials
|
5365
|
+
|
5366
|
+
# Other properties of the build.
|
5367
|
+
# Corresponds to the JSON property `metadata`
|
5368
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata]
|
5369
|
+
attr_accessor :metadata
|
5370
|
+
|
5371
|
+
def initialize(**args)
|
5372
|
+
update!(**args)
|
5373
|
+
end
|
5374
|
+
|
5375
|
+
# Update properties of this object
|
5376
|
+
def update!(**args)
|
5377
|
+
@build_config = args[:build_config] if args.key?(:build_config)
|
5378
|
+
@build_type = args[:build_type] if args.key?(:build_type)
|
5379
|
+
@builder = args[:builder] if args.key?(:builder)
|
5380
|
+
@invocation = args[:invocation] if args.key?(:invocation)
|
5381
|
+
@materials = args[:materials] if args.key?(:materials)
|
5382
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
5383
|
+
end
|
5384
|
+
end
|
5385
|
+
|
5127
5386
|
# Steps taken to build the artifact. For a TaskRun, typically each container
|
5128
5387
|
# corresponds to one step in the recipe.
|
5129
5388
|
class SlsaRecipe
|
@@ -5583,7 +5842,11 @@ module Google
|
|
5583
5842
|
# @return [Float]
|
5584
5843
|
attr_accessor :cvss_score
|
5585
5844
|
|
5586
|
-
# Common Vulnerability Scoring System.
|
5845
|
+
# Common Vulnerability Scoring System. This message is compatible with CVSS v2
|
5846
|
+
# and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
|
5847
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
|
5848
|
+
# details, see https://www.first.org/cvss/specification-document CVSS v3
|
5849
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
|
5587
5850
|
# Corresponds to the JSON property `cvssV3`
|
5588
5851
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
|
5589
5852
|
attr_accessor :cvss_v3
|
@@ -5686,7 +5949,11 @@ module Google
|
|
5686
5949
|
# @return [Float]
|
5687
5950
|
attr_accessor :cvss_score
|
5688
5951
|
|
5689
|
-
# Common Vulnerability Scoring System.
|
5952
|
+
# Common Vulnerability Scoring System. This message is compatible with CVSS v2
|
5953
|
+
# and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
|
5954
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
|
5955
|
+
# details, see https://www.first.org/cvss/specification-document CVSS v3
|
5956
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
|
5690
5957
|
# Corresponds to the JSON property `cvssV2`
|
5691
5958
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
|
5692
5959
|
attr_accessor :cvss_v2
|
@@ -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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220602"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -490,6 +490,42 @@ module Google
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
491
491
|
end
|
492
492
|
|
493
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
499
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
505
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
517
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
523
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
493
529
|
class GoogleDevtoolsContaineranalysisV1alpha1SourceContext
|
494
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
531
|
|
@@ -712,6 +748,12 @@ module Google
|
|
712
748
|
include Google::Apis::Core::JsonObjectSupport
|
713
749
|
end
|
714
750
|
|
751
|
+
class SlsaProvenanceZeroTwo
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
|
+
|
754
|
+
include Google::Apis::Core::JsonObjectSupport
|
755
|
+
end
|
756
|
+
|
715
757
|
class SlsaRecipe
|
716
758
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
759
|
|
@@ -1394,7 +1436,7 @@ module Google
|
|
1394
1436
|
# @private
|
1395
1437
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1396
1438
|
property :algo, as: 'algo'
|
1397
|
-
property :
|
1439
|
+
property :digest_bytes, :base64 => true, as: 'digestBytes'
|
1398
1440
|
end
|
1399
1441
|
end
|
1400
1442
|
|
@@ -1634,6 +1676,61 @@ module Google
|
|
1634
1676
|
end
|
1635
1677
|
end
|
1636
1678
|
|
1679
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder
|
1680
|
+
# @private
|
1681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1682
|
+
property :id, as: 'id'
|
1683
|
+
end
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness
|
1687
|
+
# @private
|
1688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1689
|
+
property :environment, as: 'environment'
|
1690
|
+
property :materials, as: 'materials'
|
1691
|
+
property :parameters, as: 'parameters'
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource
|
1696
|
+
# @private
|
1697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1698
|
+
hash :digest, as: 'digest'
|
1699
|
+
property :entry_point, as: 'entryPoint'
|
1700
|
+
property :uri, as: 'uri'
|
1701
|
+
end
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation
|
1705
|
+
# @private
|
1706
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1707
|
+
property :config_source, as: 'configSource', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource::Representation
|
1708
|
+
|
1709
|
+
hash :environment, as: 'environment'
|
1710
|
+
hash :parameters, as: 'parameters'
|
1711
|
+
end
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial
|
1715
|
+
# @private
|
1716
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1717
|
+
hash :digest, as: 'digest'
|
1718
|
+
property :uri, as: 'uri'
|
1719
|
+
end
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata
|
1723
|
+
# @private
|
1724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1725
|
+
property :build_finished_on, as: 'buildFinishedOn'
|
1726
|
+
property :build_invocation_id, as: 'buildInvocationId'
|
1727
|
+
property :build_started_on, as: 'buildStartedOn'
|
1728
|
+
property :completeness, as: 'completeness', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness::Representation
|
1729
|
+
|
1730
|
+
property :reproducible, as: 'reproducible'
|
1731
|
+
end
|
1732
|
+
end
|
1733
|
+
|
1637
1734
|
class GoogleDevtoolsContaineranalysisV1alpha1SourceContext
|
1638
1735
|
# @private
|
1639
1736
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1677,6 +1774,8 @@ module Google
|
|
1677
1774
|
|
1678
1775
|
property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::ContaineranalysisV1alpha1::SlsaProvenance, decorator: Google::Apis::ContaineranalysisV1alpha1::SlsaProvenance::Representation
|
1679
1776
|
|
1777
|
+
property :slsa_provenance_zero_two, as: 'slsaProvenanceZeroTwo', class: Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceZeroTwo, decorator: Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceZeroTwo::Representation
|
1778
|
+
|
1680
1779
|
collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1alpha1::Subject, decorator: Google::Apis::ContaineranalysisV1alpha1::Subject::Representation
|
1681
1780
|
|
1682
1781
|
end
|
@@ -2110,6 +2209,22 @@ module Google
|
|
2110
2209
|
end
|
2111
2210
|
end
|
2112
2211
|
|
2212
|
+
class SlsaProvenanceZeroTwo
|
2213
|
+
# @private
|
2214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2215
|
+
hash :build_config, as: 'buildConfig'
|
2216
|
+
property :build_type, as: 'buildType'
|
2217
|
+
property :builder, as: 'builder', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder::Representation
|
2218
|
+
|
2219
|
+
property :invocation, as: 'invocation', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation::Representation
|
2220
|
+
|
2221
|
+
collection :materials, as: 'materials', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial::Representation
|
2222
|
+
|
2223
|
+
property :metadata, as: 'metadata', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata::Representation
|
2224
|
+
|
2225
|
+
end
|
2226
|
+
end
|
2227
|
+
|
2113
2228
|
class SlsaRecipe
|
2114
2229
|
# @private
|
2115
2230
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.28.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-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.28.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Container Analysis API V1alpha1
|