google-apis-securitycenter_v1beta1 0.68.0 → 0.69.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: cf5d805e338983197b0e9329d08dbfdf1c1eaee2f873e4ee0f67721e475b962a
4
- data.tar.gz: 8cbf05ecb7e7189d8abc443cdd8835e98a41b638da74c1541ee69cdc114ef696
3
+ metadata.gz: 064b2e0696fbb9d1f8b35625594a89ed32d6f71f2cb22bfde38d1826ecc0def9
4
+ data.tar.gz: 771799e271abc1b3cf52308b7dcf7a5cacbb503db7145b56117f288de1b7226a
5
5
  SHA512:
6
- metadata.gz: b24c8edc2a3606d74cf1860d6ea2c4e45441d7497b98afde99b1f7b12d2c64d2f4170858d41917c17930a68d6ae9f8b16b587b190ccdf878b49122bf1f760807
7
- data.tar.gz: d49b66f0babdcd49a6074343705e2e6bbe0f1f2ca0846033c72a41b4885824035d774bc35dcb443b580a56a7c93adfccb534b879f4fa73733bfc54a75472aced
6
+ metadata.gz: b57ab70ff45b573ba4e44c260b07fba71bc27c837ff6ad0aad941b6d47599781323e317b7b4ebf9645629b3ab501361f07d941bf3ad55697d4038b7c0eae079c
7
+ data.tar.gz: 0225b0591638e9849c00e0a524db1453168a332e74cc55464ae621e81f2bbcfc6a878bfedd9a7536fba90dd15e4c29a85f017580f0fed84ee41114bc1322ebdd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.69.0 (2024-01-21)
4
+
5
+ * Regenerated from discovery document revision 20240117
6
+
3
7
  ### v0.68.0 (2024-01-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20240101
@@ -307,7 +307,7 @@ module Google
307
307
 
308
308
  # The resource name of the attack path simulation result that contains the
309
309
  # details regarding this attack exposure score. Example: organizations/123/
310
- # attackExposureResults/456
310
+ # simulations/456/attackExposureResults/789
311
311
  # Corresponds to the JSON property `attackExposureResult`
312
312
  # @return [String]
313
313
  attr_accessor :attack_exposure_result
@@ -4173,6 +4173,41 @@ module Google
4173
4173
  end
4174
4174
  end
4175
4175
 
4176
+ # The policy field that violates the deployed posture and its expected and and
4177
+ # detected values.
4178
+ class PolicyDriftDetails
4179
+ include Google::Apis::Core::Hashable
4180
+
4181
+ # The detected value that violates the deployed posture, for example, `false` or
4182
+ # `allowed_values=`"projects/22831892”``.
4183
+ # Corresponds to the JSON property `detectedValue`
4184
+ # @return [String]
4185
+ attr_accessor :detected_value
4186
+
4187
+ # The value of this field that was configured in a posture, for example, `true`
4188
+ # or `allowed_values=`"projects/29831892”``.
4189
+ # Corresponds to the JSON property `expectedValue`
4190
+ # @return [String]
4191
+ attr_accessor :expected_value
4192
+
4193
+ # The name of the updated field, for example constraint.implementation.
4194
+ # policy_rules[0].enforce
4195
+ # Corresponds to the JSON property `field`
4196
+ # @return [String]
4197
+ attr_accessor :field
4198
+
4199
+ def initialize(**args)
4200
+ update!(**args)
4201
+ end
4202
+
4203
+ # Update properties of this object
4204
+ def update!(**args)
4205
+ @detected_value = args[:detected_value] if args.key?(:detected_value)
4206
+ @expected_value = args[:expected_value] if args.key?(:expected_value)
4207
+ @field = args[:field] if args.key?(:field)
4208
+ end
4209
+ end
4210
+
4176
4211
  # Represents an operating system process.
4177
4212
  class Process
4178
4213
  include Google::Apis::Core::Hashable
@@ -4488,26 +4523,41 @@ module Google
4488
4523
  class SecurityPosture
4489
4524
  include Google::Apis::Core::Hashable
4490
4525
 
4491
- # The name of the policy that has been updated, for example, `projects/`
4492
- # project_id`/policies/`constraint_name``.
4526
+ # The name of the updated policy, for example, `projects/`project_id`/policies/`
4527
+ # constraint_name``.
4493
4528
  # Corresponds to the JSON property `changedPolicy`
