google-apis-securitycenter_v1beta2 0.61.0 → 0.63.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: b0e28ecbf50620b770dc2a15917ceff07ac9a031ab69c728c61b4f7f86adce58
4
- data.tar.gz: c65dca557fd4c9db264e8db4324e230e43a8377385109f2635fa0d5cef88a203
3
+ metadata.gz: be7d381325f39a4c589fa805eb843e3633d91d1003334c4c24656420de399b3f
4
+ data.tar.gz: cec6c55ca96aa378bcce8e39b477367ad661136056f59e81683f2533e4f9c05a
5
5
  SHA512:
6
- metadata.gz: 8aed726c753c83d873e511eb97e553c012a92121e0dfc0a8c636975b3146852afa5f10d1aef7f354cf5cec0a52da826930d4e27b9e48645a8f1530e7fad21541
7
- data.tar.gz: 3d0379e6946cf8ec5f17c7f88b0bba9592741aa551042918a28e7e353ce3438c9e7c08a1fe1ceaebe9f4782243264ba8e8bb34c7ea7ee0f6f43a6ebeb0bf69a9
6
+ metadata.gz: 2eb472bb1a894bdb920ade2bf941a33348bc4f50959909028365fdd02030266d338f31bb110ba5cc763686956d1f4d473a95a4b2ac7f4fde2b9051148855a4a7
7
+ data.tar.gz: 96ceb03b04491264857d8e06337a8423fd101b59b8990f07179e842e3960c18ef8bca73c5164a7f584e67347aa2b887294d8e4b9213de3790d9354979ac0bf24
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.63.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240130
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.62.0 (2024-01-22)
9
+
10
+ * Regenerated from discovery document revision 20240117
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.61.0 (2024-01-07)
4
14
 
5
15
  * Regenerated from discovery document revision 20240101
@@ -221,7 +221,7 @@ module Google
221
221
 
222
222
  # The resource name of the attack path simulation result that contains the
223
223
  # details regarding this attack exposure score. Example: organizations/123/
224
- # attackExposureResults/456
224
+ # simulations/456/attackExposureResults/789
225
225
  # Corresponds to the JSON property `attackExposureResult`
226
226
  # @return [String]
227
227
  attr_accessor :attack_exposure_result
@@ -723,8 +723,9 @@ module Google
723
723
  end
724
724
  end
725
725
 
726
- # CVE stands for Common Vulnerabilities and Exposures. More information: https://
727
- # cve.mitre.org
726
+ # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE
727
+ # record](https://www.cve.org/ResourcesSupport/Glossary) that describes this
728
+ # vulnerability.
728
729
  class Cve
729
730
  include Google::Apis::Core::Hashable
730
731
 
@@ -2266,6 +2267,13 @@ module Google
2266
2267
  # @return [String]
2267
2268
  attr_accessor :scope
2268
2269
 
2270
+ # Resource value mapping for Sensitive Data Protection findings. If any of these
2271
+ # mappings have a resource value that is not unspecified, the resource_value
2272
+ # field will be ignored when reading this configuration.
2273
+ # Corresponds to the JSON property `sensitiveDataProtectionMapping`
2274
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping]
2275
+ attr_accessor :sensitive_data_protection_mapping
2276
+
2269
2277
  # Required. Tag values combined with AND to check against. Values in the form "
2270
2278
  # tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
2271
2279
  # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
@@ -2291,6 +2299,7 @@ module Google
2291
2299
  @resource_type = args[:resource_type] if args.key?(:resource_type)
2292
2300
  @resource_value = args[:resource_value] if args.key?(:resource_value)
2293
2301
  @scope = args[:scope] if args.key?(:scope)
2302
+ @sensitive_data_protection_mapping = args[:sensitive_data_protection_mapping] if args.key?(:sensitive_data_protection_mapping)
2294
2303
  @tag_values = args[:tag_values] if args.key?(:tag_values)
2295
2304
  @update_time = args[:update_time] if args.key?(:update_time)
2296
2305
  end
@@ -2395,6 +2404,34 @@ module Google
2395
2404
  end
2396
2405
  end
2397
2406
 
