google-apis-securitycenter_v1beta1 0.68.0 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/securitycenter_v1beta1/classes.rb +64 -8
- data/lib/google/apis/securitycenter_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1beta1/representations.rb +19 -0
- data/lib/google/apis/securitycenter_v1beta1/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: 48d1303ca0dde17783c6f5a2592eb889e49b29dc4fa2a7da3d86840774dc2d05
|
4
|
+
data.tar.gz: 313bf9aa79823e1484238ea22f265903e2bba50f37ee92edc08bd85ff6bdc2a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47e4bb5cfd3712489890445e6501660b1bac76807d650eff269b04c299378f563d63e9ee1a49de1a3b1283e827d49eea41e081227bc8e0782a9388338475b749
|
7
|
+
data.tar.gz: 854f51f4ac56f8129aaaccb7976e71eec60d887023253adfcc9520badae64d67b5908dde05b271a494c6f17475bd37751f2de778e2a46c7f82b9759dea7d7699
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta1
|
2
2
|
|
3
|
+
### v0.70.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240119
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.69.0 (2024-01-21)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240117
|
11
|
+
|
3
12
|
### v0.68.0 (2024-01-07)
|
4
13
|
|
5
14
|
* 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/
|
310
|
+
# simulations/456/attackExposureResults/789
|
311
311
|
# Corresponds to the JSON property `attackExposureResult`
|
312
312
|
# @return [String]
|
313
313
|
attr_accessor :attack_exposure_result
|
@@ -613,7 +613,10 @@ module Google
|
|
613
613
|
attr_accessor :members
|
614
614
|
|
615
615
|
# Role that is assigned to the list of `members`, or principals. For example, `
|
616
|
-
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
616
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
617
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
618
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
619
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
617
620
|
# Corresponds to the JSON property `role`
|
618
621
|
# @return [String]
|
619
622
|
attr_accessor :role
|
@@ -4173,6 +4176,41 @@ module Google
|
|
4173
4176
|
end
|
4174
4177
|
end
|
4175
4178
|
|
4179
|
+
# The policy field that violates the deployed posture and its expected and and
|
4180
|
+
# detected values.
|
4181
|
+
class PolicyDriftDetails
|
4182
|
+
include Google::Apis::Core::Hashable
|
4183
|
+
|
4184
|
+
# The detected value that violates the deployed posture, for example, `false` or
|
4185
|
+
# `allowed_values=`"projects/22831892”``.
|
4186
|
+
# Corresponds to the JSON property `detectedValue`
|
4187
|
+
# @return [String]
|
4188
|
+
attr_accessor :detected_value
|
4189
|
+
|
4190
|
+
# The value of this field that was configured in a posture, for example, `true`
|
4191
|
+
# or `allowed_values=`"projects/29831892”``.
|
4192
|
+
# Corresponds to the JSON property `expectedValue`
|
4193
|
+
# @return [String]
|
4194
|
+
attr_accessor :expected_value
|
4195
|
+
|
4196
|
+
# The name of the updated field, for example constraint.implementation.
|
4197
|
+
# policy_rules[0].enforce
|
4198
|
+
# Corresponds to the JSON property `field`
|
4199
|
+
# @return [String]
|
4200
|
+
attr_accessor :field
|
4201
|
+
|
4202
|
+
def initialize(**args)
|
4203
|
+
update!(**args)
|
4204
|
+
end
|
4205
|
+
|
4206
|
+
# Update properties of this object
|
4207
|
+
def update!(**args)
|
4208
|
+
@detected_value = args[:detected_value] if args.key?(:detected_value)
|
4209
|
+
@expected_value = args[:expected_value] if args.key?(:expected_value)
|
4210
|
+
@field = args[:field] if args.key?(:field)
|
4211
|
+
end
|
4212
|
+
end
|
4213
|
+
|
4176
4214
|
# Represents an operating system process.
|
4177
4215
|
class Process
|
4178
4216
|
include Google::Apis::Core::Hashable
|
@@ -4488,26 +4526,41 @@ module Google
|
|
4488
4526
|
class SecurityPosture
|
4489
4527
|
include Google::Apis::Core::Hashable
|
4490
4528
|
|
4491
|
-
# The name of the policy
|
4492
|
-
#
|
4529
|
+
# The name of the updated policy, for example, `projects/`project_id`/policies/`
|
4530
|
+
# constraint_name``.
|
4493
4531
|
# Corresponds to the JSON property `changedPolicy`
|
4494
4532
|
# @return [String]
|
4495
4533
|
attr_accessor :changed_policy
|
4496
4534
|
|
4497
|
-
# Name of the posture, for example, `
|
4498
|
-
# postures/`posture_name``.
|
4535
|
+
# Name of the posture, for example, `CIS-Posture`.
|
4499
4536
|
# Corresponds to the JSON property `name`
|
4500
4537
|
# @return [String]
|
4501
4538
|
attr_accessor :name
|
4502
4539
|
|
4503
|
-
# The
|
4540
|
+
# The ID of the updated policy, for example, `compute-policy-1`.
|
4541
|
+
# Corresponds to the JSON property `policy`
|
4542
|
+
# @return [String]
|
4543
|
+
attr_accessor :policy
|
4544
|
+
|
4545
|
+
# The details about a change in an updated policy that violates the deployed
|
4546
|
+
# posture.
|
4547
|
+
# Corresponds to the JSON property `policyDriftDetails`
|
4548
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::PolicyDriftDetails>]
|
4549
|
+
attr_accessor :policy_drift_details
|
4550
|
+
|
4551
|
+
# The name of the updated policyset, for example, `cis-policyset`.
|
4552
|
+
# Corresponds to the JSON property `policySet`
|
4553
|
+
# @return [String]
|
4554
|
+
attr_accessor :policy_set
|
4555
|
+
|
4556
|
+
# The name of the posture deployment, for example, `organizations/`org_id`/
|
4504
4557
|
# posturedeployments/`posture_deployment_id``.
|
4505
4558
|
# Corresponds to the JSON property `postureDeployment`
|
4506
4559
|
# @return [String]
|
4507
4560
|
attr_accessor :posture_deployment
|
4508
4561
|
|
4509
4562
|
# The project, folder, or organization on which the posture is deployed, for
|
4510
|
-
# example, `projects/`
|
4563
|
+
# example, `projects/`project_number``.
|
4511
4564
|
# Corresponds to the JSON property `postureDeploymentResource`
|
4512
4565
|
# @return [String]
|
4513
4566
|
attr_accessor :posture_deployment_resource
|
@@ -4525,6 +4578,9 @@ module Google
|
|
4525
4578
|
def update!(**args)
|
4526
4579
|
@changed_policy = args[:changed_policy] if args.key?(:changed_policy)
|
4527
4580
|
@name = args[:name] if args.key?(:name)
|
4581
|
+
@policy = args[:policy] if args.key?(:policy)
|
4582
|
+
@policy_drift_details = args[:policy_drift_details] if args.key?(:policy_drift_details)
|
4583
|
+
@policy_set = args[:policy_set] if args.key?(:policy_set)
|
4528
4584
|
@posture_deployment = args[:posture_deployment] if args.key?(:posture_deployment)
|
4529
4585
|
@posture_deployment_resource = args[:posture_deployment_resource] if args.key?(:posture_deployment_resource)
|
4530
4586
|
@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.
|
19
|
+
GEM_VERSION = "0.70.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 = "20240119"
|
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'
|
@@ -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_v1beta1',
|
49
51
|
client_version: Google::Apis::SecuritycenterV1beta1::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_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.70.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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.70.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: []
|