google-apis-securitycenter_v1beta1 0.9.0 → 0.13.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 976c2cf747e62d64df7b40f81f44f41beabff9cd09b6b0bc2bd3e6acaea7bd61
|
4
|
+
data.tar.gz: 921852a1093f36a1f5b7ffaf8ed9c3237903b3b3a475e5446cbd42aa145b8209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 995daf6a49cfe646b2dfed59978cdbab9295da1e810eddadd0b769605881e33d82965dca40c2074f32c734903073318e7bf9b3cd31b3c7b9296ac00a519313c4
|
7
|
+
data.tar.gz: 06c4908416cef753420c6d52f8d0d6e7dba6ec454e3034f6e5285553dd70eef7f8df4283cd090335ea067a7d37d656a5df2d92de92dbda2f8b3d00422be02f46
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta1
|
2
2
|
|
3
|
+
### v0.13.0 (2021-11-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211112
|
6
|
+
|
7
|
+
### v0.12.0 (2021-11-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211103
|
10
|
+
|
11
|
+
### v0.11.0 (2021-10-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211015
|
14
|
+
|
15
|
+
### v0.10.0 (2021-10-12)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211007
|
18
|
+
|
3
19
|
### v0.9.0 (2021-10-05)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210930
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Securitycenter service in particular.)
|
67
67
|
|
@@ -179,7 +179,7 @@ module Google
|
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
182
|
-
# Associates `members
|
182
|
+
# Associates `members`, or principals, with a `role`.
|
183
183
|
class Binding
|
184
184
|
include Google::Apis::Core::Hashable
|
185
185
|
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
# @return [Google::Apis::SecuritycenterV1beta1::Expr]
|
203
203
|
attr_accessor :condition
|
204
204
|
|
205
|
-
# Specifies the
|
205
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
206
206
|
# members` can have the following values: * `allUsers`: A special identifier
|
207
207
|
# that represents anyone who is on the internet; with or without a Google
|
208
208
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -232,8 +232,8 @@ module Google
|
|
232
232
|
# @return [Array<String>]
|
233
233
|
attr_accessor :members
|
234
234
|
|
235
|
-
# Role that is assigned to `members
|
236
|
-
#
|
235
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
236
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
237
237
|
# Corresponds to the JSON property `role`
|
238
238
|
# @return [String]
|
239
239
|
attr_accessor :role
|
@@ -482,6 +482,12 @@ module Google
|
|
482
482
|
# @return [String]
|
483
483
|
attr_accessor :event_time
|
484
484
|
|
485
|
+
# Output only. Third party SIEM/SOAR fields within SCC, contains external system
|
486
|
+
# information and external system finding fields.
|
487
|
+
# Corresponds to the JSON property `externalSystems`
|
488
|
+
# @return [Hash<String,Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem>]
|
489
|
+
attr_accessor :external_systems
|
490
|
+
|
485
491
|
# The URI that, if available, points to a web page outside of Security Command
|
486
492
|
# Center where additional information about the finding can be found. This field
|
487
493
|
# is guaranteed to be either empty or a well formed URL.
|
@@ -502,6 +508,24 @@ module Google
|
|
502
508
|
# @return [Google::Apis::SecuritycenterV1beta1::Indicator]
|
503
509
|
attr_accessor :indicator
|
504
510
|
|
511
|
+
# Indicates the mute state of a finding (either unspecified, muted, unmuted or
|
512
|
+
# undefined).
|
513
|
+
# Corresponds to the JSON property `mute`
|
514
|
+
# @return [String]
|
515
|
+
attr_accessor :mute
|
516
|
+
|
517
|
+
# First known as mute_annotation. Records additional information about the mute
|
518
|
+
# operation e.g. mute config that muted the finding, user who muted the finding,
|
519
|
+
# etc.
|
520
|
+
# Corresponds to the JSON property `muteInitiator`
|
521
|
+
# @return [String]
|
522
|
+
attr_accessor :mute_initiator
|
523
|
+
|
524
|
+
# Output only. The most recent time this finding was muted or unmuted.
|
525
|
+
# Corresponds to the JSON property `muteUpdateTime`
|
526
|
+
# @return [String]
|
527
|
+
attr_accessor :mute_update_time
|
528
|
+
|
505
529
|
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
506
530
|
# design/resource_names#relative_resource_name Example: "organizations/`
|
507
531
|
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
@@ -568,9 +592,13 @@ module Google
|
|
568
592
|
@category = args[:category] if args.key?(:category)
|
569
593
|
@create_time = args[:create_time] if args.key?(:create_time)
|
570
594
|
@event_time = args[:event_time] if args.key?(:event_time)
|
595
|
+
@external_systems = args[:external_systems] if args.key?(:external_systems)
|
571
596
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
572
597
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
573
598
|
@indicator = args[:indicator] if args.key?(:indicator)
|
599
|
+
@mute = args[:mute] if args.key?(:mute)
|
600
|
+
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
601
|
+
@mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
|
574
602
|
@name = args[:name] if args.key?(:name)
|
575
603
|
@parent = args[:parent] if args.key?(:parent)
|
576
604
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
@@ -631,13 +659,16 @@ module Google
|
|
631
659
|
class GetPolicyOptions
|
632
660
|
include Google::Apis::Core::Hashable
|
633
661
|
|
634
|
-
# Optional. The policy
|
635
|
-
# 3. Requests specifying an invalid value will be
|
636
|
-
# policies with any conditional bindings must
|
637
|
-
#
|
638
|
-
# field unset.
|
639
|
-
#
|
640
|
-
#
|
662
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
663
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
664
|
+
# rejected. Requests for policies with any conditional role bindings must
|
665
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
666
|
+
# valid value or leave the field unset. The policy in the response might use the
|
667
|
+
# policy version that you specified, or it might use a lower policy version. For
|
668
|
+
# example, if you specify version 3, but the policy has no conditional role
|
669
|
+
# bindings, the response uses version 1. To learn which resources support
|
670
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
671
|
+
# google.com/iam/help/conditions/resource-policies).
|
641
672
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
642
673
|
# @return [Fixnum]
|
643
674
|
attr_accessor :requested_policy_version
|
@@ -652,6 +683,126 @@ module Google
|
|
652
683
|
end
|
653
684
|
end
|
654
685
|
|
686
|
+
# Representation of third party SIEM/SOAR fields within SCC.
|
687
|
+
class GoogleCloudSecuritycenterV1ExternalSystem
|
688
|
+
include Google::Apis::Core::Hashable
|
689
|
+
|
690
|
+
# References primary/secondary etc assignees in the external system.
|
691
|
+
# Corresponds to the JSON property `assignees`
|
692
|
+
# @return [Array<String>]
|
693
|
+
attr_accessor :assignees
|
694
|
+
|
695
|
+
# The most recent time when the corresponding finding's ticket/tracker was
|
696
|
+
# updated in the external system.
|
697
|
+
# Corresponds to the JSON property `externalSystemUpdateTime`
|
698
|
+
# @return [String]
|
699
|
+
attr_accessor :external_system_update_time
|
700
|
+
|
701
|
+
# Identifier that's used to track the given finding in the external system.
|
702
|
+
# Corresponds to the JSON property `externalUid`
|
703
|
+
# @return [String]
|
704
|
+
attr_accessor :external_uid
|
705
|
+
|
706
|
+
# External System Name e.g. jira, demisto, etc. e.g.: organizations/1234/sources/
|
707
|
+
# 5678/findings/123456/externalSystems/jira folders/1234/sources/5678/findings/
|
708
|
+
# 123456/externalSystems/jira projects/1234/sources/5678/findings/123456/
|
709
|
+
# externalSystems/jira
|
710
|
+
# Corresponds to the JSON property `name`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :name
|
713
|
+
|
714
|
+
# Most recent status of the corresponding finding's ticket/tracker in the
|
715
|
+
# external system.
|
716
|
+
# Corresponds to the JSON property `status`
|
717
|
+
# @return [String]
|
718
|
+
attr_accessor :status
|
719
|
+
|
720
|
+
def initialize(**args)
|
721
|
+
update!(**args)
|
722
|
+
end
|
723
|
+
|
724
|
+
# Update properties of this object
|
725
|
+
def update!(**args)
|
726
|
+
@assignees = args[:assignees] if args.key?(:assignees)
|
727
|
+
@external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
|
728
|
+
@external_uid = args[:external_uid] if args.key?(:external_uid)
|
729
|
+
@name = args[:name] if args.key?(:name)
|
730
|
+
@status = args[:status] if args.key?(:status)
|
731
|
+
end
|
732
|
+
end
|
733
|
+
|
734
|
+
# A mute config is a Cloud SCC resource that contains the configuration to mute
|
735
|
+
# create/update events of findings.
|
736
|
+
class GoogleCloudSecuritycenterV1MuteConfig
|
737
|
+
include Google::Apis::Core::Hashable
|
738
|
+
|
739
|
+
# Output only. The time at which the mute config was created. This field is set
|
740
|
+
# by the server and will be ignored if provided on config creation.
|
741
|
+
# Corresponds to the JSON property `createTime`
|
742
|
+
# @return [String]
|
743
|
+
attr_accessor :create_time
|
744
|
+
|
745
|
+
# A description of the mute config.
|
746
|
+
# Corresponds to the JSON property `description`
|
747
|
+
# @return [String]
|
748
|
+
attr_accessor :description
|
749
|
+
|
750
|
+
# The human readable name to be displayed for the mute config.
|
751
|
+
# Corresponds to the JSON property `displayName`
|
752
|
+
# @return [String]
|
753
|
+
attr_accessor :display_name
|
754
|
+
|
755
|
+
# Required. An expression that defines the filter to apply across create/update
|
756
|
+
# events of findings. While creating a filter string, be mindful of the scope in
|
757
|
+
# which the mute configuration is being created. E.g., If a filter contains
|
758
|
+
# project = X but is created under the project = Y scope, it might not match any
|
759
|
+
# findings. The following field and operator combinations are supported: *
|
760
|
+
# severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.
|
761
|
+
# project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.
|
762
|
+
# folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.
|
763
|
+
# parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `
|
764
|
+
# :` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
|
765
|
+
# Corresponds to the JSON property `filter`
|
766
|
+
# @return [String]
|
767
|
+
attr_accessor :filter
|
768
|
+
|
769
|
+
# Output only. Email address of the user who last edited the mute config. This
|
770
|
+
# field is set by the server and will be ignored if provided on config creation
|
771
|
+
# or update.
|
772
|
+
# Corresponds to the JSON property `mostRecentEditor`
|
773
|
+
# @return [String]
|
774
|
+
attr_accessor :most_recent_editor
|
775
|
+
|
776
|
+
# This field will be ignored if provided on config creation. Format "
|
777
|
+
# organizations/`organization`/muteConfigs/`mute_config`" "folders/`folder`/
|
778
|
+
# muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`"
|
779
|
+
# Corresponds to the JSON property `name`
|
780
|
+
# @return [String]
|
781
|
+
attr_accessor :name
|
782
|
+
|
783
|
+
# Output only. The most recent time at which the mute config was updated. This
|
784
|
+
# field is set by the server and will be ignored if provided on config creation
|
785
|
+
# or update.
|
786
|
+
# Corresponds to the JSON property `updateTime`
|
787
|
+
# @return [String]
|
788
|
+
attr_accessor :update_time
|
789
|
+
|
790
|
+
def initialize(**args)
|
791
|
+
update!(**args)
|
792
|
+
end
|
793
|
+
|
794
|
+
# Update properties of this object
|
795
|
+
def update!(**args)
|
796
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
797
|
+
@description = args[:description] if args.key?(:description)
|
798
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
799
|
+
@filter = args[:filter] if args.key?(:filter)
|
800
|
+
@most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
|
801
|
+
@name = args[:name] if args.key?(:name)
|
802
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
803
|
+
end
|
804
|
+
end
|
805
|
+
|
655
806
|
# Cloud SCC's Notification
|
656
807
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
657
808
|
include Google::Apis::Core::Hashable
|
@@ -691,6 +842,11 @@ module Google
|
|
691
842
|
class GoogleCloudSecuritycenterV1Resource
|
692
843
|
include Google::Apis::Core::Hashable
|
693
844
|
|
845
|
+
# The human readable name of the resource.
|
846
|
+
# Corresponds to the JSON property `displayName`
|
847
|
+
# @return [String]
|
848
|
+
attr_accessor :display_name
|
849
|
+
|
694
850
|
# Output only. Contains a Folder message for each folder in the assets ancestry.
|
695
851
|
# The first folder is the deepest nested folder, and the last folder is the
|
696
852
|
# folder directly under the Organization.
|
@@ -735,6 +891,7 @@ module Google
|
|
735
891
|
|
736
892
|
# Update properties of this object
|
737
893
|
def update!(**args)
|
894
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
738
895
|
@folders = args[:folders] if args.key?(:folders)
|
739
896
|
@name = args[:name] if args.key?(:name)
|
740
897
|
@parent = args[:parent] if args.key?(:parent)
|
@@ -1752,31 +1909,31 @@ module Google
|
|
1752
1909
|
|
1753
1910
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1754
1911
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1755
|
-
# A `binding` binds one or more `members
|
1756
|
-
# user accounts, service accounts, Google groups, and domains (
|
1757
|
-
# A `role` is a named list of permissions; each `role` can be
|
1758
|
-
# role or a user-created custom role. For some types of Google
|
1759
|
-
# a `binding` can also specify a `condition`, which is a
|
1760
|
-
# allows access to a resource only if the expression
|
1761
|
-
# condition can add constraints based on attributes of
|
1762
|
-
# or both. To learn which resources support
|
1763
|
-
# see the [IAM documentation](https://cloud.
|
1764
|
-
# resource-policies). **JSON example:** ` "
|
1765
|
-
# resourcemanager.organizationAdmin", "members": [
|
1766
|
-
# group:admins@example.com", "domain:google.com", "
|
1767
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1768
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1769
|
-
# title": "expirable access", "description": "Does not grant
|
1770
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1771
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1772
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1773
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1774
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1775
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1776
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1777
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1778
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1779
|
-
# google.com/iam/docs/).
|
1912
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1913
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1914
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1915
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1916
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1917
|
+
# logical expression that allows access to a resource only if the expression
|
1918
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1919
|
+
# the request, the resource, or both. To learn which resources support
|
1920
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1921
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1922
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1923
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1924
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1925
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1926
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1927
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1928
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1929
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1930
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1931
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1932
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1933
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1934
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1935
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1936
|
+
# cloud.google.com/iam/docs/).
|
1780
1937
|
class Policy
|
1781
1938
|
include Google::Apis::Core::Hashable
|
1782
1939
|
|
@@ -1785,14 +1942,14 @@ module Google
|
|
1785
1942
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::AuditConfig>]
|
1786
1943
|
attr_accessor :audit_configs
|
1787
1944
|
|
1788
|
-
# Associates a list of `members
|
1789
|
-
# condition` that determines how and when the `bindings` are applied.
|
1790
|
-
# the `bindings` must contain at least one
|
1791
|
-
# can refer to up to 1,500
|
1792
|
-
# groups. Each occurrence of a
|
1793
|
-
# if the `bindings` grant 50 different roles to `user:alice@
|
1794
|
-
# not to any other
|
1795
|
-
# bindings` in the `Policy`.
|
1945
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1946
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1947
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1948
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1949
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1950
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1951
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1952
|
+
# principals to the `bindings` in the `Policy`.
|
1796
1953
|
# Corresponds to the JSON property `bindings`
|
1797
1954
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::Binding>]
|
1798
1955
|
attr_accessor :bindings
|
@@ -2012,31 +2169,31 @@ module Google
|
|
2012
2169
|
|
2013
2170
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2014
2171
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2015
|
-
# A `binding` binds one or more `members
|
2016
|
-
# user accounts, service accounts, Google groups, and domains (
|
2017
|
-
# A `role` is a named list of permissions; each `role` can be
|
2018
|
-
# role or a user-created custom role. For some types of Google
|
2019
|
-
# a `binding` can also specify a `condition`, which is a
|
2020
|
-
# allows access to a resource only if the expression
|
2021
|
-
# condition can add constraints based on attributes of
|
2022
|
-
# or both. To learn which resources support
|
2023
|
-
# see the [IAM documentation](https://cloud.
|
2024
|
-
# resource-policies). **JSON example:** ` "
|
2025
|
-
# resourcemanager.organizationAdmin", "members": [
|
2026
|
-
# group:admins@example.com", "domain:google.com", "
|
2027
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2028
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2029
|
-
# title": "expirable access", "description": "Does not grant
|
2030
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2031
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2032
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2033
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2034
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2035
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2036
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2037
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2038
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2039
|
-
# google.com/iam/docs/).
|
2172
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
2173
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
2174
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
2175
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
2176
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
2177
|
+
# logical expression that allows access to a resource only if the expression
|
2178
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
2179
|
+
# the request, the resource, or both. To learn which resources support
|
2180
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2181
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2182
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2183
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2184
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2185
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2186
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2187
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2188
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2189
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
2190
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2191
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
2192
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
2193
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
2194
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2195
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
2196
|
+
# cloud.google.com/iam/docs/).
|
2040
2197
|
# Corresponds to the JSON property `policy`
|
2041
2198
|
# @return [Google::Apis::SecuritycenterV1beta1::Policy]
|
2042
2199
|
attr_accessor :policy
|
@@ -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.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211112"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -106,6 +106,18 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class GoogleCloudSecuritycenterV1ExternalSystem
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudSecuritycenterV1MuteConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -432,10 +444,15 @@ module Google
|
|
432
444
|
property :category, as: 'category'
|
433
445
|
property :create_time, as: 'createTime'
|
434
446
|
property :event_time, as: 'eventTime'
|
447
|
+
hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
|
448
|
+
|
435
449
|
property :external_uri, as: 'externalUri'
|
436
450
|
property :finding_class, as: 'findingClass'
|
437
451
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
|
438
452
|
|
453
|
+
property :mute, as: 'mute'
|
454
|
+
property :mute_initiator, as: 'muteInitiator'
|
455
|
+
property :mute_update_time, as: 'muteUpdateTime'
|
439
456
|
property :name, as: 'name'
|
440
457
|
property :parent, as: 'parent'
|
441
458
|
property :resource_name, as: 'resourceName'
|
@@ -472,6 +489,30 @@ module Google
|
|
472
489
|
end
|
473
490
|
end
|
474
491
|
|
492
|
+
class GoogleCloudSecuritycenterV1ExternalSystem
|
493
|
+
# @private
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
495
|
+
collection :assignees, as: 'assignees'
|
496
|
+
property :external_system_update_time, as: 'externalSystemUpdateTime'
|
497
|
+
property :external_uid, as: 'externalUid'
|
498
|
+
property :name, as: 'name'
|
499
|
+
property :status, as: 'status'
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
class GoogleCloudSecuritycenterV1MuteConfig
|
504
|
+
# @private
|
505
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
506
|
+
property :create_time, as: 'createTime'
|
507
|
+
property :description, as: 'description'
|
508
|
+
property :display_name, as: 'displayName'
|
509
|
+
property :filter, as: 'filter'
|
510
|
+
property :most_recent_editor, as: 'mostRecentEditor'
|
511
|
+
property :name, as: 'name'
|
512
|
+
property :update_time, as: 'updateTime'
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
475
516
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
476
517
|
# @private
|
477
518
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -486,6 +527,7 @@ module Google
|
|
486
527
|
class GoogleCloudSecuritycenterV1Resource
|
487
528
|
# @private
|
488
529
|
class Representation < Google::Apis::Core::JsonRepresentation
|
530
|
+
property :display_name, as: 'displayName'
|
489
531
|
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1beta1::Folder, decorator: Google::Apis::SecuritycenterV1beta1::Folder::Representation
|
490
532
|
|
491
533
|
property :name, as: 'name'
|
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.13.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: 2021-
|
11
|
+
date: 2021-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.13.0
|
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: []
|
65
65
|
require_paths:
|