2407
+ # Resource value mapping for Sensitive Data Protection findings. If any of these
2408
+ # mappings have a resource value that is not unspecified, the resource_value
2409
+ # field will be ignored when reading this configuration.
2410
+ class GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping
2411
+ include Google::Apis::Core::Hashable
2412
+
2413
+ # Resource value mapping for high-sensitivity Sensitive Data Protection findings
2414
+ # Corresponds to the JSON property `highSensitivityMapping`
2415
+ # @return [String]
2416
+ attr_accessor :high_sensitivity_mapping
2417
+
2418
+ # Resource value mapping for medium-sensitivity Sensitive Data Protection
2419
+ # findings
2420
+ # Corresponds to the JSON property `mediumSensitivityMapping`
2421
+ # @return [String]
2422
+ attr_accessor :medium_sensitivity_mapping
2423
+
2424
+ def initialize(**args)
2425
+ update!(**args)
2426
+ end
2427
+
2428
+ # Update properties of this object
2429
+ def update!(**args)
2430
+ @high_sensitivity_mapping = args[:high_sensitivity_mapping] if args.key?(:high_sensitivity_mapping)
2431
+ @medium_sensitivity_mapping = args[:medium_sensitivity_mapping] if args.key?(:medium_sensitivity_mapping)
2432
+ end
2433
+ end
2434
+
2398
2435
  # Response of asset discovery run
2399
2436
  class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
2400
2437
  include Google::Apis::Core::Hashable
@@ -3271,6 +3308,41 @@ module Google
3271
3308
  end
3272
3309
  end
3273
3310
 
3311
+ # The policy field that violates the deployed posture and its expected and and
3312
+ # detected values.
3313
+ class PolicyDriftDetails
3314
+ include Google::Apis::Core::Hashable
3315
+
3316
+ # The detected value that violates the deployed posture, for example, `false` or
3317
+ # `allowed_values=`"projects/22831892”``.
3318
+ # Corresponds to the JSON property `detectedValue`
3319
+ # @return [String]
3320
+ attr_accessor :detected_value
3321
+
3322
+ # The value of this field that was configured in a posture, for example, `true`
3323
+ # or `allowed_values=`"projects/29831892”``.
3324
+ # Corresponds to the JSON property `expectedValue`
3325
+ # @return [String]
3326
+ attr_accessor :expected_value
3327
+
3328
+ # The name of the updated field, for example constraint.implementation.
3329
+ # policy_rules[0].enforce
3330
+ # Corresponds to the JSON property `field`
3331
+ # @return [String]
3332
+ attr_accessor :field
3333
+
3334
+ def initialize(**args)
3335
+ update!(**args)
3336
+ end
3337
+
3338
+ # Update properties of this object
3339
+ def update!(**args)
3340
+ @detected_value = args[:detected_value] if args.key?(:detected_value)
3341
+ @expected_value = args[:expected_value] if args.key?(:expected_value)
3342
+ @field = args[:field] if args.key?(:field)
3343
+ end
3344
+ end
3345
+
3274
3346
  # Represents an operating system process.
3275
3347
  class Process
3276
3348
  include Google::Apis::Core::Hashable
@@ -3660,26 +3732,41 @@ module Google
3660
3732
  class SecurityPosture
3661
3733
  include Google::Apis::Core::Hashable
3662
3734
 
3663
- # The name of the policy that has been updated, for example, `projects/`
3664
- # project_id`/policies/`constraint_name``.
3735
+ # The name of the updated policy, for example, `projects/`project_id`/policies/`
3736
+ # constraint_name``.
3665
3737
  # Corresponds to the JSON property `changedPolicy`
3666
3738
  # @return [String]
3667
3739
  attr_accessor :changed_policy
3668
3740
 
3669
- # Name of the posture, for example, `organizations/`org_id`/locations/`location`/
3670
- # postures/`posture_name``.
3741
+ # Name of the posture, for example, `CIS-Posture`.
3671
3742
  # Corresponds to the JSON property `name`
3672
3743
  # @return [String]
3673
3744
  attr_accessor :name
3674
3745
 
3675
- # The name of the posture deployment, for example, `projects/`project_id`/
3746
+ # The ID of the updated policy, for example, `compute-policy-1`.
3747
+ # Corresponds to the JSON property `policy`
3748
+ # @return [String]
3749
+ attr_accessor :policy
3750
+
3751
+ # The details about a change in an updated policy that violates the deployed
3752
+ # posture.
3753
+ # Corresponds to the JSON property `policyDriftDetails`
3754
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::PolicyDriftDetails>]
3755
+ attr_accessor :policy_drift_details
3756
+
3757
+ # The name of the updated policyset, for example, `cis-policyset`.
3758
+ # Corresponds to the JSON property `policySet`
3759
+ # @return [String]
3760
+ attr_accessor :policy_set
3761
+
3762
+ # The name of the posture deployment, for example, `organizations/`org_id`/
3676
3763
  # posturedeployments/`posture_deployment_id``.
3677
3764
  # Corresponds to the JSON property `postureDeployment`
3678
3765
  # @return [String]
3679
3766
  attr_accessor :posture_deployment
3680
3767
 
3681
3768
  # The project, folder, or organization on which the posture is deployed, for
