google-apis-ondemandscanning_v1beta1 0.3.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4682888e8ba0403cbb566152ddd26c3fb2bfb7828e889c86f33e2e7889dc14b
|
4
|
+
data.tar.gz: fbc7d8b216ef9dcc4f69c2871b953839c5d72b5831da368357d2726cb1d324f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbcad0e94149a4826c1f4dc1d658b9bb3e5df33501aff0e2ba061f0716edd7c59bd421ec4562685a379f907a88dc79f5a13df96c9accaf5e06badb0dd8bc82db
|
7
|
+
data.tar.gz: d4bc5363a9048ea9aa5f02f4308033b9b90b87b736e11bf6f5c30b84b0b0fee32c322593baed8928a989fec7ede7be9a39e6d22d210bcc084f29e3d1099e5626
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1beta1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210613
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.7.0 (2021-05-27)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210524
|
11
|
+
|
12
|
+
### v0.6.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.5.0 (2021-04-16)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210410
|
19
|
+
|
20
|
+
### v0.4.0 (2021-03-30)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210329
|
23
|
+
|
3
24
|
### v0.3.0 (2021-03-23)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210319
|
@@ -73,6 +73,32 @@ module Google
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
# AnalyzePackagesMetadata contains metadata for an active scan of a container
|
77
|
+
# image.
|
78
|
+
class AnalyzePackagesMetadataV1
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
# When the scan was created.
|
82
|
+
# Corresponds to the JSON property `createTime`
|
83
|
+
# @return [String]
|
84
|
+
attr_accessor :create_time
|
85
|
+
|
86
|
+
# The resource URI of the container image being scanned.
|
87
|
+
# Corresponds to the JSON property `resourceUri`
|
88
|
+
# @return [String]
|
89
|
+
attr_accessor :resource_uri
|
90
|
+
|
91
|
+
def initialize(**args)
|
92
|
+
update!(**args)
|
93
|
+
end
|
94
|
+
|
95
|
+
# Update properties of this object
|
96
|
+
def update!(**args)
|
97
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
98
|
+
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
76
102
|
# AnalyzePackagesRequest is the request to analyze a list of packages and create
|
77
103
|
# Vulnerability Occurrences for it.
|
78
104
|
class AnalyzePackagesRequest
|
@@ -119,6 +145,26 @@ module Google
|
|
119
145
|
end
|
120
146
|
end
|
121
147
|
|
148
|
+
# AnalyzePackagesResponse contains the information necessary to find results for
|
149
|
+
# the given scan.
|
150
|
+
class AnalyzePackagesResponseV1
|
151
|
+
include Google::Apis::Core::Hashable
|
152
|
+
|
153
|
+
# The name of the scan resource created by this successful scan.
|
154
|
+
# Corresponds to the JSON property `scan`
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :scan
|
157
|
+
|
158
|
+
def initialize(**args)
|
159
|
+
update!(**args)
|
160
|
+
end
|
161
|
+
|
162
|
+
# Update properties of this object
|
163
|
+
def update!(**args)
|
164
|
+
@scan = args[:scan] if args.key?(:scan)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
122
168
|
# Artifact describes a build product.
|
123
169
|
class Artifact
|
124
170
|
include Google::Apis::Core::Hashable
|
@@ -440,6 +486,32 @@ module Google
|
|
440
486
|
end
|
441
487
|
end
|
442
488
|
|
489
|
+
# An indication that the compliance checks in the associated ComplianceNote were
|
490
|
+
# not satisfied for particular resources or a specified reason.
|
491
|
+
class ComplianceOccurrence
|
492
|
+
include Google::Apis::Core::Hashable
|
493
|
+
|
494
|
+
#
|
495
|
+
# Corresponds to the JSON property `nonComplianceReason`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :non_compliance_reason
|
498
|
+
|
499
|
+
#
|
500
|
+
# Corresponds to the JSON property `nonCompliantFiles`
|
501
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::NonCompliantFile>]
|
502
|
+
attr_accessor :non_compliant_files
|
503
|
+
|
504
|
+
def initialize(**args)
|
505
|
+
update!(**args)
|
506
|
+
end
|
507
|
+
|
508
|
+
# Update properties of this object
|
509
|
+
def update!(**args)
|
510
|
+
@non_compliance_reason = args[:non_compliance_reason] if args.key?(:non_compliance_reason)
|
511
|
+
@non_compliant_files = args[:non_compliant_files] if args.key?(:non_compliant_files)
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
443
515
|
# The period during which some deployable was active in a runtime.
|
444
516
|
class DeploymentOccurrence
|
445
517
|
include Google::Apis::Core::Hashable
|
@@ -903,6 +975,39 @@ module Google
|
|
903
975
|
end
|
904
976
|
end
|
905
977
|
|
978
|
+
# Details about files that caused a compliance check to fail.
|
979
|
+
class NonCompliantFile
|
980
|
+
include Google::Apis::Core::Hashable
|
981
|
+
|
982
|
+
# Command to display the non-compliant files.
|
983
|
+
# Corresponds to the JSON property `displayCommand`
|
984
|
+
# @return [String]
|
985
|
+
attr_accessor :display_command
|
986
|
+
|
987
|
+
# display_command is a single command that can be used to display a list of non
|
988
|
+
# compliant files. When there is no such command, we can also iterate a list of
|
989
|
+
# non compliant file using 'path'. Empty if `display_command` is set.
|
990
|
+
# Corresponds to the JSON property `path`
|
991
|
+
# @return [String]
|
992
|
+
attr_accessor :path
|
993
|
+
|
994
|
+
# Explains why a file is non compliant for a CIS check.
|
995
|
+
# Corresponds to the JSON property `reason`
|
996
|
+
# @return [String]
|
997
|
+
attr_accessor :reason
|
998
|
+
|
999
|
+
def initialize(**args)
|
1000
|
+
update!(**args)
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
# Update properties of this object
|
1004
|
+
def update!(**args)
|
1005
|
+
@display_command = args[:display_command] if args.key?(:display_command)
|
1006
|
+
@path = args[:path] if args.key?(:path)
|
1007
|
+
@reason = args[:reason] if args.key?(:reason)
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
|
906
1011
|
# An instance of an analysis type that has been found on a resource.
|
907
1012
|
class Occurrence
|
908
1013
|
include Google::Apis::Core::Hashable
|
@@ -923,6 +1028,12 @@ module Google
|
|
923
1028
|
# @return [Google::Apis::OndemandscanningV1beta1::BuildOccurrence]
|
924
1029
|
attr_accessor :build
|
925
1030
|
|
1031
|
+
# An indication that the compliance checks in the associated ComplianceNote were
|
1032
|
+
# not satisfied for particular resources or a specified reason.
|
1033
|
+
# Corresponds to the JSON property `compliance`
|
1034
|
+
# @return [Google::Apis::OndemandscanningV1beta1::ComplianceOccurrence]
|
1035
|
+
attr_accessor :compliance
|
1036
|
+
|
926
1037
|
# Output only. The time this occurrence was created.
|
927
1038
|
# Corresponds to the JSON property `createTime`
|
928
1039
|
# @return [String]
|
@@ -1007,6 +1118,7 @@ module Google
|
|
1007
1118
|
def update!(**args)
|
1008
1119
|
@attestation = args[:attestation] if args.key?(:attestation)
|
1009
1120
|
@build = args[:build] if args.key?(:build)
|
1121
|
+
@compliance = args[:compliance] if args.key?(:compliance)
|
1010
1122
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1011
1123
|
@deployment = args[:deployment] if args.key?(:deployment)
|
1012
1124
|
@discovery = args[:discovery] if args.key?(:discovery)
|
@@ -1113,6 +1225,16 @@ module Google
|
|
1113
1225
|
# @return [String]
|
1114
1226
|
attr_accessor :package
|
1115
1227
|
|
1228
|
+
# The type of package: os, maven, go, etc.
|
1229
|
+
# Corresponds to the JSON property `packageType`
|
1230
|
+
# @return [String]
|
1231
|
+
attr_accessor :package_type
|
1232
|
+
|
1233
|
+
#
|
1234
|
+
# Corresponds to the JSON property `unused`
|
1235
|
+
# @return [String]
|
1236
|
+
attr_accessor :unused
|
1237
|
+
|
1116
1238
|
# The version of the package being analysed
|
1117
1239
|
# Corresponds to the JSON property `version`
|
1118
1240
|
# @return [String]
|
@@ -1128,6 +1250,8 @@ module Google
|
|
1128
1250
|
@os = args[:os] if args.key?(:os)
|
1129
1251
|
@os_version = args[:os_version] if args.key?(:os_version)
|
1130
1252
|
@package = args[:package] if args.key?(:package)
|
1253
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1254
|
+
@unused = args[:unused] if args.key?(:unused)
|
1131
1255
|
@version = args[:version] if args.key?(:version)
|
1132
1256
|
end
|
1133
1257
|
end
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210613"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AnalyzePackagesMetadataV1
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class AnalyzePackagesRequest
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -46,6 +52,12 @@ module Google
|
|
46
52
|
include Google::Apis::Core::JsonObjectSupport
|
47
53
|
end
|
48
54
|
|
55
|
+
class AnalyzePackagesResponseV1
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
49
61
|
class Artifact
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
63
|
|
@@ -88,6 +100,12 @@ module Google
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class ComplianceOccurrence
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
91
109
|
class DeploymentOccurrence
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
111
|
|
@@ -178,6 +196,12 @@ module Google
|
|
178
196
|
include Google::Apis::Core::JsonObjectSupport
|
179
197
|
end
|
180
198
|
|
199
|
+
class NonCompliantFile
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
181
205
|
class Occurrence
|
182
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
207
|
|
@@ -296,6 +320,14 @@ module Google
|
|
296
320
|
end
|
297
321
|
end
|
298
322
|
|
323
|
+
class AnalyzePackagesMetadataV1
|
324
|
+
# @private
|
325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
+
property :create_time, as: 'createTime'
|
327
|
+
property :resource_uri, as: 'resourceUri'
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
299
331
|
class AnalyzePackagesRequest
|
300
332
|
# @private
|
301
333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -312,6 +344,13 @@ module Google
|
|
312
344
|
end
|
313
345
|
end
|
314
346
|
|
347
|
+
class AnalyzePackagesResponseV1
|
348
|
+
# @private
|
349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
property :scan, as: 'scan'
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
315
354
|
class Artifact
|
316
355
|
# @private
|
317
356
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -394,6 +433,15 @@ module Google
|
|
394
433
|
end
|
395
434
|
end
|
396
435
|
|
436
|
+
class ComplianceOccurrence
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :non_compliance_reason, as: 'nonComplianceReason'
|
440
|
+
collection :non_compliant_files, as: 'nonCompliantFiles', class: Google::Apis::OndemandscanningV1beta1::NonCompliantFile, decorator: Google::Apis::OndemandscanningV1beta1::NonCompliantFile::Representation
|
441
|
+
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
397
445
|
class DeploymentOccurrence
|
398
446
|
# @private
|
399
447
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -532,6 +580,15 @@ module Google
|
|
532
580
|
end
|
533
581
|
end
|
534
582
|
|
583
|
+
class NonCompliantFile
|
584
|
+
# @private
|
585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
+
property :display_command, as: 'displayCommand'
|
587
|
+
property :path, as: 'path'
|
588
|
+
property :reason, as: 'reason'
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
535
592
|
class Occurrence
|
536
593
|
# @private
|
537
594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -539,6 +596,8 @@ module Google
|
|
539
596
|
|
540
597
|
property :build, as: 'build', class: Google::Apis::OndemandscanningV1beta1::BuildOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::BuildOccurrence::Representation
|
541
598
|
|
599
|
+
property :compliance, as: 'compliance', class: Google::Apis::OndemandscanningV1beta1::ComplianceOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::ComplianceOccurrence::Representation
|
600
|
+
|
542
601
|
property :create_time, as: 'createTime'
|
543
602
|
property :deployment, as: 'deployment', class: Google::Apis::OndemandscanningV1beta1::DeploymentOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::DeploymentOccurrence::Representation
|
544
603
|
|
@@ -580,6 +639,8 @@ module Google
|
|
580
639
|
property :os, as: 'os'
|
581
640
|
property :os_version, as: 'osVersion'
|
582
641
|
property :package, as: 'package'
|
642
|
+
property :package_type, as: 'packageType'
|
643
|
+
property :unused, as: 'unused'
|
583
644
|
property :version, as: 'version'
|
584
645
|
end
|
585
646
|
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.8.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-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.8.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for On-Demand Scanning API V1beta1
|