google-apis-ondemandscanning_v1 0.2.0 → 0.7.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: 34c14e4ebbd0b64f1562fed2a4b7f30afebd6ee1ad62828a3c77a8c92767b365
|
4
|
+
data.tar.gz: 12064dcca2ef5db890e02a67cecbf4712d531d105b0b419002e2e9d41964ca41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a19714e48fc870c3410a98328fc588fbaf89e0aa2e174720c3eb0817b588a5495f354bc9e037de8d89d3d69acc173f3e5f72467dd09bebec4e4d9a2425117af
|
7
|
+
data.tar.gz: 406a38f0094364ec93a63c68f2c1493284ecd42d7491a0cdd5abb22bde5d9ce3acac04435d81eeaa049f6c52db878fb88eaeec6a2909133711b1230f60d0130b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.6.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.5.0 (2021-06-19)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210613
|
14
|
+
* Regenerated using generator version 0.3.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-05-27)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210524
|
19
|
+
|
20
|
+
### v0.3.0 (2021-05-19)
|
21
|
+
|
22
|
+
* Unspecified changes
|
23
|
+
|
3
24
|
### v0.2.0 (2021-04-16)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210410
|
@@ -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::OndemandscanningV1::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::OndemandscanningV1::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::OndemandscanningV1::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,11 @@ 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
|
+
|
1162
1233
|
#
|
1163
1234
|
# Corresponds to the JSON property `unused`
|
1164
1235
|
# @return [String]
|
@@ -1179,6 +1250,7 @@ module Google
|
|
1179
1250
|
@os = args[:os] if args.key?(:os)
|
1180
1251
|
@os_version = args[:os_version] if args.key?(:os_version)
|
1181
1252
|
@package = args[:package] if args.key?(:package)
|
1253
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1182
1254
|
@unused = args[:unused] if args.key?(:unused)
|
1183
1255
|
@version = args[:version] if args.key?(:version)
|
1184
1256
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OndemandscanningV1
|
18
18
|
# Version of the google-apis-ondemandscanning_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.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::OndemandscanningV1::NonCompliantFile, decorator: Google::Apis::OndemandscanningV1::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::OndemandscanningV1::BuildOccurrence, decorator: Google::Apis::OndemandscanningV1::BuildOccurrence::Representation
|
568
598
|
|
599
|
+
property :compliance, as: 'compliance', class: Google::Apis::OndemandscanningV1::ComplianceOccurrence, decorator: Google::Apis::OndemandscanningV1::ComplianceOccurrence::Representation
|
600
|
+
|
569
601
|
property :create_time, as: 'createTime'
|
570
602
|
property :deployment, as: 'deployment', class: Google::Apis::OndemandscanningV1::DeploymentOccurrence, decorator: Google::Apis::OndemandscanningV1::DeploymentOccurrence::Representation
|
571
603
|
|
@@ -607,6 +639,7 @@ 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'
|
610
643
|
property :unused, as: 'unused'
|
611
644
|
property :version, as: 'version'
|
612
645
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ondemandscanning_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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-05
|
11
|
+
date: 2021-07-05 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.4'
|
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.4'
|
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 V1. 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_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.7.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|