3682
- # example, `projects/`project_id``.
3769
+ # example, `projects/`project_number``.
3683
3770
  # Corresponds to the JSON property `postureDeploymentResource`
3684
3771
  # @return [String]
3685
3772
  attr_accessor :posture_deployment_resource
@@ -3697,6 +3784,9 @@ module Google
3697
3784
  def update!(**args)
3698
3785
  @changed_policy = args[:changed_policy] if args.key?(:changed_policy)
3699
3786
  @name = args[:name] if args.key?(:name)
3787
+ @policy = args[:policy] if args.key?(:policy)
3788
+ @policy_drift_details = args[:policy_drift_details] if args.key?(:policy_drift_details)
3789
+ @policy_set = args[:policy_set] if args.key?(:policy_set)
3700
3790
  @posture_deployment = args[:posture_deployment] if args.key?(:posture_deployment)
3701
3791
  @posture_deployment_resource = args[:posture_deployment_resource] if args.key?(:posture_deployment_resource)
3702
3792
  @revision_id = args[:revision_id] if args.key?(:revision_id)
@@ -3902,8 +3992,9 @@ module Google
3902
3992
  class Vulnerability
3903
3993
  include Google::Apis::Core::Hashable
3904
3994
 
3905
- # CVE stands for Common Vulnerabilities and Exposures. More information: https://
3906
- # cve.mitre.org
3995
+ # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE
3996
+ # record](https://www.cve.org/ResourcesSupport/Glossary) that describes this
3997
+ # vulnerability.
3907
3998
  # Corresponds to the JSON property `cve`
3908
3999
  # @return [Google::Apis::SecuritycenterV1beta2::Cve]
3909
4000
  attr_accessor :cve
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240101"
25
+ REVISION = "20240130"
26
26
  end
27
27
  end
28
28
  end
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -424,6 +430,12 @@ module Google
424
430
  include Google::Apis::Core::JsonObjectSupport
425
431
  end
426
432
 
433
+ class PolicyDriftDetails
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
427
439
  class Process
428
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
441
 
@@ -1061,6 +1073,8 @@ module Google
1061
1073
  property :resource_type, as: 'resourceType'
1062
1074
  property :resource_value, as: 'resourceValue'
1063
1075
  property :scope, as: 'scope'
1076
+ property :sensitive_data_protection_mapping, as: 'sensitiveDataProtectionMapping', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping::Representation
1077
+
1064
1078
  collection :tag_values, as: 'tagValues'
1065
1079
  property :update_time, as: 'updateTime'
1066
1080
  end
@@ -1088,6 +1102,14 @@ module Google
1088
1102
  end
1089
1103
  end
1090
1104
 
1105
+ class GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping
1106
+ # @private
1107
+ class Representation < Google::Apis::Core::JsonRepresentation
1108
+ property :high_sensitivity_mapping, as: 'highSensitivityMapping'
1109
+ property :medium_sensitivity_mapping, as: 'mediumSensitivityMapping'
1110
+ end
1111
+ end
1112
+
1091
1113
  class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
1092
1114
  # @private
1093
1115
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1319,6 +1341,15 @@ module Google
1319
1341
  end
1320
1342
  end
1321
1343
 
1344
+ class PolicyDriftDetails
1345
+ # @private
1346
+ class Representation < Google::Apis::Core::JsonRepresentation
1347
+ property :detected_value, as: 'detectedValue'
1348
+ property :expected_value, as: 'expectedValue'
1349
+ property :field, as: 'field'
1350
+ end
1351
+ end
1352
+
1322
1353
  class Process
1323
1354
  # @private
1324
1355
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1423,6 +1454,10 @@ module Google
1423
1454
  class Representation < Google::Apis::Core::JsonRepresentation
1424
1455
  property :changed_policy, as: 'changedPolicy'
1425
1456
  property :name, as: 'name'
1457
+ property :policy, as: 'policy'
1458
+ collection :policy_drift_details, as: 'policyDriftDetails', class: Google::Apis::SecuritycenterV1beta2::PolicyDriftDetails, decorator: Google::Apis::SecuritycenterV1beta2::PolicyDriftDetails::Representation
1459
+
1460
+ property :policy_set, as: 'policySet'
1426
1461
  property :posture_deployment, as: 'postureDeployment'
1427
1462
  property :posture_deployment_resource, as: 'postureDeploymentResource'
1428
1463
  property :revision_id, as: 'revisionId'
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/security-command-center
35
35
  class SecurityCommandCenterService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://securitycenter.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://securitycenter.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-securitycenter_v1beta2',
49
51
  client_version: Google::Apis::SecuritycenterV1beta2::GEM_VERSION)
50
52
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.63.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-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.63.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []