google-apis-ondemandscanning_v1beta1 0.10.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/ondemandscanning_v1beta1/classes.rb +644 -1
- data/lib/google/apis/ondemandscanning_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/ondemandscanning_v1beta1/representations.rb +269 -0
- data/lib/google/apis/ondemandscanning_v1beta1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15b67f782f5ba2490b1c8e503b632eb1225c01d665c7939194e1d989e77bc697
|
4
|
+
data.tar.gz: 92ca0a09c8c4bb4982acced543cb25432cdb7d165369dfdd33ef7475b620ab74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 806717a4122076c3550cc29679975b627548120ac9834a8a9495d24d3bc0843a27442bffdefa5be14387de371b10680a43a258fa65df1953425db1e3b02f6c16
|
7
|
+
data.tar.gz: ca118a54dc3db41f4f75ec010a9df5e1122272244a279fd27695640f146e1512e21c7abe963fda1215a197134dc86f4de540bc96b424efdc50e4df9d53bd5abc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1beta1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-11-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211029
|
6
|
+
|
7
|
+
### v0.13.0 (2021-10-21)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.12.0 (2021-09-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210824
|
14
|
+
|
15
|
+
### v0.11.0 (2021-08-05)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210731
|
18
|
+
|
3
19
|
### v0.10.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Ondemandscanning service in particular.)
|
67
67
|
|
@@ -253,6 +253,19 @@ module Google
|
|
253
253
|
class BuildOccurrence
|
254
254
|
include Google::Apis::Core::Hashable
|
255
255
|
|
256
|
+
# Deprecated. See InTotoStatement for the replacement. In-toto Provenance
|
257
|
+
# representation as defined in spec.
|
258
|
+
# Corresponds to the JSON property `intotoProvenance`
|
259
|
+
# @return [Google::Apis::OndemandscanningV1beta1::InTotoProvenance]
|
260
|
+
attr_accessor :intoto_provenance
|
261
|
+
|
262
|
+
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
263
|
+
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
264
|
+
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
265
|
+
# Corresponds to the JSON property `intotoStatement`
|
266
|
+
# @return [Google::Apis::OndemandscanningV1beta1::InTotoStatement]
|
267
|
+
attr_accessor :intoto_statement
|
268
|
+
|
256
269
|
# Provenance of a build. Contains all information needed to verify the full
|
257
270
|
# details about the build from source to completion.
|
258
271
|
# Corresponds to the JSON property `provenance`
|
@@ -277,6 +290,8 @@ module Google
|
|
277
290
|
|
278
291
|
# Update properties of this object
|
279
292
|
def update!(**args)
|
293
|
+
@intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
|
294
|
+
@intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
|
280
295
|
@provenance = args[:provenance] if args.key?(:provenance)
|
281
296
|
@provenance_bytes = args[:provenance_bytes] if args.key?(:provenance_bytes)
|
282
297
|
end
|
@@ -377,6 +392,25 @@ module Google
|
|
377
392
|
end
|
378
393
|
end
|
379
394
|
|
395
|
+
#
|
396
|
+
class BuilderConfig
|
397
|
+
include Google::Apis::Core::Hashable
|
398
|
+
|
399
|
+
#
|
400
|
+
# Corresponds to the JSON property `id`
|
401
|
+
# @return [String]
|
402
|
+
attr_accessor :id
|
403
|
+
|
404
|
+
def initialize(**args)
|
405
|
+
update!(**args)
|
406
|
+
end
|
407
|
+
|
408
|
+
# Update properties of this object
|
409
|
+
def update!(**args)
|
410
|
+
@id = args[:id] if args.key?(:id)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
380
414
|
# The category to which the update belongs.
|
381
415
|
class Category
|
382
416
|
include Google::Apis::Core::Hashable
|
@@ -486,6 +520,43 @@ module Google
|
|
486
520
|
end
|
487
521
|
end
|
488
522
|
|
523
|
+
# Indicates that the builder claims certain fields in this message to be
|
524
|
+
# complete.
|
525
|
+
class Completeness
|
526
|
+
include Google::Apis::Core::Hashable
|
527
|
+
|
528
|
+
# If true, the builder claims that recipe.arguments is complete, meaning that
|
529
|
+
# all external inputs are properly captured in the recipe.
|
530
|
+
# Corresponds to the JSON property `arguments`
|
531
|
+
# @return [Boolean]
|
532
|
+
attr_accessor :arguments
|
533
|
+
alias_method :arguments?, :arguments
|
534
|
+
|
535
|
+
# If true, the builder claims that recipe.environment is claimed to be complete.
|
536
|
+
# Corresponds to the JSON property `environment`
|
537
|
+
# @return [Boolean]
|
538
|
+
attr_accessor :environment
|
539
|
+
alias_method :environment?, :environment
|
540
|
+
|
541
|
+
# If true, the builder claims that materials are complete, usually through some
|
542
|
+
# controls to prevent network access. Sometimes called "hermetic".
|
543
|
+
# Corresponds to the JSON property `materials`
|
544
|
+
# @return [Boolean]
|
545
|
+
attr_accessor :materials
|
546
|
+
alias_method :materials?, :materials
|
547
|
+
|
548
|
+
def initialize(**args)
|
549
|
+
update!(**args)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Update properties of this object
|
553
|
+
def update!(**args)
|
554
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
555
|
+
@environment = args[:environment] if args.key?(:environment)
|
556
|
+
@materials = args[:materials] if args.key?(:materials)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
489
560
|
# An indication that the compliance checks in the associated ComplianceNote were
|
490
561
|
# not satisfied for particular resources or a specified reason.
|
491
562
|
class ComplianceOccurrence
|
@@ -512,6 +583,35 @@ module Google
|
|
512
583
|
end
|
513
584
|
end
|
514
585
|
|
586
|
+
# Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at
|
587
|
+
# the top level of the Occurrence.
|
588
|
+
class DsseAttestationOccurrence
|
589
|
+
include Google::Apis::Core::Hashable
|
590
|
+
|
591
|
+
# MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
|
592
|
+
# proto. An authenticated message of arbitrary type.
|
593
|
+
# Corresponds to the JSON property `envelope`
|
594
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Envelope]
|
595
|
+
attr_accessor :envelope
|
596
|
+
|
597
|
+
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
598
|
+
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
599
|
+
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
600
|
+
# Corresponds to the JSON property `statement`
|
601
|
+
# @return [Google::Apis::OndemandscanningV1beta1::InTotoStatement]
|
602
|
+
attr_accessor :statement
|
603
|
+
|
604
|
+
def initialize(**args)
|
605
|
+
update!(**args)
|
606
|
+
end
|
607
|
+
|
608
|
+
# Update properties of this object
|
609
|
+
def update!(**args)
|
610
|
+
@envelope = args[:envelope] if args.key?(:envelope)
|
611
|
+
@statement = args[:statement] if args.key?(:statement)
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
515
615
|
# The period during which some deployable was active in a runtime.
|
516
616
|
class DeploymentOccurrence
|
517
617
|
include Google::Apis::Core::Hashable
|
@@ -633,6 +733,65 @@ module Google
|
|
633
733
|
end
|
634
734
|
end
|
635
735
|
|
736
|
+
# MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
|
737
|
+
# proto. An authenticated message of arbitrary type.
|
738
|
+
class Envelope
|
739
|
+
include Google::Apis::Core::Hashable
|
740
|
+
|
741
|
+
#
|
742
|
+
# Corresponds to the JSON property `payload`
|
743
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
744
|
+
# @return [String]
|
745
|
+
attr_accessor :payload
|
746
|
+
|
747
|
+
#
|
748
|
+
# Corresponds to the JSON property `payloadType`
|
749
|
+
# @return [String]
|
750
|
+
attr_accessor :payload_type
|
751
|
+
|
752
|
+
#
|
753
|
+
# Corresponds to the JSON property `signatures`
|
754
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::EnvelopeSignature>]
|
755
|
+
attr_accessor :signatures
|
756
|
+
|
757
|
+
def initialize(**args)
|
758
|
+
update!(**args)
|
759
|
+
end
|
760
|
+
|
761
|
+
# Update properties of this object
|
762
|
+
def update!(**args)
|
763
|
+
@payload = args[:payload] if args.key?(:payload)
|
764
|
+
@payload_type = args[:payload_type] if args.key?(:payload_type)
|
765
|
+
@signatures = args[:signatures] if args.key?(:signatures)
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
#
|
770
|
+
class EnvelopeSignature
|
771
|
+
include Google::Apis::Core::Hashable
|
772
|
+
|
773
|
+
#
|
774
|
+
# Corresponds to the JSON property `keyid`
|
775
|
+
# @return [String]
|
776
|
+
attr_accessor :keyid
|
777
|
+
|
778
|
+
#
|
779
|
+
# Corresponds to the JSON property `sig`
|
780
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
781
|
+
# @return [String]
|
782
|
+
attr_accessor :sig
|
783
|
+
|
784
|
+
def initialize(**args)
|
785
|
+
update!(**args)
|
786
|
+
end
|
787
|
+
|
788
|
+
# Update properties of this object
|
789
|
+
def update!(**args)
|
790
|
+
@keyid = args[:keyid] if args.key?(:keyid)
|
791
|
+
@sig = args[:sig] if args.key?(:sig)
|
792
|
+
end
|
793
|
+
end
|
794
|
+
|
636
795
|
# Container message for hashes of byte content of files, used in source messages
|
637
796
|
# to verify integrity of source input to the build.
|
638
797
|
class FileHashes
|
@@ -843,6 +1002,92 @@ module Google
|
|
843
1002
|
end
|
844
1003
|
end
|
845
1004
|
|
1005
|
+
#
|
1006
|
+
class InTotoProvenance
|
1007
|
+
include Google::Apis::Core::Hashable
|
1008
|
+
|
1009
|
+
# required
|
1010
|
+
# Corresponds to the JSON property `builderConfig`
|
1011
|
+
# @return [Google::Apis::OndemandscanningV1beta1::BuilderConfig]
|
1012
|
+
attr_accessor :builder_config
|
1013
|
+
|
1014
|
+
# The collection of artifacts that influenced the build including sources,
|
1015
|
+
# dependencies, build tools, base images, and so on. This is considered to be
|
1016
|
+
# incomplete unless metadata.completeness.materials is true. Unset or null is
|
1017
|
+
# equivalent to empty.
|
1018
|
+
# Corresponds to the JSON property `materials`
|
1019
|
+
# @return [Array<String>]
|
1020
|
+
attr_accessor :materials
|
1021
|
+
|
1022
|
+
# Other properties of the build.
|
1023
|
+
# Corresponds to the JSON property `metadata`
|
1024
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Metadata]
|
1025
|
+
attr_accessor :metadata
|
1026
|
+
|
1027
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
1028
|
+
# corresponds to one step in the recipe.
|
1029
|
+
# Corresponds to the JSON property `recipe`
|
1030
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Recipe]
|
1031
|
+
attr_accessor :recipe
|
1032
|
+
|
1033
|
+
def initialize(**args)
|
1034
|
+
update!(**args)
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# Update properties of this object
|
1038
|
+
def update!(**args)
|
1039
|
+
@builder_config = args[:builder_config] if args.key?(:builder_config)
|
1040
|
+
@materials = args[:materials] if args.key?(:materials)
|
1041
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1042
|
+
@recipe = args[:recipe] if args.key?(:recipe)
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
1047
|
+
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
1048
|
+
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
1049
|
+
class InTotoStatement
|
1050
|
+
include Google::Apis::Core::Hashable
|
1051
|
+
|
1052
|
+
# Always "https://in-toto.io/Statement/v0.1".
|
1053
|
+
# Corresponds to the JSON property `_type`
|
1054
|
+
# @return [String]
|
1055
|
+
attr_accessor :_type
|
1056
|
+
|
1057
|
+
# "https://slsa.dev/provenance/v0.1" for SlsaProvenance.
|
1058
|
+
# Corresponds to the JSON property `predicateType`
|
1059
|
+
# @return [String]
|
1060
|
+
attr_accessor :predicate_type
|
1061
|
+
|
1062
|
+
#
|
1063
|
+
# Corresponds to the JSON property `provenance`
|
1064
|
+
# @return [Google::Apis::OndemandscanningV1beta1::InTotoProvenance]
|
1065
|
+
attr_accessor :provenance
|
1066
|
+
|
1067
|
+
#
|
1068
|
+
# Corresponds to the JSON property `slsaProvenance`
|
1069
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenance]
|
1070
|
+
attr_accessor :slsa_provenance
|
1071
|
+
|
1072
|
+
#
|
1073
|
+
# Corresponds to the JSON property `subject`
|
1074
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::Subject>]
|
1075
|
+
attr_accessor :subject
|
1076
|
+
|
1077
|
+
def initialize(**args)
|
1078
|
+
update!(**args)
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
# Update properties of this object
|
1082
|
+
def update!(**args)
|
1083
|
+
@_type = args[:_type] if args.key?(:_type)
|
1084
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
1085
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1086
|
+
@slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
|
1087
|
+
@subject = args[:subject] if args.key?(:subject)
|
1088
|
+
end
|
1089
|
+
end
|
1090
|
+
|
846
1091
|
#
|
847
1092
|
class Jwt
|
848
1093
|
include Google::Apis::Core::Hashable
|
@@ -975,6 +1220,79 @@ module Google
|
|
975
1220
|
end
|
976
1221
|
end
|
977
1222
|
|
1223
|
+
#
|
1224
|
+
class Material
|
1225
|
+
include Google::Apis::Core::Hashable
|
1226
|
+
|
1227
|
+
#
|
1228
|
+
# Corresponds to the JSON property `digest`
|
1229
|
+
# @return [Hash<String,String>]
|
1230
|
+
attr_accessor :digest
|
1231
|
+
|
1232
|
+
#
|
1233
|
+
# Corresponds to the JSON property `uri`
|
1234
|
+
# @return [String]
|
1235
|
+
attr_accessor :uri
|
1236
|
+
|
1237
|
+
def initialize(**args)
|
1238
|
+
update!(**args)
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# Update properties of this object
|
1242
|
+
def update!(**args)
|
1243
|
+
@digest = args[:digest] if args.key?(:digest)
|
1244
|
+
@uri = args[:uri] if args.key?(:uri)
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
# Other properties of the build.
|
1249
|
+
class Metadata
|
1250
|
+
include Google::Apis::Core::Hashable
|
1251
|
+
|
1252
|
+
# The timestamp of when the build completed.
|
1253
|
+
# Corresponds to the JSON property `buildFinishedOn`
|
1254
|
+
# @return [String]
|
1255
|
+
attr_accessor :build_finished_on
|
1256
|
+
|
1257
|
+
# Identifies the particular build invocation, which can be useful for finding
|
1258
|
+
# associated logs or other ad-hoc analysis. The value SHOULD be globally unique,
|
1259
|
+
# per in-toto Provenance spec.
|
1260
|
+
# Corresponds to the JSON property `buildInvocationId`
|
1261
|
+
# @return [String]
|
1262
|
+
attr_accessor :build_invocation_id
|
1263
|
+
|
1264
|
+
# The timestamp of when the build started.
|
1265
|
+
# Corresponds to the JSON property `buildStartedOn`
|
1266
|
+
# @return [String]
|
1267
|
+
attr_accessor :build_started_on
|
1268
|
+
|
1269
|
+
# Indicates that the builder claims certain fields in this message to be
|
1270
|
+
# complete.
|
1271
|
+
# Corresponds to the JSON property `completeness`
|
1272
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Completeness]
|
1273
|
+
attr_accessor :completeness
|
1274
|
+
|
1275
|
+
# If true, the builder claims that running the recipe on materials will produce
|
1276
|
+
# bit-for-bit identical output.
|
1277
|
+
# Corresponds to the JSON property `reproducible`
|
1278
|
+
# @return [Boolean]
|
1279
|
+
attr_accessor :reproducible
|
1280
|
+
alias_method :reproducible?, :reproducible
|
1281
|
+
|
1282
|
+
def initialize(**args)
|
1283
|
+
update!(**args)
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
# Update properties of this object
|
1287
|
+
def update!(**args)
|
1288
|
+
@build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
|
1289
|
+
@build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
|
1290
|
+
@build_started_on = args[:build_started_on] if args.key?(:build_started_on)
|
1291
|
+
@completeness = args[:completeness] if args.key?(:completeness)
|
1292
|
+
@reproducible = args[:reproducible] if args.key?(:reproducible)
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
978
1296
|
# Details about files that caused a compliance check to fail.
|
979
1297
|
class NonCompliantFile
|
980
1298
|
include Google::Apis::Core::Hashable
|
@@ -1049,6 +1367,18 @@ module Google
|
|
1049
1367
|
# @return [Google::Apis::OndemandscanningV1beta1::DiscoveryOccurrence]
|
1050
1368
|
attr_accessor :discovery
|
1051
1369
|
|
1370
|
+
# Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at
|
1371
|
+
# the top level of the Occurrence.
|
1372
|
+
# Corresponds to the JSON property `dsseAttestation`
|
1373
|
+
# @return [Google::Apis::OndemandscanningV1beta1::DsseAttestationOccurrence]
|
1374
|
+
attr_accessor :dsse_attestation
|
1375
|
+
|
1376
|
+
# MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
|
1377
|
+
# proto. An authenticated message of arbitrary type.
|
1378
|
+
# Corresponds to the JSON property `envelope`
|
1379
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Envelope]
|
1380
|
+
attr_accessor :envelope
|
1381
|
+
|
1052
1382
|
# Details of the derived image portion of the DockerImage relationship. This
|
1053
1383
|
# image would be produced from a Dockerfile with FROM .
|
1054
1384
|
# Corresponds to the JSON property `image`
|
@@ -1122,6 +1452,8 @@ module Google
|
|
1122
1452
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1123
1453
|
@deployment = args[:deployment] if args.key?(:deployment)
|
1124
1454
|
@discovery = args[:discovery] if args.key?(:discovery)
|
1455
|
+
@dsse_attestation = args[:dsse_attestation] if args.key?(:dsse_attestation)
|
1456
|
+
@envelope = args[:envelope] if args.key?(:envelope)
|
1125
1457
|
@image = args[:image] if args.key?(:image)
|
1126
1458
|
@kind = args[:kind] if args.key?(:kind)
|
1127
1459
|
@name = args[:name] if args.key?(:name)
|
@@ -1277,6 +1609,13 @@ module Google
|
|
1277
1609
|
# @return [Google::Apis::OndemandscanningV1beta1::Version]
|
1278
1610
|
attr_accessor :affected_version
|
1279
1611
|
|
1612
|
+
# Output only. The distro or language system assigned severity for this
|
1613
|
+
# vulnerability when that is available and note provider assigned severity when
|
1614
|
+
# it is not available.
|
1615
|
+
# Corresponds to the JSON property `effectiveSeverity`
|
1616
|
+
# @return [String]
|
1617
|
+
attr_accessor :effective_severity
|
1618
|
+
|
1280
1619
|
# Output only. Whether a fix is available for this package.
|
1281
1620
|
# Corresponds to the JSON property `fixAvailable`
|
1282
1621
|
# @return [Boolean]
|
@@ -1300,6 +1639,11 @@ module Google
|
|
1300
1639
|
# @return [Google::Apis::OndemandscanningV1beta1::Version]
|
1301
1640
|
attr_accessor :fixed_version
|
1302
1641
|
|
1642
|
+
# The type of package (e.g. OS, MAVEN, GO).
|
1643
|
+
# Corresponds to the JSON property `packageType`
|
1644
|
+
# @return [String]
|
1645
|
+
attr_accessor :package_type
|
1646
|
+
|
1303
1647
|
def initialize(**args)
|
1304
1648
|
update!(**args)
|
1305
1649
|
end
|
@@ -1309,10 +1653,12 @@ module Google
|
|
1309
1653
|
@affected_cpe_uri = args[:affected_cpe_uri] if args.key?(:affected_cpe_uri)
|
1310
1654
|
@affected_package = args[:affected_package] if args.key?(:affected_package)
|
1311
1655
|
@affected_version = args[:affected_version] if args.key?(:affected_version)
|
1656
|
+
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
1312
1657
|
@fix_available = args[:fix_available] if args.key?(:fix_available)
|
1313
1658
|
@fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
|
1314
1659
|
@fixed_package = args[:fixed_package] if args.key?(:fixed_package)
|
1315
1660
|
@fixed_version = args[:fixed_version] if args.key?(:fixed_version)
|
1661
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1316
1662
|
end
|
1317
1663
|
end
|
1318
1664
|
|
@@ -1368,6 +1714,67 @@ module Google
|
|
1368
1714
|
end
|
1369
1715
|
end
|
1370
1716
|
|
1717
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
1718
|
+
# corresponds to one step in the recipe.
|
1719
|
+
class Recipe
|
1720
|
+
include Google::Apis::Core::Hashable
|
1721
|
+
|
1722
|
+
# Collection of all external inputs that influenced the build on top of recipe.
|
1723
|
+
# definedInMaterial and recipe.entryPoint. For example, if the recipe type were "
|
1724
|
+
# make", then this might be the flags passed to make aside from the target,
|
1725
|
+
# which is captured in recipe.entryPoint. Since the arguments field can greatly
|
1726
|
+
# vary in structure, depending on the builder and recipe type, this is of form "
|
1727
|
+
# Any".
|
1728
|
+
# Corresponds to the JSON property `arguments`
|
1729
|
+
# @return [Array<Hash<String,Object>>]
|
1730
|
+
attr_accessor :arguments
|
1731
|
+
|
1732
|
+
# Index in materials containing the recipe steps that are not implied by recipe.
|
1733
|
+
# type. For example, if the recipe type were "make", then this would point to
|
1734
|
+
# the source containing the Makefile, not the make program itself. Set to -1 if
|
1735
|
+
# the recipe doesn't come from a material, as zero is default unset value for
|
1736
|
+
# int64.
|
1737
|
+
# Corresponds to the JSON property `definedInMaterial`
|
1738
|
+
# @return [Fixnum]
|
1739
|
+
attr_accessor :defined_in_material
|
1740
|
+
|
1741
|
+
# String identifying the entry point into the build. This is often a path to a
|
1742
|
+
# configuration file and/or a target label within that file. The syntax and
|
1743
|
+
# meaning are defined by recipe.type. For example, if the recipe type were "make"
|
1744
|
+
# , then this would reference the directory in which to run make as well as
|
1745
|
+
# which target to use.
|
1746
|
+
# Corresponds to the JSON property `entryPoint`
|
1747
|
+
# @return [String]
|
1748
|
+
attr_accessor :entry_point
|
1749
|
+
|
1750
|
+
# Any other builder-controlled inputs necessary for correctly evaluating the
|
1751
|
+
# recipe. Usually only needed for reproducing the build but not evaluated as
|
1752
|
+
# part of policy. Since the environment field can greatly vary in structure,
|
1753
|
+
# depending on the builder and recipe type, this is of form "Any".
|
1754
|
+
# Corresponds to the JSON property `environment`
|
1755
|
+
# @return [Array<Hash<String,Object>>]
|
1756
|
+
attr_accessor :environment
|
1757
|
+
|
1758
|
+
# URI indicating what type of recipe was performed. It determines the meaning of
|
1759
|
+
# recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
|
1760
|
+
# Corresponds to the JSON property `type`
|
1761
|
+
# @return [String]
|
1762
|
+
attr_accessor :type
|
1763
|
+
|
1764
|
+
def initialize(**args)
|
1765
|
+
update!(**args)
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
# Update properties of this object
|
1769
|
+
def update!(**args)
|
1770
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
1771
|
+
@defined_in_material = args[:defined_in_material] if args.key?(:defined_in_material)
|
1772
|
+
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
1773
|
+
@environment = args[:environment] if args.key?(:environment)
|
1774
|
+
@type = args[:type] if args.key?(:type)
|
1775
|
+
end
|
1776
|
+
end
|
1777
|
+
|
1371
1778
|
# Metadata for any related URL information.
|
1372
1779
|
class RelatedUrl
|
1373
1780
|
include Google::Apis::Core::Hashable
|
@@ -1474,6 +1881,210 @@ module Google
|
|
1474
1881
|
end
|
1475
1882
|
end
|
1476
1883
|
|
1884
|
+
#
|
1885
|
+
class SlsaBuilder
|
1886
|
+
include Google::Apis::Core::Hashable
|
1887
|
+
|
1888
|
+
#
|
1889
|
+
# Corresponds to the JSON property `id`
|
1890
|
+
# @return [String]
|
1891
|
+
attr_accessor :id
|
1892
|
+
|
1893
|
+
def initialize(**args)
|
1894
|
+
update!(**args)
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
# Update properties of this object
|
1898
|
+
def update!(**args)
|
1899
|
+
@id = args[:id] if args.key?(:id)
|
1900
|
+
end
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
# Indicates that the builder claims certain fields in this message to be
|
1904
|
+
# complete.
|
1905
|
+
class SlsaCompleteness
|
1906
|
+
include Google::Apis::Core::Hashable
|
1907
|
+
|
1908
|
+
# If true, the builder claims that recipe.arguments is complete, meaning that
|
1909
|
+
# all external inputs are properly captured in the recipe.
|
1910
|
+
# Corresponds to the JSON property `arguments`
|
1911
|
+
# @return [Boolean]
|
1912
|
+
attr_accessor :arguments
|
1913
|
+
alias_method :arguments?, :arguments
|
1914
|
+
|
1915
|
+
# If true, the builder claims that recipe.environment is claimed to be complete.
|
1916
|
+
# Corresponds to the JSON property `environment`
|
1917
|
+
# @return [Boolean]
|
1918
|
+
attr_accessor :environment
|
1919
|
+
alias_method :environment?, :environment
|
1920
|
+
|
1921
|
+
# If true, the builder claims that materials are complete, usually through some
|
1922
|
+
# controls to prevent network access. Sometimes called "hermetic".
|
1923
|
+
# Corresponds to the JSON property `materials`
|
1924
|
+
# @return [Boolean]
|
1925
|
+
attr_accessor :materials
|
1926
|
+
alias_method :materials?, :materials
|
1927
|
+
|
1928
|
+
def initialize(**args)
|
1929
|
+
update!(**args)
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
# Update properties of this object
|
1933
|
+
def update!(**args)
|
1934
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
1935
|
+
@environment = args[:environment] if args.key?(:environment)
|
1936
|
+
@materials = args[:materials] if args.key?(:materials)
|
1937
|
+
end
|
1938
|
+
end
|
1939
|
+
|
1940
|
+
# Other properties of the build.
|
1941
|
+
class SlsaMetadata
|
1942
|
+
include Google::Apis::Core::Hashable
|
1943
|
+
|
1944
|
+
# The timestamp of when the build completed.
|
1945
|
+
# Corresponds to the JSON property `buildFinishedOn`
|
1946
|
+
# @return [String]
|
1947
|
+
attr_accessor :build_finished_on
|
1948
|
+
|
1949
|
+
# Identifies the particular build invocation, which can be useful for finding
|
1950
|
+
# associated logs or other ad-hoc analysis. The value SHOULD be globally unique,
|
1951
|
+
# per in-toto Provenance spec.
|
1952
|
+
# Corresponds to the JSON property `buildInvocationId`
|
1953
|
+
# @return [String]
|
1954
|
+
attr_accessor :build_invocation_id
|
1955
|
+
|
1956
|
+
# The timestamp of when the build started.
|
1957
|
+
# Corresponds to the JSON property `buildStartedOn`
|
1958
|
+
# @return [String]
|
1959
|
+
attr_accessor :build_started_on
|
1960
|
+
|
1961
|
+
# Indicates that the builder claims certain fields in this message to be
|
1962
|
+
# complete.
|
1963
|
+
# Corresponds to the JSON property `completeness`
|
1964
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaCompleteness]
|
1965
|
+
attr_accessor :completeness
|
1966
|
+
|
1967
|
+
# If true, the builder claims that running the recipe on materials will produce
|
1968
|
+
# bit-for-bit identical output.
|
1969
|
+
# Corresponds to the JSON property `reproducible`
|
1970
|
+
# @return [Boolean]
|
1971
|
+
attr_accessor :reproducible
|
1972
|
+
alias_method :reproducible?, :reproducible
|
1973
|
+
|
1974
|
+
def initialize(**args)
|
1975
|
+
update!(**args)
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
# Update properties of this object
|
1979
|
+
def update!(**args)
|
1980
|
+
@build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
|
1981
|
+
@build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
|
1982
|
+
@build_started_on = args[:build_started_on] if args.key?(:build_started_on)
|
1983
|
+
@completeness = args[:completeness] if args.key?(:completeness)
|
1984
|
+
@reproducible = args[:reproducible] if args.key?(:reproducible)
|
1985
|
+
end
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
#
|
1989
|
+
class SlsaProvenance
|
1990
|
+
include Google::Apis::Core::Hashable
|
1991
|
+
|
1992
|
+
# required
|
1993
|
+
# Corresponds to the JSON property `builder`
|
1994
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaBuilder]
|
1995
|
+
attr_accessor :builder
|
1996
|
+
|
1997
|
+
# The collection of artifacts that influenced the build including sources,
|
1998
|
+
# dependencies, build tools, base images, and so on. This is considered to be
|
1999
|
+
# incomplete unless metadata.completeness.materials is true. Unset or null is
|
2000
|
+
# equivalent to empty.
|
2001
|
+
# Corresponds to the JSON property `materials`
|
2002
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::Material>]
|
2003
|
+
attr_accessor :materials
|
2004
|
+
|
2005
|
+
# Other properties of the build.
|
2006
|
+
# Corresponds to the JSON property `metadata`
|
2007
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaMetadata]
|
2008
|
+
attr_accessor :metadata
|
2009
|
+
|
2010
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
2011
|
+
# corresponds to one step in the recipe.
|
2012
|
+
# Corresponds to the JSON property `recipe`
|
2013
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaRecipe]
|
2014
|
+
attr_accessor :recipe
|
2015
|
+
|
2016
|
+
def initialize(**args)
|
2017
|
+
update!(**args)
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
# Update properties of this object
|
2021
|
+
def update!(**args)
|
2022
|
+
@builder = args[:builder] if args.key?(:builder)
|
2023
|
+
@materials = args[:materials] if args.key?(:materials)
|
2024
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2025
|
+
@recipe = args[:recipe] if args.key?(:recipe)
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
2030
|
+
# corresponds to one step in the recipe.
|
2031
|
+
class SlsaRecipe
|
2032
|
+
include Google::Apis::Core::Hashable
|
2033
|
+
|
2034
|
+
# Collection of all external inputs that influenced the build on top of recipe.
|
2035
|
+
# definedInMaterial and recipe.entryPoint. For example, if the recipe type were "
|
2036
|
+
# make", then this might be the flags passed to make aside from the target,
|
2037
|
+
# which is captured in recipe.entryPoint. Depending on the recipe Type, the
|
2038
|
+
# structure may be different.
|
2039
|
+
# Corresponds to the JSON property `arguments`
|
2040
|
+
# @return [Hash<String,Object>]
|
2041
|
+
attr_accessor :arguments
|
2042
|
+
|
2043
|
+
# Index in materials containing the recipe steps that are not implied by recipe.
|
2044
|
+
# type. For example, if the recipe type were "make", then this would point to
|
2045
|
+
# the source containing the Makefile, not the make program itself. Set to -1 if
|
2046
|
+
# the recipe doesn't come from a material, as zero is default unset value for
|
2047
|
+
# int64.
|
2048
|
+
# Corresponds to the JSON property `definedInMaterial`
|
2049
|
+
# @return [Fixnum]
|
2050
|
+
attr_accessor :defined_in_material
|
2051
|
+
|
2052
|
+
# String identifying the entry point into the build. This is often a path to a
|
2053
|
+
# configuration file and/or a target label within that file. The syntax and
|
2054
|
+
# meaning are defined by recipe.type. For example, if the recipe type were "make"
|
2055
|
+
# , then this would reference the directory in which to run make as well as
|
2056
|
+
# which target to use.
|
2057
|
+
# Corresponds to the JSON property `entryPoint`
|
2058
|
+
# @return [String]
|
2059
|
+
attr_accessor :entry_point
|
2060
|
+
|
2061
|
+
# Any other builder-controlled inputs necessary for correctly evaluating the
|
2062
|
+
# recipe. Usually only needed for reproducing the build but not evaluated as
|
2063
|
+
# part of policy. Depending on the recipe Type, the structure may be different.
|
2064
|
+
# Corresponds to the JSON property `environment`
|
2065
|
+
# @return [Hash<String,Object>]
|
2066
|
+
attr_accessor :environment
|
2067
|
+
|
2068
|
+
# URI indicating what type of recipe was performed. It determines the meaning of
|
2069
|
+
# recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
|
2070
|
+
# Corresponds to the JSON property `type`
|
2071
|
+
# @return [String]
|
2072
|
+
attr_accessor :type
|
2073
|
+
|
2074
|
+
def initialize(**args)
|
2075
|
+
update!(**args)
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
# Update properties of this object
|
2079
|
+
def update!(**args)
|
2080
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
2081
|
+
@defined_in_material = args[:defined_in_material] if args.key?(:defined_in_material)
|
2082
|
+
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
2083
|
+
@environment = args[:environment] if args.key?(:environment)
|
2084
|
+
@type = args[:type] if args.key?(:type)
|
2085
|
+
end
|
2086
|
+
end
|
2087
|
+
|
1477
2088
|
# Source describes the location of the source used for the build.
|
1478
2089
|
class Source
|
1479
2090
|
include Google::Apis::Core::Hashable
|
@@ -1598,6 +2209,32 @@ module Google
|
|
1598
2209
|
end
|
1599
2210
|
end
|
1600
2211
|
|
2212
|
+
#
|
2213
|
+
class Subject
|
2214
|
+
include Google::Apis::Core::Hashable
|
2215
|
+
|
2216
|
+
# "": "" Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/
|
2217
|
+
# attestation/blob/main/spec/field_types.md#DigestSet
|
2218
|
+
# Corresponds to the JSON property `digest`
|
2219
|
+
# @return [Hash<String,String>]
|
2220
|
+
attr_accessor :digest
|
2221
|
+
|
2222
|
+
#
|
2223
|
+
# Corresponds to the JSON property `name`
|
2224
|
+
# @return [String]
|
2225
|
+
attr_accessor :name
|
2226
|
+
|
2227
|
+
def initialize(**args)
|
2228
|
+
update!(**args)
|
2229
|
+
end
|
2230
|
+
|
2231
|
+
# Update properties of this object
|
2232
|
+
def update!(**args)
|
2233
|
+
@digest = args[:digest] if args.key?(:digest)
|
2234
|
+
@name = args[:name] if args.key?(:name)
|
2235
|
+
end
|
2236
|
+
end
|
2237
|
+
|
1601
2238
|
# The Upgrade Distribution represents metadata about the Upgrade for each
|
1602
2239
|
# operating system (CPE). Some distributions have additional metadata around
|
1603
2240
|
# updates, classifying them into various categories and severities.
|
@@ -1754,7 +2391,13 @@ module Google
|
|
1754
2391
|
attr_accessor :cvss_score
|
1755
2392
|
|
1756
2393
|
# The distro assigned severity for this vulnerability when it is available,
|
1757
|
-
# otherwise this is the note provider assigned severity.
|
2394
|
+
# otherwise this is the note provider assigned severity. When there are multiple
|
2395
|
+
# PackageIssues for this vulnerability, they can have different effective
|
2396
|
+
# severities because some might be provided by the distro while others are
|
2397
|
+
# provided by the language ecosystem for a language pack. For this reason, it is
|
2398
|
+
# advised to use the effective severity on the PackageIssue level. In the case
|
2399
|
+
# where multiple PackageIssues have differing effective severities, this field
|
2400
|
+
# should be the highest severity for any of the PackageIssues.
|
1758
2401
|
# Corresponds to the JSON property `effectiveSeverity`
|
1759
2402
|
# @return [String]
|
1760
2403
|
attr_accessor :effective_severity
|
@@ -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.14.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 = "20211029"
|
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,18 @@ module Google
|
|
196
238
|
include Google::Apis::Core::JsonObjectSupport
|
197
239
|
end
|
198
240
|
|
241
|
+
class Material
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class Metadata
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
199
253
|
class NonCompliantFile
|
200
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
255
|
|
@@ -238,6 +292,12 @@ module Google
|
|
238
292
|
include Google::Apis::Core::JsonObjectSupport
|
239
293
|
end
|
240
294
|
|
295
|
+
class Recipe
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
241
301
|
class RelatedUrl
|
242
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
303
|
|
@@ -256,6 +316,36 @@ module Google
|
|
256
316
|
include Google::Apis::Core::JsonObjectSupport
|
257
317
|
end
|
258
318
|
|
319
|
+
class SlsaBuilder
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class SlsaCompleteness
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class SlsaMetadata
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class SlsaProvenance
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class SlsaRecipe
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
259
349
|
class Source
|
260
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
351
|
|
@@ -274,6 +364,12 @@ module Google
|
|
274
364
|
include Google::Apis::Core::JsonObjectSupport
|
275
365
|
end
|
276
366
|
|
367
|
+
class Subject
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
277
373
|
class UpgradeDistribution
|
278
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
375
|
|
@@ -374,6 +470,10 @@ module Google
|
|
374
470
|
class BuildOccurrence
|
375
471
|
# @private
|
376
472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
+
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::OndemandscanningV1beta1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1beta1::InTotoProvenance::Representation
|
474
|
+
|
475
|
+
property :intoto_statement, as: 'intotoStatement', class: Google::Apis::OndemandscanningV1beta1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1beta1::InTotoStatement::Representation
|
476
|
+
|
377
477
|
property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1beta1::BuildProvenance, decorator: Google::Apis::OndemandscanningV1beta1::BuildProvenance::Representation
|
378
478
|
|
379
479
|
property :provenance_bytes, as: 'provenanceBytes'
|
@@ -402,6 +502,13 @@ module Google
|
|
402
502
|
end
|
403
503
|
end
|
404
504
|
|
505
|
+
class BuilderConfig
|
506
|
+
# @private
|
507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
508
|
+
property :id, as: 'id'
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
405
512
|
class Category
|
406
513
|
# @private
|
407
514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -433,6 +540,15 @@ module Google
|
|
433
540
|
end
|
434
541
|
end
|
435
542
|
|
543
|
+
class Completeness
|
544
|
+
# @private
|
545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
546
|
+
property :arguments, as: 'arguments'
|
547
|
+
property :environment, as: 'environment'
|
548
|
+
property :materials, as: 'materials'
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
436
552
|
class ComplianceOccurrence
|
437
553
|
# @private
|
438
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -442,6 +558,16 @@ module Google
|
|
442
558
|
end
|
443
559
|
end
|
444
560
|
|
561
|
+
class DsseAttestationOccurrence
|
562
|
+
# @private
|
563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
564
|
+
property :envelope, as: 'envelope', class: Google::Apis::OndemandscanningV1beta1::Envelope, decorator: Google::Apis::OndemandscanningV1beta1::Envelope::Representation
|
565
|
+
|
566
|
+
property :statement, as: 'statement', class: Google::Apis::OndemandscanningV1beta1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1beta1::InTotoStatement::Representation
|
567
|
+
|
568
|
+
end
|
569
|
+
end
|
570
|
+
|
445
571
|
class DeploymentOccurrence
|
446
572
|
# @private
|
447
573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -473,6 +599,24 @@ module Google
|
|
473
599
|
end
|
474
600
|
end
|
475
601
|
|
602
|
+
class Envelope
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
property :payload, :base64 => true, as: 'payload'
|
606
|
+
property :payload_type, as: 'payloadType'
|
607
|
+
collection :signatures, as: 'signatures', class: Google::Apis::OndemandscanningV1beta1::EnvelopeSignature, decorator: Google::Apis::OndemandscanningV1beta1::EnvelopeSignature::Representation
|
608
|
+
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
class EnvelopeSignature
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
property :keyid, as: 'keyid'
|
616
|
+
property :sig, :base64 => true, as: 'sig'
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
476
620
|
class FileHashes
|
477
621
|
# @private
|
478
622
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -537,6 +681,33 @@ module Google
|
|
537
681
|
end
|
538
682
|
end
|
539
683
|
|
684
|
+
class InTotoProvenance
|
685
|
+
# @private
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
687
|
+
property :builder_config, as: 'builderConfig', class: Google::Apis::OndemandscanningV1beta1::BuilderConfig, decorator: Google::Apis::OndemandscanningV1beta1::BuilderConfig::Representation
|
688
|
+
|
689
|
+
collection :materials, as: 'materials'
|
690
|
+
property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1beta1::Metadata, decorator: Google::Apis::OndemandscanningV1beta1::Metadata::Representation
|
691
|
+
|
692
|
+
property :recipe, as: 'recipe', class: Google::Apis::OndemandscanningV1beta1::Recipe, decorator: Google::Apis::OndemandscanningV1beta1::Recipe::Representation
|
693
|
+
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
class InTotoStatement
|
698
|
+
# @private
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
700
|
+
property :_type, as: '_type'
|
701
|
+
property :predicate_type, as: 'predicateType'
|
702
|
+
property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1beta1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1beta1::InTotoProvenance::Representation
|
703
|
+
|
704
|
+
property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenance::Representation
|
705
|
+
|
706
|
+
collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1beta1::Subject, decorator: Google::Apis::OndemandscanningV1beta1::Subject::Representation
|
707
|
+
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
540
711
|
class Jwt
|
541
712
|
# @private
|
542
713
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -580,6 +751,26 @@ module Google
|
|
580
751
|
end
|
581
752
|
end
|
582
753
|
|
754
|
+
class Material
|
755
|
+
# @private
|
756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
757
|
+
hash :digest, as: 'digest'
|
758
|
+
property :uri, as: 'uri'
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
762
|
+
class Metadata
|
763
|
+
# @private
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
765
|
+
property :build_finished_on, as: 'buildFinishedOn'
|
766
|
+
property :build_invocation_id, as: 'buildInvocationId'
|
767
|
+
property :build_started_on, as: 'buildStartedOn'
|
768
|
+
property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1beta1::Completeness, decorator: Google::Apis::OndemandscanningV1beta1::Completeness::Representation
|
769
|
+
|
770
|
+
property :reproducible, as: 'reproducible'
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
583
774
|
class NonCompliantFile
|
584
775
|
# @private
|
585
776
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -603,6 +794,10 @@ module Google
|
|
603
794
|
|
604
795
|
property :discovery, as: 'discovery', class: Google::Apis::OndemandscanningV1beta1::DiscoveryOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::DiscoveryOccurrence::Representation
|
605
796
|
|
797
|
+
property :dsse_attestation, as: 'dsseAttestation', class: Google::Apis::OndemandscanningV1beta1::DsseAttestationOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::DsseAttestationOccurrence::Representation
|
798
|
+
|
799
|
+
property :envelope, as: 'envelope', class: Google::Apis::OndemandscanningV1beta1::Envelope, decorator: Google::Apis::OndemandscanningV1beta1::Envelope::Representation
|
800
|
+
|
606
801
|
property :image, as: 'image', class: Google::Apis::OndemandscanningV1beta1::ImageOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::ImageOccurrence::Representation
|
607
802
|
|
608
803
|
property :kind, as: 'kind'
|
@@ -652,11 +847,13 @@ module Google
|
|
652
847
|
property :affected_package, as: 'affectedPackage'
|
653
848
|
property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
|
654
849
|
|
850
|
+
property :effective_severity, as: 'effectiveSeverity'
|
655
851
|
property :fix_available, as: 'fixAvailable'
|
656
852
|
property :fixed_cpe_uri, as: 'fixedCpeUri'
|
657
853
|
property :fixed_package, as: 'fixedPackage'
|
658
854
|
property :fixed_version, as: 'fixedVersion', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
|
659
855
|
|
856
|
+
property :package_type, as: 'packageType'
|
660
857
|
end
|
661
858
|
end
|
662
859
|
|
@@ -677,6 +874,17 @@ module Google
|
|
677
874
|
end
|
678
875
|
end
|
679
876
|
|
877
|
+
class Recipe
|
878
|
+
# @private
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
880
|
+
collection :arguments, as: 'arguments'
|
881
|
+
property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
|
882
|
+
property :entry_point, as: 'entryPoint'
|
883
|
+
collection :environment, as: 'environment'
|
884
|
+
property :type, as: 'type'
|
885
|
+
end
|
886
|
+
end
|
887
|
+
|
680
888
|
class RelatedUrl
|
681
889
|
# @private
|
682
890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -702,6 +910,59 @@ module Google
|
|
702
910
|
end
|
703
911
|
end
|
704
912
|
|
913
|
+
class SlsaBuilder
|
914
|
+
# @private
|
915
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
916
|
+
property :id, as: 'id'
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
920
|
+
class SlsaCompleteness
|
921
|
+
# @private
|
922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
923
|
+
property :arguments, as: 'arguments'
|
924
|
+
property :environment, as: 'environment'
|
925
|
+
property :materials, as: 'materials'
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
class SlsaMetadata
|
930
|
+
# @private
|
931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
932
|
+
property :build_finished_on, as: 'buildFinishedOn'
|
933
|
+
property :build_invocation_id, as: 'buildInvocationId'
|
934
|
+
property :build_started_on, as: 'buildStartedOn'
|
935
|
+
property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1beta1::SlsaCompleteness, decorator: Google::Apis::OndemandscanningV1beta1::SlsaCompleteness::Representation
|
936
|
+
|
937
|
+
property :reproducible, as: 'reproducible'
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
class SlsaProvenance
|
942
|
+
# @private
|
943
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
944
|
+
property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1beta1::SlsaBuilder, decorator: Google::Apis::OndemandscanningV1beta1::SlsaBuilder::Representation
|
945
|
+
|
946
|
+
collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1beta1::Material, decorator: Google::Apis::OndemandscanningV1beta1::Material::Representation
|
947
|
+
|
948
|
+
property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1beta1::SlsaMetadata, decorator: Google::Apis::OndemandscanningV1beta1::SlsaMetadata::Representation
|
949
|
+
|
950
|
+
property :recipe, as: 'recipe', class: Google::Apis::OndemandscanningV1beta1::SlsaRecipe, decorator: Google::Apis::OndemandscanningV1beta1::SlsaRecipe::Representation
|
951
|
+
|
952
|
+
end
|
953
|
+
end
|
954
|
+
|
955
|
+
class SlsaRecipe
|
956
|
+
# @private
|
957
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
958
|
+
hash :arguments, as: 'arguments'
|
959
|
+
property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
|
960
|
+
property :entry_point, as: 'entryPoint'
|
961
|
+
hash :environment, as: 'environment'
|
962
|
+
property :type, as: 'type'
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
705
966
|
class Source
|
706
967
|
# @private
|
707
968
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -737,6 +998,14 @@ module Google
|
|
737
998
|
end
|
738
999
|
end
|
739
1000
|
|
1001
|
+
class Subject
|
1002
|
+
# @private
|
1003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1004
|
+
hash :digest, as: 'digest'
|
1005
|
+
property :name, as: 'name'
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
740
1009
|
class UpgradeDistribution
|
741
1010
|
# @private
|
742
1011
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.14.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-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.14.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|