google-apis-securitycenter_v1beta1 0.67.0 → 0.69.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 064b2e0696fbb9d1f8b35625594a89ed32d6f71f2cb22bfde38d1826ecc0def9
|
4
|
+
data.tar.gz: 771799e271abc1b3cf52308b7dcf7a5cacbb503db7145b56117f288de1b7226a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b57ab70ff45b573ba4e44c260b07fba71bc27c837ff6ad0aad941b6d47599781323e317b7b4ebf9645629b3ab501361f07d941bf3ad55697d4038b7c0eae079c
|
7
|
+
data.tar.gz: 0225b0591638e9849c00e0a524db1453168a332e74cc55464ae621e81f2bbcfc6a878bfedd9a7536fba90dd15e4c29a85f017580f0fed84ee41114bc1322ebdd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.68.0 (2024-01-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240101
|
10
|
+
|
3
11
|
### v0.67.0 (2023-12-24)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231218
|
@@ -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
|
@@ -2102,6 +2102,21 @@ module Google
|
|
2102
2102
|
# @return [Array<String>]
|
2103
2103
|
attr_accessor :assignees
|
2104
2104
|
|
2105
|
+
# The priority of the finding's corresponding case in the external system.
|
2106
|
+
# Corresponds to the JSON property `casePriority`
|
2107
|
+
# @return [String]
|
2108
|
+
attr_accessor :case_priority
|
2109
|
+
|
2110
|
+
# The SLA of the finding's corresponding case in the external system.
|
2111
|
+
# Corresponds to the JSON property `caseSla`
|
2112
|
+
# @return [String]
|
2113
|
+
attr_accessor :case_sla
|
2114
|
+
|
2115
|
+
# The link to the finding's corresponding case in the external system.
|
2116
|
+
# Corresponds to the JSON property `caseUri`
|
2117
|
+
# @return [String]
|
2118
|
+
attr_accessor :case_uri
|
2119
|
+
|
2105
2120
|
# The time when the case was last updated, as reported by the external system.
|
2106
2121
|
# Corresponds to the JSON property `externalSystemUpdateTime`
|
2107
2122
|
# @return [String]
|
@@ -2127,6 +2142,12 @@ module Google
|
|
2127
2142
|
# @return [String]
|
2128
2143
|
attr_accessor :status
|
2129
2144
|
|
2145
|
+
# Information about the ticket, if any, that is being used to track the
|
2146
|
+
# resolution of the issue that is identified by this finding.
|
2147
|
+
# Corresponds to the JSON property `ticketInfo`
|
2148
|
+
# @return [Google::Apis::SecuritycenterV1beta1::TicketInfo]
|
2149
|
+
attr_accessor :ticket_info
|
2150
|
+
|
2130
2151
|
def initialize(**args)
|
2131
2152
|
update!(**args)
|
2132
2153
|
end
|
@@ -2134,10 +2155,14 @@ module Google
|
|
2134
2155
|
# Update properties of this object
|
2135
2156
|
def update!(**args)
|
2136
2157
|
@assignees = args[:assignees] if args.key?(:assignees)
|
2158
|
+
@case_priority = args[:case_priority] if args.key?(:case_priority)
|
2159
|
+
@case_sla = args[:case_sla] if args.key?(:case_sla)
|
2160
|
+
@case_uri = args[:case_uri] if args.key?(:case_uri)
|
2137
2161
|
@external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
|
2138
2162
|
@external_uid = args[:external_uid] if args.key?(:external_uid)
|
2139
2163
|
@name = args[:name] if args.key?(:name)
|
2140
2164
|
@status = args[:status] if args.key?(:status)
|
2165
|
+
@ticket_info = args[:ticket_info] if args.key?(:ticket_info)
|
2141
2166
|
end
|
2142
2167
|
end
|
2143
2168
|
|
@@ -4148,6 +4173,41 @@ module Google
|
|
4148
4173
|
end
|
4149
4174
|
end
|
4150
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
|
+
|
4151
4211
|
# Represents an operating system process.
|
4152
4212
|
class Process
|
4153
4213
|
include Google::Apis::Core::Hashable
|
@@ -4463,26 +4523,41 @@ module Google
|
|
4463
4523
|
class SecurityPosture
|
4464
4524
|
include Google::Apis::Core::Hashable
|
4465
4525
|
|
4466
|
-
# The name of the policy
|
4467
|
-
#
|
4526
|
+
# The name of the updated policy, for example, `projects/`project_id`/policies/`
|
4527
|
+
# constraint_name``.
|
4468
4528
|
# Corresponds to the JSON property `changedPolicy`
|
4469
4529
|
# @return [String]
|
4470
4530
|
attr_accessor :changed_policy
|
4471
4531
|
|
4472
|
-
# Name of the posture, for example, `
|
4473
|
-
# postures/`posture_name``.
|
4532
|
+
# Name of the posture, for example, `CIS-Posture`.
|
4474
4533
|
# Corresponds to the JSON property `name`
|
4475
4534
|
# @return [String]
|
4476
4535
|
attr_accessor :name
|
4477
4536
|
|
4478
|
-
# The
|
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`/
|
4479
4554
|
# posturedeployments/`posture_deployment_id``.
|
4480
4555
|
# Corresponds to the JSON property `postureDeployment`
|
4481
4556
|
# @return [String]
|
4482
4557
|
attr_accessor :posture_deployment
|
4483
4558
|
|
4484
4559
|
# The project, folder, or organization on which the posture is deployed, for
|
4485
|
-
# example, `projects/`
|
4560
|
+
# example, `projects/`project_number``.
|
4486
4561
|
# Corresponds to the JSON property `postureDeploymentResource`
|
4487
4562
|
# @return [String]
|
4488
4563
|
attr_accessor :posture_deployment_resource
|
@@ -4500,6 +4575,9 @@ module Google
|
|
4500
4575
|
def update!(**args)
|
4501
4576
|
@changed_policy = args[:changed_policy] if args.key?(:changed_policy)
|
4502
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)
|
4503
4581
|
@posture_deployment = args[:posture_deployment] if args.key?(:posture_deployment)
|
4504
4582
|
@posture_deployment_resource = args[:posture_deployment_resource] if args.key?(:posture_deployment_resource)
|
4505
4583
|
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
@@ -4767,6 +4845,56 @@ module Google
|
|
4767
4845
|
end
|
4768
4846
|
end
|
4769
4847
|
|
4848
|
+
# Information about the ticket, if any, that is being used to track the
|
4849
|
+
# resolution of the issue that is identified by this finding.
|
4850
|
+
class TicketInfo
|
4851
|
+
include Google::Apis::Core::Hashable
|
4852
|
+
|
4853
|
+
# The assignee of the ticket in the ticket system.
|
4854
|
+
# Corresponds to the JSON property `assignee`
|
4855
|
+
# @return [String]
|
4856
|
+
attr_accessor :assignee
|
4857
|
+
|
4858
|
+
# The description of the ticket in the ticket system.
|
4859
|
+
# Corresponds to the JSON property `description`
|
4860
|
+
# @return [String]
|
4861
|
+
attr_accessor :description
|
4862
|
+
|
4863
|
+
# The identifier of the ticket in the ticket system.
|
4864
|
+
# Corresponds to the JSON property `id`
|
4865
|
+
# @return [String]
|
4866
|
+
attr_accessor :id
|
4867
|
+
|
4868
|
+
# The latest status of the ticket, as reported by the ticket system.
|
4869
|
+
# Corresponds to the JSON property `status`
|
4870
|
+
# @return [String]
|
4871
|
+
attr_accessor :status
|
4872
|
+
|
4873
|
+
# The time when the ticket was last updated, as reported by the ticket system.
|
4874
|
+
# Corresponds to the JSON property `updateTime`
|
4875
|
+
# @return [String]
|
4876
|
+
attr_accessor :update_time
|
4877
|
+
|
4878
|
+
# The link to the ticket in the ticket system.
|
4879
|
+
# Corresponds to the JSON property `uri`
|
4880
|
+
# @return [String]
|
4881
|
+
attr_accessor :uri
|
4882
|
+
|
4883
|
+
def initialize(**args)
|
4884
|
+
update!(**args)
|
4885
|
+
end
|
4886
|
+
|
4887
|
+
# Update properties of this object
|
4888
|
+
def update!(**args)
|
4889
|
+
@assignee = args[:assignee] if args.key?(:assignee)
|
4890
|
+
@description = args[:description] if args.key?(:description)
|
4891
|
+
@id = args[:id] if args.key?(:id)
|
4892
|
+
@status = args[:status] if args.key?(:status)
|
4893
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4894
|
+
@uri = args[:uri] if args.key?(:uri)
|
4895
|
+
end
|
4896
|
+
end
|
4897
|
+
|
4770
4898
|
# Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
4771
4899
|
class Vulnerability
|
4772
4900
|
include Google::Apis::Core::Hashable
|
@@ -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.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 = "
|
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
|
|
@@ -646,6 +652,12 @@ module Google
|
|
646
652
|
include Google::Apis::Core::JsonObjectSupport
|
647
653
|
end
|
648
654
|
|
655
|
+
class TicketInfo
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
+
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
659
|
+
end
|
660
|
+
|
649
661
|
class Vulnerability
|
650
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
663
|
|
@@ -1146,10 +1158,15 @@ module Google
|
|
1146
1158
|
# @private
|
1147
1159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1148
1160
|
collection :assignees, as: 'assignees'
|
1161
|
+
property :case_priority, as: 'casePriority'
|
1162
|
+
property :case_sla, as: 'caseSla'
|
1163
|
+
property :case_uri, as: 'caseUri'
|
1149
1164
|
property :external_system_update_time, as: 'externalSystemUpdateTime'
|
1150
1165
|
property :external_uid, as: 'externalUid'
|
1151
1166
|
property :name, as: 'name'
|
1152
1167
|
property :status, as: 'status'
|
1168
|
+
property :ticket_info, as: 'ticketInfo', class: Google::Apis::SecuritycenterV1beta1::TicketInfo, decorator: Google::Apis::SecuritycenterV1beta1::TicketInfo::Representation
|
1169
|
+
|
1153
1170
|
end
|
1154
1171
|
end
|
1155
1172
|
|
@@ -1635,6 +1652,15 @@ module Google
|
|
1635
1652
|
end
|
1636
1653
|
end
|
1637
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
|
+
|
1638
1664
|
class Process
|
1639
1665
|
# @private
|
1640
1666
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1723,6 +1749,10 @@ module Google
|
|
1723
1749
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1724
1750
|
property :changed_policy, as: 'changedPolicy'
|
1725
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'
|
1726
1756
|
property :posture_deployment, as: 'postureDeployment'
|
1727
1757
|
property :posture_deployment_resource, as: 'postureDeploymentResource'
|
1728
1758
|
property :revision_id, as: 'revisionId'
|
@@ -1795,6 +1825,18 @@ module Google
|
|
1795
1825
|
end
|
1796
1826
|
end
|
1797
1827
|
|
1828
|
+
class TicketInfo
|
1829
|
+
# @private
|
1830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1831
|
+
property :assignee, as: 'assignee'
|
1832
|
+
property :description, as: 'description'
|
1833
|
+
property :id, as: 'id'
|
1834
|
+
property :status, as: 'status'
|
1835
|
+
property :update_time, as: 'updateTime'
|
1836
|
+
property :uri, as: 'uri'
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
|
1798
1840
|
class Vulnerability
|
1799
1841
|
# @private
|
1800
1842
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.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:
|
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.
|
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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Security Command Center API V1beta1
|