google-apis-ondemandscanning_v1beta1 0.4.0 → 0.9.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: 0d1cadc17c1fa0210c7aa18e4e18ca8d633add8337c30c7545370adec0534abb
|
4
|
+
data.tar.gz: 700a52366ed09f3f8af5b055d9dd6d2ed5ea6dd6c5f6fdc4b6a05315351459ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a00a9ea996898e8a7a516ced928418ed36ba0b5ec8ac20875f1d500d5a64e9af4e2db196caf2df6d3f25685ba44150fc89b214cdcb829f7479944345f849ee7
|
7
|
+
data.tar.gz: 2e7b407215cf837599773beaa28f3db00c04e3d3e1df349512fe5d92ce78e7eeea4cfcda4cd143a4569ad868de8bef1a9f85745389047b1b5fb5e236a2e303f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1beta1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.8.0 (2021-06-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210613
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.7.0 (2021-05-27)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210524
|
15
|
+
|
16
|
+
### v0.6.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.5.0 (2021-04-16)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210410
|
23
|
+
|
3
24
|
### v0.4.0 (2021-03-30)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210329
|
@@ -486,6 +486,32 @@ module Google
|
|
486
486
|
end
|
487
487
|
end
|
488
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
|
+
|
489
515
|
# The period during which some deployable was active in a runtime.
|
490
516
|
class DeploymentOccurrence
|
491
517
|
include Google::Apis::Core::Hashable
|
@@ -949,6 +975,39 @@ module Google
|
|
949
975
|
end
|
950
976
|
end
|
951
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
|
+
|
952
1011
|
# An instance of an analysis type that has been found on a resource.
|
953
1012
|
class Occurrence
|
954
1013
|
include Google::Apis::Core::Hashable
|
@@ -969,6 +1028,12 @@ module Google
|
|
969
1028
|
# @return [Google::Apis::OndemandscanningV1beta1::BuildOccurrence]
|
970
1029
|
attr_accessor :build
|
971
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
|
+
|
972
1037
|
# Output only. The time this occurrence was created.
|
973
1038
|
# Corresponds to the JSON property `createTime`
|
974
1039
|
# @return [String]
|
@@ -1053,6 +1118,7 @@ module Google
|
|
1053
1118
|
def update!(**args)
|
1054
1119
|
@attestation = args[:attestation] if args.key?(:attestation)
|
1055
1120
|
@build = args[:build] if args.key?(:build)
|
1121
|
+
@compliance = args[:compliance] if args.key?(:compliance)
|
1056
1122
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1057
1123
|
@deployment = args[:deployment] if args.key?(:deployment)
|
1058
1124
|
@discovery = args[:discovery] if args.key?(:discovery)
|
@@ -1159,6 +1225,16 @@ module Google
|
|
1159
1225
|
# @return [String]
|
1160
1226
|
attr_accessor :package
|
1161
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
|
+
|
1162
1238
|
# The version of the package being analysed
|
1163
1239
|
# Corresponds to the JSON property `version`
|
1164
1240
|
# @return [String]
|
@@ -1174,6 +1250,8 @@ module Google
|
|
1174
1250
|
@os = args[:os] if args.key?(:os)
|
1175
1251
|
@os_version = args[:os_version] if args.key?(:os_version)
|
1176
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)
|
1177
1255
|
@version = args[:version] if args.key?(:version)
|
1178
1256
|
end
|
1179
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.9.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
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class ComplianceOccurrence
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class DeploymentOccurrence
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -190,6 +196,12 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class NonCompliantFile
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
193
205
|
class Occurrence
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
207
|
|
@@ -421,6 +433,15 @@ module Google
|
|
421
433
|
end
|
422
434
|
end
|
423
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
|
+
|
424
445
|
class DeploymentOccurrence
|
425
446
|
# @private
|
426
447
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -559,6 +580,15 @@ module Google
|
|
559
580
|
end
|
560
581
|
end
|
561
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
|
+
|
562
592
|
class Occurrence
|
563
593
|
# @private
|
564
594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -566,6 +596,8 @@ module Google
|
|
566
596
|
|
567
597
|
property :build, as: 'build', class: Google::Apis::OndemandscanningV1beta1::BuildOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::BuildOccurrence::Representation
|
568
598
|
|
599
|
+
property :compliance, as: 'compliance', class: Google::Apis::OndemandscanningV1beta1::ComplianceOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::ComplianceOccurrence::Representation
|
600
|
+
|
569
601
|
property :create_time, as: 'createTime'
|
570
602
|
property :deployment, as: 'deployment', class: Google::Apis::OndemandscanningV1beta1::DeploymentOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::DeploymentOccurrence::Representation
|
571
603
|
|
@@ -607,6 +639,8 @@ module Google
|
|
607
639
|
property :os, as: 'os'
|
608
640
|
property :os_version, as: 'osVersion'
|
609
641
|
property :package, as: 'package'
|
642
|
+
property :package_type, as: 'packageType'
|
643
|
+
property :unused, as: 'unused'
|
610
644
|
property :version, as: 'version'
|
611
645
|
end
|
612
646
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.9.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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for On-Demand Scanning API V1beta1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.9.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for On-Demand Scanning API V1beta1
|