google-apis-ondemandscanning_v1beta1 0.10.0 → 0.11.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: 52b202d4a333e74f4364b9f8afc7e55e4566d1db69a4318896efaf8f5252658f
|
4
|
+
data.tar.gz: d16e1e4e98f76c05fd9d9a1c591c59abed2c259afd9b67374daeb17d0a18fc25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38ce73d96723d99cf5b8c5171cd1029e375230b9bc408bcff0988f4d5e907427f0c3d2c978479ca5bc102c2562fbf622963bddf93586a129ce33528c8f5116de
|
7
|
+
data.tar.gz: c40858ad1e6fad1dcc5709921af460844ceff58abcb637c67bc827ab35d5217ddb03d1ae927c1c5442e2f5d5b321c3aca02be161df479f950e46184adedea942
|
data/CHANGELOG.md
CHANGED
@@ -253,6 +253,11 @@ module Google
|
|
253
253
|
class BuildOccurrence
|
254
254
|
include Google::Apis::Core::Hashable
|
255
255
|
|
256
|
+
# In-toto Provenance representation as defined in spec.
|
257
|
+
# Corresponds to the JSON property `intotoProvenance`
|
258
|
+
# @return [Google::Apis::OndemandscanningV1beta1::InTotoProvenance]
|
259
|
+
attr_accessor :intoto_provenance
|
260
|
+
|
256
261
|
# Provenance of a build. Contains all information needed to verify the full
|
257
262
|
# details about the build from source to completion.
|
258
263
|
# Corresponds to the JSON property `provenance`
|
@@ -277,6 +282,7 @@ module Google
|
|
277
282
|
|
278
283
|
# Update properties of this object
|
279
284
|
def update!(**args)
|
285
|
+
@intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
|
280
286
|
@provenance = args[:provenance] if args.key?(:provenance)
|
281
287
|
@provenance_bytes = args[:provenance_bytes] if args.key?(:provenance_bytes)
|
282
288
|
end
|
@@ -377,6 +383,25 @@ module Google
|
|
377
383
|
end
|
378
384
|
end
|
379
385
|
|
386
|
+
#
|
387
|
+
class BuilderConfig
|
388
|
+
include Google::Apis::Core::Hashable
|
389
|
+
|
390
|
+
#
|
391
|
+
# Corresponds to the JSON property `id`
|
392
|
+
# @return [String]
|
393
|
+
attr_accessor :id
|
394
|
+
|
395
|
+
def initialize(**args)
|
396
|
+
update!(**args)
|
397
|
+
end
|
398
|
+
|
399
|
+
# Update properties of this object
|
400
|
+
def update!(**args)
|
401
|
+
@id = args[:id] if args.key?(:id)
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
380
405
|
# The category to which the update belongs.
|
381
406
|
class Category
|
382
407
|
include Google::Apis::Core::Hashable
|
@@ -486,6 +511,43 @@ module Google
|
|
486
511
|
end
|
487
512
|
end
|
488
513
|
|
514
|
+
# Indicates that the builder claims certain fields in this message to be
|
515
|
+
# complete.
|
516
|
+
class Completeness
|
517
|
+
include Google::Apis::Core::Hashable
|
518
|
+
|
519
|
+
# If true, the builder claims that recipe.arguments is complete, meaning that
|
520
|
+
# all external inputs are properly captured in the recipe.
|
521
|
+
# Corresponds to the JSON property `arguments`
|
522
|
+
# @return [Boolean]
|
523
|
+
attr_accessor :arguments
|
524
|
+
alias_method :arguments?, :arguments
|
525
|
+
|
526
|
+
# If true, the builder claims that recipe.environment is claimed to be complete.
|
527
|
+
# Corresponds to the JSON property `environment`
|
528
|
+
# @return [Boolean]
|
529
|
+
attr_accessor :environment
|
530
|
+
alias_method :environment?, :environment
|
531
|
+
|
532
|
+
# If true, the builder claims that materials are complete, usually through some
|
533
|
+
# controls to prevent network access. Sometimes called "hermetic".
|
534
|
+
# Corresponds to the JSON property `materials`
|
535
|
+
# @return [Boolean]
|
536
|
+
attr_accessor :materials
|
537
|
+
alias_method :materials?, :materials
|
538
|
+
|
539
|
+
def initialize(**args)
|
540
|
+
update!(**args)
|
541
|
+
end
|
542
|
+
|
543
|
+
# Update properties of this object
|
544
|
+
def update!(**args)
|
545
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
546
|
+
@environment = args[:environment] if args.key?(:environment)
|
547
|
+
@materials = args[:materials] if args.key?(:materials)
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
489
551
|
# An indication that the compliance checks in the associated ComplianceNote were
|
490
552
|
# not satisfied for particular resources or a specified reason.
|
491
553
|
class ComplianceOccurrence
|
@@ -512,6 +574,34 @@ module Google
|
|
512
574
|
end
|
513
575
|
end
|
514
576
|
|
577
|
+
#
|
578
|
+
class DsseAttestationOccurrence
|
579
|
+
include Google::Apis::Core::Hashable
|
580
|
+
|
581
|
+
# MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
|
582
|
+
# proto. An authenticated message of arbitrary type.
|
583
|
+
# Corresponds to the JSON property `envelope`
|
584
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Envelope]
|
585
|
+
attr_accessor :envelope
|
586
|
+
|
587
|
+
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
588
|
+
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
589
|
+
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
590
|
+
# Corresponds to the JSON property `statement`
|
591
|
+
# @return [Google::Apis::OndemandscanningV1beta1::InTotoStatement]
|
592
|
+
attr_accessor :statement
|
593
|
+
|
594
|
+
def initialize(**args)
|
595
|
+
update!(**args)
|
596
|
+
end
|
597
|
+
|
598
|
+
# Update properties of this object
|
599
|
+
def update!(**args)
|
600
|
+
@envelope = args[:envelope] if args.key?(:envelope)
|
601
|
+
@statement = args[:statement] if args.key?(:statement)
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
515
605
|
# The period during which some deployable was active in a runtime.
|
516
606
|
class DeploymentOccurrence
|
517
607
|
include Google::Apis::Core::Hashable
|
@@ -633,6 +723,65 @@ module Google
|
|
633
723
|
end
|
634
724
|
end
|
635
725
|
|
726
|
+
# MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
|
727
|
+
# proto. An authenticated message of arbitrary type.
|
728
|
+
class Envelope
|
729
|
+
include Google::Apis::Core::Hashable
|
730
|
+
|
731
|
+
#
|
732
|
+
# Corresponds to the JSON property `payload`
|
733
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
734
|
+
# @return [String]
|
735
|
+
attr_accessor :payload
|
736
|
+
|
737
|
+
#
|
738
|
+
# Corresponds to the JSON property `payloadType`
|
739
|
+
# @return [String]
|
740
|
+
attr_accessor :payload_type
|
741
|
+
|
742
|
+
#
|
743
|
+
# Corresponds to the JSON property `signatures`
|
744
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::EnvelopeSignature>]
|
745
|
+
attr_accessor :signatures
|
746
|
+
|
747
|
+
def initialize(**args)
|
748
|
+
update!(**args)
|
749
|
+
end
|
750
|
+
|
751
|
+
# Update properties of this object
|
752
|
+
def update!(**args)
|
753
|
+
@payload = args[:payload] if args.key?(:payload)
|
754
|
+
@payload_type = args[:payload_type] if args.key?(:payload_type)
|
755
|
+
@signatures = args[:signatures] if args.key?(:signatures)
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
#
|
760
|
+
class EnvelopeSignature
|
761
|
+
include Google::Apis::Core::Hashable
|
762
|
+
|
763
|
+
#
|
764
|
+
# Corresponds to the JSON property `keyid`
|
765
|
+
# @return [String]
|
766
|
+
attr_accessor :keyid
|
767
|
+
|
768
|
+
#
|
769
|
+
# Corresponds to the JSON property `sig`
|
770
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
771
|
+
# @return [String]
|
772
|
+
attr_accessor :sig
|
773
|
+
|
774
|
+
def initialize(**args)
|
775
|
+
update!(**args)
|
776
|
+
end
|
777
|
+
|
778
|
+
# Update properties of this object
|
779
|
+
def update!(**args)
|
780
|
+
@keyid = args[:keyid] if args.key?(:keyid)
|
781
|
+
@sig = args[:sig] if args.key?(:sig)
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
636
785
|
# Container message for hashes of byte content of files, used in source messages
|
637
786
|
# to verify integrity of source input to the build.
|
638
787
|
class FileHashes
|
@@ -843,6 +992,86 @@ module Google
|
|
843
992
|
end
|
844
993
|
end
|
845
994
|
|
995
|
+
#
|
996
|
+
class InTotoProvenance
|
997
|
+
include Google::Apis::Core::Hashable
|
998
|
+
|
999
|
+
# required
|
1000
|
+
# Corresponds to the JSON property `builderConfig`
|
1001
|
+
# @return [Google::Apis::OndemandscanningV1beta1::BuilderConfig]
|
1002
|
+
attr_accessor :builder_config
|
1003
|
+
|
1004
|
+
# The collection of artifacts that influenced the build including sources,
|
1005
|
+
# dependencies, build tools, base images, and so on. This is considered to be
|
1006
|
+
# incomplete unless metadata.completeness.materials is true. Unset or null is
|
1007
|
+
# equivalent to empty.
|
1008
|
+
# Corresponds to the JSON property `materials`
|
1009
|
+
# @return [Array<String>]
|
1010
|
+
attr_accessor :materials
|
1011
|
+
|
1012
|
+
# Other properties of the build.
|
1013
|
+
# Corresponds to the JSON property `metadata`
|
1014
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Metadata]
|
1015
|
+
attr_accessor :metadata
|
1016
|
+
|
1017
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
1018
|
+
# corresponds to one step in the recipe.
|
1019
|
+
# Corresponds to the JSON property `recipe`
|
1020
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Recipe]
|
1021
|
+
attr_accessor :recipe
|
1022
|
+
|
1023
|
+
def initialize(**args)
|
1024
|
+
update!(**args)
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# Update properties of this object
|
1028
|
+
def update!(**args)
|
1029
|
+
@builder_config = args[:builder_config] if args.key?(:builder_config)
|
1030
|
+
@materials = args[:materials] if args.key?(:materials)
|
1031
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1032
|
+
@recipe = args[:recipe] if args.key?(:recipe)
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
1037
|
+
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
1038
|
+
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
1039
|
+
class InTotoStatement
|
1040
|
+
include Google::Apis::Core::Hashable
|
1041
|
+
|
1042
|
+
# "https://in-toto.io/Provenance/v0.1" for InTotoProvenance.
|
1043
|
+
# Corresponds to the JSON property `predicateType`
|
1044
|
+
# @return [String]
|
1045
|
+
attr_accessor :predicate_type
|
1046
|
+
|
1047
|
+
#
|
1048
|
+
# Corresponds to the JSON property `provenance`
|
1049
|
+
# @return [Google::Apis::OndemandscanningV1beta1::InTotoProvenance]
|
1050
|
+
attr_accessor :provenance
|
1051
|
+
|
1052
|
+
#
|
1053
|
+
# Corresponds to the JSON property `subject`
|
1054
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::Subject>]
|
1055
|
+
attr_accessor :subject
|
1056
|
+
|
1057
|
+
# Always "https://in-toto.io/Statement/v0.1".
|
1058
|
+
# Corresponds to the JSON property `type`
|
1059
|
+
# @return [String]
|
1060
|
+
attr_accessor :type
|
1061
|
+
|
1062
|
+
def initialize(**args)
|
1063
|
+
update!(**args)
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
# Update properties of this object
|
1067
|
+
def update!(**args)
|
1068
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
1069
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1070
|
+
@subject = args[:subject] if args.key?(:subject)
|
1071
|
+
@type = args[:type] if args.key?(:type)
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
|
846
1075
|
#
|
847
1076
|
class Jwt
|
848
1077
|
include Google::Apis::Core::Hashable
|
@@ -975,6 +1204,54 @@ module Google
|
|
975
1204
|
end
|
976
1205
|
end
|
977
1206
|
|
1207
|
+
# Other properties of the build.
|
1208
|
+
class Metadata
|
1209
|
+
include Google::Apis::Core::Hashable
|
1210
|
+
|
1211
|
+
# The timestamp of when the build completed.
|
1212
|
+
# Corresponds to the JSON property `buildFinishedOn`
|
1213
|
+
# @return [String]
|
1214
|
+
attr_accessor :build_finished_on
|
1215
|
+
|
1216
|
+
# Identifies the particular build invocation, which can be useful for finding
|
1217
|
+
# associated logs or other ad-hoc analysis. The value SHOULD be globally unique,
|
1218
|
+
# per in-toto Provenance spec.
|
1219
|
+
# Corresponds to the JSON property `buildInvocationId`
|
1220
|
+
# @return [String]
|
1221
|
+
attr_accessor :build_invocation_id
|
1222
|
+
|
1223
|
+
# The timestamp of when the build started.
|
1224
|
+
# Corresponds to the JSON property `buildStartedOn`
|
1225
|
+
# @return [String]
|
1226
|
+
attr_accessor :build_started_on
|
1227
|
+
|
1228
|
+
# Indicates that the builder claims certain fields in this message to be
|
1229
|
+
# complete.
|
1230
|
+
# Corresponds to the JSON property `completeness`
|
1231
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Completeness]
|
1232
|
+
attr_accessor :completeness
|
1233
|
+
|
1234
|
+
# If true, the builder claims that running the recipe on materials will produce
|
1235
|
+
# bit-for-bit identical output.
|
1236
|
+
# Corresponds to the JSON property `reproducible`
|
1237
|
+
# @return [Boolean]
|
1238
|
+
attr_accessor :reproducible
|
1239
|
+
alias_method :reproducible?, :reproducible
|
1240
|
+
|
1241
|
+
def initialize(**args)
|
1242
|
+
update!(**args)
|
1243
|
+
end
|
1244
|
+
|
1245
|
+
# Update properties of this object
|
1246
|
+
def update!(**args)
|
1247
|
+
@build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
|
1248
|
+
@build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
|
1249
|
+
@build_started_on = args[:build_started_on] if args.key?(:build_started_on)
|
1250
|
+
@completeness = args[:completeness] if args.key?(:completeness)
|
1251
|
+
@reproducible = args[:reproducible] if args.key?(:reproducible)
|
1252
|
+
end
|
1253
|
+
end
|
1254
|
+
|
978
1255
|
# Details about files that caused a compliance check to fail.
|
979
1256
|
class NonCompliantFile
|
980
1257
|
include Google::Apis::Core::Hashable
|
@@ -1049,6 +1326,17 @@ module Google
|
|
1049
1326
|
# @return [Google::Apis::OndemandscanningV1beta1::DiscoveryOccurrence]
|
1050
1327
|
attr_accessor :discovery
|
1051
1328
|
|
1329
|
+
# Describes an attestation of an artifact using dsse.
|
1330
|
+
# Corresponds to the JSON property `dsseAttestation`
|
1331
|
+
# @return [Google::Apis::OndemandscanningV1beta1::DsseAttestationOccurrence]
|
1332
|
+
attr_accessor :dsse_attestation
|
1333
|
+
|
1334
|
+
# MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
|
1335
|
+
# proto. An authenticated message of arbitrary type.
|
1336
|
+
# Corresponds to the JSON property `envelope`
|
1337
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Envelope]
|
1338
|
+
attr_accessor :envelope
|
1339
|
+
|
1052
1340
|
# Details of the derived image portion of the DockerImage relationship. This
|
1053
1341
|
# image would be produced from a Dockerfile with FROM .
|
1054
1342
|
# Corresponds to the JSON property `image`
|
@@ -1122,6 +1410,8 @@ module Google
|
|
1122
1410
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1123
1411
|
@deployment = args[:deployment] if args.key?(:deployment)
|
1124
1412
|
@discovery = args[:discovery] if args.key?(:discovery)
|
1413
|
+
@dsse_attestation = args[:dsse_attestation] if args.key?(:dsse_attestation)
|
1414
|
+
@envelope = args[:envelope] if args.key?(:envelope)
|
1125
1415
|
@image = args[:image] if args.key?(:image)
|
1126
1416
|
@kind = args[:kind] if args.key?(:kind)
|
1127
1417
|
@name = args[:name] if args.key?(:name)
|
@@ -1368,6 +1658,64 @@ module Google
|
|
1368
1658
|
end
|
1369
1659
|
end
|
1370
1660
|
|
1661
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
1662
|
+
# corresponds to one step in the recipe.
|
1663
|
+
class Recipe
|
1664
|
+
include Google::Apis::Core::Hashable
|
1665
|
+
|
1666
|
+
# Collection of all external inputs that influenced the build on top of recipe.
|
1667
|
+
# definedInMaterial and recipe.entryPoint. For example, if the recipe type were "
|
1668
|
+
# make", then this might be the flags passed to make aside from the target,
|
1669
|
+
# which is captured in recipe.entryPoint.
|
1670
|
+
# Corresponds to the JSON property `arguments`
|
1671
|
+
# @return [Array<String>]
|
1672
|
+
attr_accessor :arguments
|
1673
|
+
|
1674
|
+
# Index in materials containing the recipe steps that are not implied by recipe.
|
1675
|
+
# type. For example, if the recipe type were "make", then this would point to
|
1676
|
+
# the source containing the Makefile, not the make program itself. Set to -1 if
|
1677
|
+
# the recipe doesn't come from a material, as zero is default unset value for
|
1678
|
+
# int64.
|
1679
|
+
# Corresponds to the JSON property `definedInMaterial`
|
1680
|
+
# @return [Fixnum]
|
1681
|
+
attr_accessor :defined_in_material
|
1682
|
+
|
1683
|
+
# String identifying the entry point into the build. This is often a path to a
|
1684
|
+
# configuration file and/or a target label within that file. The syntax and
|
1685
|
+
# meaning are defined by recipe.type. For example, if the recipe type were "make"
|
1686
|
+
# , then this would reference the directory in which to run make as well as
|
1687
|
+
# which target to use.
|
1688
|
+
# Corresponds to the JSON property `entryPoint`
|
1689
|
+
# @return [String]
|
1690
|
+
attr_accessor :entry_point
|
1691
|
+
|
1692
|
+
# Any other builder-controlled inputs necessary for correctly evaluating the
|
1693
|
+
# recipe. Usually only needed for reproducing the build but not evaluated as
|
1694
|
+
# part of policy.
|
1695
|
+
# Corresponds to the JSON property `environment`
|
1696
|
+
# @return [Hash<String,String>]
|
1697
|
+
attr_accessor :environment
|
1698
|
+
|
1699
|
+
# URI indicating what type of recipe was performed. It determines the meaning of
|
1700
|
+
# recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
|
1701
|
+
# Corresponds to the JSON property `type`
|
1702
|
+
# @return [String]
|
1703
|
+
attr_accessor :type
|
1704
|
+
|
1705
|
+
def initialize(**args)
|
1706
|
+
update!(**args)
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
# Update properties of this object
|
1710
|
+
def update!(**args)
|
1711
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
1712
|
+
@defined_in_material = args[:defined_in_material] if args.key?(:defined_in_material)
|
1713
|
+
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
1714
|
+
@environment = args[:environment] if args.key?(:environment)
|
1715
|
+
@type = args[:type] if args.key?(:type)
|
1716
|
+
end
|
1717
|
+
end
|
1718
|
+
|
1371
1719
|
# Metadata for any related URL information.
|
1372
1720
|
class RelatedUrl
|
1373
1721
|
include Google::Apis::Core::Hashable
|
@@ -1598,6 +1946,31 @@ module Google
|
|
1598
1946
|
end
|
1599
1947
|
end
|
1600
1948
|
|
1949
|
+
#
|
1950
|
+
class Subject
|
1951
|
+
include Google::Apis::Core::Hashable
|
1952
|
+
|
1953
|
+
# "": ""
|
1954
|
+
# Corresponds to the JSON property `digest`
|
1955
|
+
# @return [Hash<String,String>]
|
1956
|
+
attr_accessor :digest
|
1957
|
+
|
1958
|
+
#
|
1959
|
+
# Corresponds to the JSON property `name`
|
1960
|
+
# @return [String]
|
1961
|
+
attr_accessor :name
|
1962
|
+
|
1963
|
+
def initialize(**args)
|
1964
|
+
update!(**args)
|
1965
|
+
end
|
1966
|
+
|
1967
|
+
# Update properties of this object
|
1968
|
+
def update!(**args)
|
1969
|
+
@digest = args[:digest] if args.key?(:digest)
|
1970
|
+
@name = args[:name] if args.key?(:name)
|
1971
|
+
end
|
1972
|
+
end
|
1973
|
+
|
1601
1974
|
# The Upgrade Distribution represents metadata about the Upgrade for each
|
1602
1975
|
# operating system (CPE). Some distributions have additional metadata around
|
1603
1976
|
# updates, classifying them into various categories and severities.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OndemandscanningV1beta1
|
18
18
|
# Version of the google-apis-ondemandscanning_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210731"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class BuilderConfig
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class Category
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -100,12 +106,24 @@ module Google
|
|
100
106
|
include Google::Apis::Core::JsonObjectSupport
|
101
107
|
end
|
102
108
|
|
109
|
+
class Completeness
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class ComplianceOccurrence
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
106
118
|
include Google::Apis::Core::JsonObjectSupport
|
107
119
|
end
|
108
120
|
|
121
|
+
class DsseAttestationOccurrence
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
109
127
|
class DeploymentOccurrence
|
110
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
129
|
|
@@ -124,6 +142,18 @@ module Google
|
|
124
142
|
include Google::Apis::Core::JsonObjectSupport
|
125
143
|
end
|
126
144
|
|
145
|
+
class Envelope
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class EnvelopeSignature
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
127
157
|
class FileHashes
|
128
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
159
|
|
@@ -166,6 +196,18 @@ module Google
|
|
166
196
|
include Google::Apis::Core::JsonObjectSupport
|
167
197
|
end
|
168
198
|
|
199
|
+
class InTotoProvenance
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class InTotoStatement
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
169
211
|
class Jwt
|
170
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
213
|
|
@@ -196,6 +238,12 @@ module Google
|
|
196
238
|
include Google::Apis::Core::JsonObjectSupport
|
197
239
|
end
|
198
240
|
|
241
|
+
class Metadata
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
199
247
|
class NonCompliantFile
|
200
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
249
|
|
@@ -238,6 +286,12 @@ module Google
|
|
238
286
|
include Google::Apis::Core::JsonObjectSupport
|
239
287
|
end
|
240
288
|
|
289
|
+
class Recipe
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
241
295
|
class RelatedUrl
|
242
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
297
|
|
@@ -274,6 +328,12 @@ module Google
|
|
274
328
|
include Google::Apis::Core::JsonObjectSupport
|
275
329
|
end
|
276
330
|
|
331
|
+
class Subject
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
277
337
|
class UpgradeDistribution
|
278
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
339
|
|
@@ -374,6 +434,8 @@ module Google
|
|
374
434
|
class BuildOccurrence
|
375
435
|
# @private
|
376
436
|
class Representation < Google::Apis::Core::JsonRepresentation
|
437
|
+
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::OndemandscanningV1beta1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1beta1::InTotoProvenance::Representation
|
438
|
+
|
377
439
|
property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1beta1::BuildProvenance, decorator: Google::Apis::OndemandscanningV1beta1::BuildProvenance::Representation
|
378
440
|
|
379
441
|
property :provenance_bytes, as: 'provenanceBytes'
|
@@ -402,6 +464,13 @@ module Google
|
|
402
464
|
end
|
403
465
|
end
|
404
466
|
|
467
|
+
class BuilderConfig
|
468
|
+
# @private
|
469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
470
|
+
property :id, as: 'id'
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
405
474
|
class Category
|
406
475
|
# @private
|
407
476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -433,6 +502,15 @@ module Google
|
|
433
502
|
end
|
434
503
|
end
|
435
504
|
|
505
|
+
class Completeness
|
506
|
+
# @private
|
507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
508
|
+
property :arguments, as: 'arguments'
|
509
|
+
property :environment, as: 'environment'
|
510
|
+
property :materials, as: 'materials'
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
436
514
|
class ComplianceOccurrence
|
437
515
|
# @private
|
438
516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -442,6 +520,16 @@ module Google
|
|
442
520
|
end
|
443
521
|
end
|
444
522
|
|
523
|
+
class DsseAttestationOccurrence
|
524
|
+
# @private
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
+
property :envelope, as: 'envelope', class: Google::Apis::OndemandscanningV1beta1::Envelope, decorator: Google::Apis::OndemandscanningV1beta1::Envelope::Representation
|
527
|
+
|
528
|
+
property :statement, as: 'statement', class: Google::Apis::OndemandscanningV1beta1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1beta1::InTotoStatement::Representation
|
529
|
+
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
445
533
|
class DeploymentOccurrence
|
446
534
|
# @private
|
447
535
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -473,6 +561,24 @@ module Google
|
|
473
561
|
end
|
474
562
|
end
|
475
563
|
|
564
|
+
class Envelope
|
565
|
+
# @private
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
567
|
+
property :payload, :base64 => true, as: 'payload'
|
568
|
+
property :payload_type, as: 'payloadType'
|
569
|
+
collection :signatures, as: 'signatures', class: Google::Apis::OndemandscanningV1beta1::EnvelopeSignature, decorator: Google::Apis::OndemandscanningV1beta1::EnvelopeSignature::Representation
|
570
|
+
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
class EnvelopeSignature
|
575
|
+
# @private
|
576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
property :keyid, as: 'keyid'
|
578
|
+
property :sig, :base64 => true, as: 'sig'
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
476
582
|
class FileHashes
|
477
583
|
# @private
|
478
584
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -537,6 +643,31 @@ module Google
|
|
537
643
|
end
|
538
644
|
end
|
539
645
|
|
646
|
+
class InTotoProvenance
|
647
|
+
# @private
|
648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
property :builder_config, as: 'builderConfig', class: Google::Apis::OndemandscanningV1beta1::BuilderConfig, decorator: Google::Apis::OndemandscanningV1beta1::BuilderConfig::Representation
|
650
|
+
|
651
|
+
collection :materials, as: 'materials'
|
652
|
+
property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1beta1::Metadata, decorator: Google::Apis::OndemandscanningV1beta1::Metadata::Representation
|
653
|
+
|
654
|
+
property :recipe, as: 'recipe', class: Google::Apis::OndemandscanningV1beta1::Recipe, decorator: Google::Apis::OndemandscanningV1beta1::Recipe::Representation
|
655
|
+
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
class InTotoStatement
|
660
|
+
# @private
|
661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
662
|
+
property :predicate_type, as: 'predicateType'
|
663
|
+
property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1beta1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1beta1::InTotoProvenance::Representation
|
664
|
+
|
665
|
+
collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1beta1::Subject, decorator: Google::Apis::OndemandscanningV1beta1::Subject::Representation
|
666
|
+
|
667
|
+
property :type, as: 'type'
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
540
671
|
class Jwt
|
541
672
|
# @private
|
542
673
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -580,6 +711,18 @@ module Google
|
|
580
711
|
end
|
581
712
|
end
|
582
713
|
|
714
|
+
class Metadata
|
715
|
+
# @private
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
717
|
+
property :build_finished_on, as: 'buildFinishedOn'
|
718
|
+
property :build_invocation_id, as: 'buildInvocationId'
|
719
|
+
property :build_started_on, as: 'buildStartedOn'
|
720
|
+
property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1beta1::Completeness, decorator: Google::Apis::OndemandscanningV1beta1::Completeness::Representation
|
721
|
+
|
722
|
+
property :reproducible, as: 'reproducible'
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
583
726
|
class NonCompliantFile
|
584
727
|
# @private
|
585
728
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -603,6 +746,10 @@ module Google
|
|
603
746
|
|
604
747
|
property :discovery, as: 'discovery', class: Google::Apis::OndemandscanningV1beta1::DiscoveryOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::DiscoveryOccurrence::Representation
|
605
748
|
|
749
|
+
property :dsse_attestation, as: 'dsseAttestation', class: Google::Apis::OndemandscanningV1beta1::DsseAttestationOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::DsseAttestationOccurrence::Representation
|
750
|
+
|
751
|
+
property :envelope, as: 'envelope', class: Google::Apis::OndemandscanningV1beta1::Envelope, decorator: Google::Apis::OndemandscanningV1beta1::Envelope::Representation
|
752
|
+
|
606
753
|
property :image, as: 'image', class: Google::Apis::OndemandscanningV1beta1::ImageOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::ImageOccurrence::Representation
|
607
754
|
|
608
755
|
property :kind, as: 'kind'
|
@@ -677,6 +824,17 @@ module Google
|
|
677
824
|
end
|
678
825
|
end
|
679
826
|
|
827
|
+
class Recipe
|
828
|
+
# @private
|
829
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
830
|
+
collection :arguments, as: 'arguments'
|
831
|
+
property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
|
832
|
+
property :entry_point, as: 'entryPoint'
|
833
|
+
hash :environment, as: 'environment'
|
834
|
+
property :type, as: 'type'
|
835
|
+
end
|
836
|
+
end
|
837
|
+
|
680
838
|
class RelatedUrl
|
681
839
|
# @private
|
682
840
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -737,6 +895,14 @@ module Google
|
|
737
895
|
end
|
738
896
|
end
|
739
897
|
|
898
|
+
class Subject
|
899
|
+
# @private
|
900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
901
|
+
hash :digest, as: 'digest'
|
902
|
+
property :name, as: 'name'
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
740
906
|
class UpgradeDistribution
|
741
907
|
# @private
|
742
908
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ondemandscanning_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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: 2021-
|
11
|
+
date: 2021-08-09 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/master/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.11.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|