4494
4529
  # @return [String]
4495
4530
  attr_accessor :changed_policy
4496
4531
 
4497
- # Name of the posture, for example, `organizations/`org_id`/locations/`location`/
4498
- # postures/`posture_name``.
4532
+ # Name of the posture, for example, `CIS-Posture`.
4499
4533
  # Corresponds to the JSON property `name`
4500
4534
  # @return [String]
4501
4535
  attr_accessor :name
4502
4536
 
4503
- # The name of the posture deployment, for example, `projects/`project_id`/
4537
+ # The ID of the updated policy, for example, `compute-policy-1`.
4538
+ # Corresponds to the JSON property `policy`
4539
+ # @return [String]
4540
+ attr_accessor :policy
4541
+
4542
+ # The details about a change in an updated policy that violates the deployed
4543
+ # posture.
4544
+ # Corresponds to the JSON property `policyDriftDetails`
4545
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::PolicyDriftDetails>]
4546
+ attr_accessor :policy_drift_details
4547
+
4548
+ # The name of the updated policyset, for example, `cis-policyset`.
4549
+ # Corresponds to the JSON property `policySet`
4550
+ # @return [String]
4551
+ attr_accessor :policy_set
4552
+
4553
+ # The name of the posture deployment, for example, `organizations/`org_id`/
4504
4554
  # posturedeployments/`posture_deployment_id``.
4505
4555
  # Corresponds to the JSON property `postureDeployment`
4506
4556
  # @return [String]
4507
4557
  attr_accessor :posture_deployment
4508
4558
 
4509
4559
  # The project, folder, or organization on which the posture is deployed, for
4510
- # example, `projects/`project_id``.
4560
+ # example, `projects/`project_number``.
4511
4561
  # Corresponds to the JSON property `postureDeploymentResource`
4512
4562
  # @return [String]
4513
4563
  attr_accessor :posture_deployment_resource
@@ -4525,6 +4575,9 @@ module Google
4525
4575
  def update!(**args)
4526
4576
  @changed_policy = args[:changed_policy] if args.key?(:changed_policy)
4527
4577
  @name = args[:name] if args.key?(:name)
4578
+ @policy = args[:policy] if args.key?(:policy)
4579
+ @policy_drift_details = args[:policy_drift_details] if args.key?(:policy_drift_details)
4580
+ @policy_set = args[:policy_set] if args.key?(:policy_set)
4528
4581
  @posture_deployment = args[:posture_deployment] if args.key?(:posture_deployment)
4529
4582
  @posture_deployment_resource = args[:posture_deployment_resource] if args.key?(:posture_deployment_resource)
4530
4583
  @revision_id = args[:revision_id] if args.key?(:revision_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.68.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240101"
25
+ REVISION = "20240117"
26
26
  end
27
27
  end
28
28
  end
@@ -544,6 +544,12 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
+ class PolicyDriftDetails
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
547
553
  class Process
548
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
555
 
@@ -1646,6 +1652,15 @@ module Google
1646
1652
  end
1647
1653
  end
1648
1654
 
1655
+ class PolicyDriftDetails
1656
+ # @private
1657
+ class Representation < Google::Apis::Core::JsonRepresentation
1658
+ property :detected_value, as: 'detectedValue'
1659
+ property :expected_value, as: 'expectedValue'
1660
+ property :field, as: 'field'
1661
+ end
1662
+ end
1663
+
1649
1664
  class Process
1650
1665
  # @private
1651
1666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1734,6 +1749,10 @@ module Google
1734
1749
  class Representation < Google::Apis::Core::JsonRepresentation
1735
1750
  property :changed_policy, as: 'changedPolicy'
1736
1751
  property :name, as: 'name'
1752
+ property :policy, as: 'policy'
1753
+ collection :policy_drift_details, as: 'policyDriftDetails', class: Google::Apis::SecuritycenterV1beta1::PolicyDriftDetails, decorator: Google::Apis::SecuritycenterV1beta1::PolicyDriftDetails::Representation
1754
+
1755
+ property :policy_set, as: 'policySet'
1737
1756
  property :posture_deployment, as: 'postureDeployment'
1738
1757
  property :posture_deployment_resource, as: 'postureDeploymentResource'
1739
1758
  property :revision_id, as: 'revisionId'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.0
4
+ version: 0.69.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: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.69.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []