google-apis-securitycenter_v1beta2 0.61.0 → 0.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/securitycenter_v1beta2/classes.rb +60 -7
- data/lib/google/apis/securitycenter_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1beta2/representations.rb +19 -0
- data/lib/google/apis/securitycenter_v1beta2/service.rb +3 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f101f56e076db9a00f2b997549755bdff2a16de24c17920826b3f4383e5fdef
|
4
|
+
data.tar.gz: 22a9e894bdc4832217a72d3f51a9d1157ecbcd78034d86b07e045c313acbfdf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d54115ea29c23dec5e3b85d765a9cd3cf4d4c3773a1122ea216fb6f470a2151c4e776a0d9e6a4258c0544b9016f1240a7c3ed0b5702eae5ca43aa6b334e782a8
|
7
|
+
data.tar.gz: 66aaaddc4a429104ae315858088f9fff6f0de79a1969c9b374426087afc09a75a157d5fbc05af28a9d84351663aa63fff599d0d7d145729338e7907f558cf862
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.62.0 (2024-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240117
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.61.0 (2024-01-07)
|
4
9
|
|
5
10
|
* 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/
|
224
|
+
# simulations/456/attackExposureResults/789
|
225
225
|
# Corresponds to the JSON property `attackExposureResult`
|
226
226
|
# @return [String]
|
227
227
|
attr_accessor :attack_exposure_result
|
@@ -3271,6 +3271,41 @@ module Google
|
|
3271
3271
|
end
|
3272
3272
|
end
|
3273
3273
|
|
3274
|
+
# The policy field that violates the deployed posture and its expected and and
|
3275
|
+
# detected values.
|
3276
|
+
class PolicyDriftDetails
|
3277
|
+
include Google::Apis::Core::Hashable
|
3278
|
+
|
3279
|
+
# The detected value that violates the deployed posture, for example, `false` or
|
3280
|
+
# `allowed_values=`"projects/22831892”``.
|
3281
|
+
# Corresponds to the JSON property `detectedValue`
|
3282
|
+
# @return [String]
|
3283
|
+
attr_accessor :detected_value
|
3284
|
+
|
3285
|
+
# The value of this field that was configured in a posture, for example, `true`
|
3286
|
+
# or `allowed_values=`"projects/29831892”``.
|
3287
|
+
# Corresponds to the JSON property `expectedValue`
|
3288
|
+
# @return [String]
|
3289
|
+
attr_accessor :expected_value
|
3290
|
+
|
3291
|
+
# The name of the updated field, for example constraint.implementation.
|
3292
|
+
# policy_rules[0].enforce
|
3293
|
+
# Corresponds to the JSON property `field`
|
3294
|
+
# @return [String]
|
3295
|
+
attr_accessor :field
|
3296
|
+
|
3297
|
+
def initialize(**args)
|
3298
|
+
update!(**args)
|
3299
|
+
end
|
3300
|
+
|
3301
|
+
# Update properties of this object
|
3302
|
+
def update!(**args)
|
3303
|
+
@detected_value = args[:detected_value] if args.key?(:detected_value)
|
3304
|
+
@expected_value = args[:expected_value] if args.key?(:expected_value)
|
3305
|
+
@field = args[:field] if args.key?(:field)
|
3306
|
+
end
|
3307
|
+
end
|
3308
|
+
|
3274
3309
|
# Represents an operating system process.
|
3275
3310
|
class Process
|
3276
3311
|
include Google::Apis::Core::Hashable
|
@@ -3660,26 +3695,41 @@ module Google
|
|
3660
3695
|
class SecurityPosture
|
3661
3696
|
include Google::Apis::Core::Hashable
|
3662
3697
|
|
3663
|
-
# The name of the policy
|
3664
|
-
#
|
3698
|
+
# The name of the updated policy, for example, `projects/`project_id`/policies/`
|
3699
|
+
# constraint_name``.
|
3665
3700
|
# Corresponds to the JSON property `changedPolicy`
|
3666
3701
|
# @return [String]
|
3667
3702
|
attr_accessor :changed_policy
|
3668
3703
|
|
3669
|
-
# Name of the posture, for example, `
|
3670
|
-
# postures/`posture_name``.
|
3704
|
+
# Name of the posture, for example, `CIS-Posture`.
|
3671
3705
|
# Corresponds to the JSON property `name`
|
3672
3706
|
# @return [String]
|
3673
3707
|
attr_accessor :name
|
3674
3708
|
|
3675
|
-
# The
|
3709
|
+
# The ID of the updated policy, for example, `compute-policy-1`.
|
3710
|
+
# Corresponds to the JSON property `policy`
|
3711
|
+
# @return [String]
|
3712
|
+
attr_accessor :policy
|
3713
|
+
|
3714
|
+
# The details about a change in an updated policy that violates the deployed
|
3715
|
+
# posture.
|
3716
|
+
# Corresponds to the JSON property `policyDriftDetails`
|
3717
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::PolicyDriftDetails>]
|
3718
|
+
attr_accessor :policy_drift_details
|
3719
|
+
|
3720
|
+
# The name of the updated policyset, for example, `cis-policyset`.
|
3721
|
+
# Corresponds to the JSON property `policySet`
|
3722
|
+
# @return [String]
|
3723
|
+
attr_accessor :policy_set
|
3724
|
+
|
3725
|
+
# The name of the posture deployment, for example, `organizations/`org_id`/
|
3676
3726
|
# posturedeployments/`posture_deployment_id``.
|
3677
3727
|
# Corresponds to the JSON property `postureDeployment`
|
3678
3728
|
# @return [String]
|
3679
3729
|
attr_accessor :posture_deployment
|
3680
3730
|
|
3681
3731
|
# The project, folder, or organization on which the posture is deployed, for
|
3682
|
-
# example, `projects/`
|
3732
|
+
# example, `projects/`project_number``.
|
3683
3733
|
# Corresponds to the JSON property `postureDeploymentResource`
|
3684
3734
|
# @return [String]
|
3685
3735
|
attr_accessor :posture_deployment_resource
|
@@ -3697,6 +3747,9 @@ module Google
|
|
3697
3747
|
def update!(**args)
|
3698
3748
|
@changed_policy = args[:changed_policy] if args.key?(:changed_policy)
|
3699
3749
|
@name = args[:name] if args.key?(:name)
|
3750
|
+
@policy = args[:policy] if args.key?(:policy)
|
3751
|
+
@policy_drift_details = args[:policy_drift_details] if args.key?(:policy_drift_details)
|
3752
|
+
@policy_set = args[:policy_set] if args.key?(:policy_set)
|
3700
3753
|
@posture_deployment = args[:posture_deployment] if args.key?(:posture_deployment)
|
3701
3754
|
@posture_deployment_resource = args[:posture_deployment_resource] if args.key?(:posture_deployment_resource)
|
3702
3755
|
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.62.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -424,6 +424,12 @@ module Google
|
|
424
424
|
include Google::Apis::Core::JsonObjectSupport
|
425
425
|
end
|
426
426
|
|
427
|
+
class PolicyDriftDetails
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
427
433
|
class Process
|
428
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
435
|
|
@@ -1319,6 +1325,15 @@ module Google
|
|
1319
1325
|
end
|
1320
1326
|
end
|
1321
1327
|
|
1328
|
+
class PolicyDriftDetails
|
1329
|
+
# @private
|
1330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1331
|
+
property :detected_value, as: 'detectedValue'
|
1332
|
+
property :expected_value, as: 'expectedValue'
|
1333
|
+
property :field, as: 'field'
|
1334
|
+
end
|
1335
|
+
end
|
1336
|
+
|
1322
1337
|
class Process
|
1323
1338
|
# @private
|
1324
1339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1423,6 +1438,10 @@ module Google
|
|
1423
1438
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1424
1439
|
property :changed_policy, as: 'changedPolicy'
|
1425
1440
|
property :name, as: 'name'
|
1441
|
+
property :policy, as: 'policy'
|
1442
|
+
collection :policy_drift_details, as: 'policyDriftDetails', class: Google::Apis::SecuritycenterV1beta2::PolicyDriftDetails, decorator: Google::Apis::SecuritycenterV1beta2::PolicyDriftDetails::Representation
|
1443
|
+
|
1444
|
+
property :policy_set, as: 'policySet'
|
1426
1445
|
property :posture_deployment, as: 'postureDeployment'
|
1427
1446
|
property :posture_deployment_resource, as: 'postureDeploymentResource'
|
1428
1447
|
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(
|
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.
|
4
|
+
version: 0.62.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-
|
11
|
+
date: 2024-01-23 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.
|
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.
|
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
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.62.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: []
|