google-apis-ondemandscanning_v1beta1 0.6.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: 89422e74f35ff228a0b035bffbe31cb9fb701571a4602a2e17eadcb27a3f579b
4
- data.tar.gz: 290113b0096fcdafc28be28d2e9468371ad4eeeb585de8673ec5d83a92729508
3
+ metadata.gz: 94b032b0917ac7d81241f387c136bb0f3b559e0bfd5c8a0c9a6d003241904758
4
+ data.tar.gz: 7176215f04ffbbcb154cd7e5c78ad9f609e9cb9b089f874ba27b023a33153ba3
5
5
  SHA512:
6
- metadata.gz: 8858804c67f6d8ebd0362fc9d423c01a73eb28939a1371d97b1d25fe16b2e564827fdedcd8670e73de929598f5e2210e1461319e1d592949413402613441a381
7
- data.tar.gz: ffbfed679803292dff3172df89cf7f3b1aff751d3d17f60daf831896288bee3d2cbc28209014d6aae078e2ffb7a51fc9d0161934e5b4f6d0127c8698e8af72ea
6
+ metadata.gz: fe5220d4e2b2f6648a177e69e27ed5412d76b3831b6049a83edc1291619278afde40a1c19a51181de620de992e5c2095d825d42e2d4aa89f0464b0ba9eaf4f69
7
+ data.tar.gz: e8da7fbe81d77c9095333df550905c951483a28d08040ccfe8454bf26bb83706fbaa9e421e5e4e014224103747860509bc4c0eec4d3de125b83007c9c34afe87
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.7.0 (2021-05-27)
4
+
5
+ * Regenerated from discovery document revision 20210524
6
+
3
7
  ### v0.6.0 (2021-05-19)
4
8
 
5
9
  * Unspecified changes
@@ -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)
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210410"
25
+ REVISION = "20210524"
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
 
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.6.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-24 00:00:00.000000000 Z
11
+ date: 2021-05-31 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.6.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.7.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: []