google-apis-securitycenter_v1beta2 0.45.0 → 0.47.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: 3078ca2b6814ee03bd41f3a6b792c4b4054fd99da4ef97fd5d240bcd9e101a50
4
- data.tar.gz: f02a3596312509be2f02f67b039754ea4df08a8279994ab14930e0fd05358202
3
+ metadata.gz: 3e7be4a9590cfbbf3880baaa299e1ba547e7390536e0a424f702494b84d2a7ee
4
+ data.tar.gz: 82edb6f0e9681be9d63bdde20fe0f439f16a217af1da201b659179a705fe7587
5
5
  SHA512:
6
- metadata.gz: d81a4f9a9fc8e17a20af0764644afb1d0519ec75f161e03470afa090d90f88949d0d94fa35fdf210411efacd24d4be04b2542d49e6f2dc96f9542b56ffd06984
7
- data.tar.gz: 872e09fec0d7c5d73fcc620caf79b4f7f41fd8d6a66aa90305ad10285ded871096e1a495c0a554285f4fded0e3345ddb0a94aed3cb842e95aac14ef191b6e79e
6
+ metadata.gz: 465d46773357825575c92aa0e699e668c855273592e8a2f4bfacb46a4670e2445da1a883692128b61d800c6306d80cde5a4c28d81e63a739dbac019d98da2a73
7
+ data.tar.gz: c2d89a6a7da9c33cbe1dd7cfff333f895e42005524549a5fc91ac422cf0f597937c84ecb6791a288153c80e339999579a2b958973e3954fc3d0862a38e7ef558
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.47.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
7
+ ### v0.46.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230329
10
+
3
11
  ### v0.45.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230321
@@ -42,39 +42,41 @@ module Google
42
42
  attr_accessor :method_name
43
43
 
44
44
  # Associated email, such as "foo@google.com". The email address of the
45
- # authenticated user (or service account on behalf of third party principal)
46
- # making the request. For third party identity callers, the `principal_subject`
47
- # field is populated instead of this field. For privacy reasons, the principal
48
- # email address is sometimes redacted. For more information, see [Caller
49
- # identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
45
+ # authenticated user or a service account acting on behalf of a third party
46
+ # principal making the request. For third party identity callers, the `
47
+ # principal_subject` field is populated instead of this field. For privacy
48
+ # reasons, the principal email address is sometimes redacted. For more
49
+ # information, see [Caller identities in audit logs](https://cloud.google.com/
50
+ # logging/docs/audit#user-id).
50
51
  # Corresponds to the JSON property `principalEmail`
51
52
  # @return [String]
52
53
  attr_accessor :principal_email
53
54
 
54
- # A string representing the principal_subject associated with the identity. As
55
- # compared to `principal_email`, supports principals that aren't associated with
56
- # email addresses, such as third party principals. For most identities, the
57
- # format will be `principal://iam.googleapis.com/`identity pool name`/subjects/`
58
- # subject`` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
59
- # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
60
- # identity pool name`[`subject`]`
55
+ # A string that represents the principal_subject that is associated with the
56
+ # identity. Unlike `principal_email`, `principal_subject` supports principals
57
+ # that aren't associated with email addresses, such as third party principals.
58
+ # For most identities, the format is `principal://iam.googleapis.com/`identity
59
+ # pool name`/subject/`subject``. Some GKE identities, such as GKE_WORKLOAD,
60
+ # FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:`
61
+ # identity pool name`[`subject`]`.
61
62
  # Corresponds to the JSON property `principalSubject`
62
63
  # @return [String]
63
64
  attr_accessor :principal_subject
64
65
 
65
- # Identity delegation history of an authenticated service account that makes the
66
- # request. It contains information on the real authorities that try to access
67
- # GCP resources by delegating on a service account. When multiple authorities
68
- # are present, they are guaranteed to be sorted based on the original ordering
69
- # of the identity delegation events.
66
+ # The identity delegation history of an authenticated service account that made
67
+ # the request. The `serviceAccountDelegationInfo[]` object contains information
68
+ # about the real authorities that try to access Google Cloud resources by
69
+ # delegating on a service account. When multiple authorities are present, they
70
+ # are guaranteed to be sorted based on the original ordering of the identity
71
+ # delegation events.
70
72
  # Corresponds to the JSON property `serviceAccountDelegationInfo`
71
73
  # @return [Array<Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo>]
72
74
  attr_accessor :service_account_delegation_info
73
75
 
74
- # The name of the service account key used to create or exchange credentials for
75
- # authenticating the service account making the request. This is a scheme-less
76
- # URI full resource name. For example: "//iam.googleapis.com/projects/`
77
- # PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key`"
76
+ # The name of the service account key that was used to create or exchange
77
+ # credentials when authenticating the service account that made the request.
78
+ # This is a scheme-less URI full resource name. For example: "//iam.googleapis.
79
+ # com/projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key`".
78
80
  # Corresponds to the JSON property `serviceAccountKeyName`
79
81
  # @return [String]
80
82
  attr_accessor :service_account_key_name
@@ -85,18 +87,16 @@ module Google
85
87
  # @return [String]
86
88
  attr_accessor :service_name
87
89
 
88
- # What kind of user agent is associated, for example operating system shells,
89
- # embedded or stand-alone applications, etc.
90
+ # Type of user agent associated with the finding. For example, an operating
91
+ # system shell or an embedded or standalone application.
90
92
  # Corresponds to the JSON property `userAgentFamily`
91
93
  # @return [String]
92
94
  attr_accessor :user_agent_family
93
95
 
94
- # A string that represents the username of a user, user account, or other entity
95
- # involved in the access event. What the entity is and what its role in the
96
- # access event is depends on the finding that this field appears in. The entity
97
- # is likely not an IAM principal, but could be a user that is logged into an
98
- # operating system, if the finding is VM-related, or a user that is logged into
99
- # some type of application that is involved in the access event.
96
+ # A string that represents a username. The username provided depends on the type
97
+ # of the finding and is likely not an IAM principal. For example, this can be a
98
+ # system username if the finding is related to a virtual machine, or it can be
99
+ # an application login username.
100
100
  # Corresponds to the JSON property `userName`
101
101
  # @return [String]
102
102
  attr_accessor :user_name
@@ -178,38 +178,6 @@ module Google
178
178
  end
179
179
  end
180
180
 
181
- # A finding that is associated with this node in the exposure path.
182
- class AssociatedFinding
183
- include Google::Apis::Core::Hashable
184
-
185
- # Canonical name of the associated findings. Example: organizations/123/sources/
186
- # 456/findings/789
187
- # Corresponds to the JSON property `canonicalFindingName`
188
- # @return [String]
189
- attr_accessor :canonical_finding_name
190
-
191
- # The additional taxonomy group within findings from a given source.
192
- # Corresponds to the JSON property `findingCategory`
193
- # @return [String]
194
- attr_accessor :finding_category
195
-
196
- # Full resource name of the finding.
197
- # Corresponds to the JSON property `name`
198
- # @return [String]
199
- attr_accessor :name
200
-
201
- def initialize(**args)
202
- update!(**args)
203
- end
204
-
205
- # Update properties of this object
206
- def update!(**args)
207
- @canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name)
208
- @finding_category = args[:finding_category] if args.key?(:finding_category)
209
- @name = args[:name] if args.key?(:name)
210
- end
211
- end
212
-
213
181
  # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated
214
182
  # with the finding.
215
183
  class CloudDlpDataProfile
@@ -729,32 +697,6 @@ module Google
729
697
  end
730
698
  end
731
699
 
732
- # Represents a connection between a source node and a destination node in this
733
- # exposure path.
734
- class Edge
735
- include Google::Apis::Core::Hashable
736
-
737
- # This is the resource name of the destination node.
738
- # Corresponds to the JSON property `destination`
739
- # @return [String]
740
- attr_accessor :destination
741
-
742
- # This is the resource name of the source node.
743
- # Corresponds to the JSON property `source`
744
- # @return [String]
745
- attr_accessor :source
746
-
747
- def initialize(**args)
748
- update!(**args)
749
- end
750
-
751
- # Update properties of this object
752
- def update!(**args)
753
- @destination = args[:destination] if args.key?(:destination)
754
- @source = args[:source] if args.key?(:source)
755
- end
756
- end
757
-
758
700
  # EnvironmentVariable is a name-value pair to store environment variables for
759
701
  # Process.
760
702
  class EnvironmentVariable
@@ -881,6 +823,60 @@ module Google
881
823
  end
882
824
  end
883
825
 
826
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
827
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
828
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
829
+ # "Summary size limit" description: "Determines if a summary is less than 100
830
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
831
+ # Requestor is owner" description: "Determines if requestor is the document
832
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
833
+ # Logic): title: "Public documents" description: "Determine whether the document
834
+ # should be publicly visible" expression: "document.type != 'private' &&
835
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
836
+ # string" description: "Create a notification string with a timestamp."
837
+ # expression: "'New message received at ' + string(document.create_time)" The
838
+ # exact variables and functions that may be referenced within an expression are
839
+ # determined by the service that evaluates it. See the service documentation for
840
+ # additional information.
841
+ class Expr
842
+ include Google::Apis::Core::Hashable
843
+
844
+ # Optional. Description of the expression. This is a longer text which describes
845
+ # the expression, e.g. when hovered over it in a UI.
846
+ # Corresponds to the JSON property `description`
847
+ # @return [String]
848
+ attr_accessor :description
849
+
850
+ # Textual representation of an expression in Common Expression Language syntax.
851
+ # Corresponds to the JSON property `expression`
852
+ # @return [String]
853
+ attr_accessor :expression
854
+
855
+ # Optional. String indicating the location of the expression for error reporting,
856
+ # e.g. a file name and a position in the file.
857
+ # Corresponds to the JSON property `location`
858
+ # @return [String]
859
+ attr_accessor :location
860
+
861
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
862
+ # This can be used e.g. in UIs which allow to enter the expression.
863
+ # Corresponds to the JSON property `title`
864
+ # @return [String]
865
+ attr_accessor :title
866
+
867
+ def initialize(**args)
868
+ update!(**args)
869
+ end
870
+
871
+ # Update properties of this object
872
+ def update!(**args)
873
+ @description = args[:description] if args.key?(:description)
874
+ @expression = args[:expression] if args.key?(:expression)
875
+ @location = args[:location] if args.key?(:location)
876
+ @title = args[:title] if args.key?(:title)
877
+ end
878
+ end
879
+
884
880
  # File information about the related binary/library used by an executable, or
885
881
  # the script used by a script interpreter
886
882
  class File
@@ -997,7 +993,7 @@ module Google
997
993
  # @return [Hash<String,Google::Apis::SecuritycenterV1beta2::ContactDetails>]
998
994
  attr_accessor :contacts
999
995
 
1000
- # Containers associated with the finding. containers provides information for
996
+ # Containers associated with the finding. This field provides information for
1001
997
  # both Kubernetes and non-Kubernetes containers.
1002
998
  # Corresponds to the JSON property `containers`
1003
999
  # @return [Array<Google::Apis::SecuritycenterV1beta2::Container>]
@@ -1018,7 +1014,7 @@ module Google
1018
1014
  # @return [Google::Apis::SecuritycenterV1beta2::Database]
1019
1015
  attr_accessor :database
1020
1016
 
1021
- # Contains more detail about the finding.
1017
+ # Contains more details about the finding.
1022
1018
  # Corresponds to the JSON property `description`
1023
1019
  # @return [String]
1024
1020
  attr_accessor :description
@@ -1063,7 +1059,7 @@ module Google
1063
1059
  # @return [String]
1064
1060
  attr_accessor :finding_class
1065
1061
 
1066
- # Represents IAM bindings associated with the Finding.
1062
+ # Represents IAM bindings associated with the finding.
1067
1063
  # Corresponds to the JSON property `iamBindings`
1068
1064
  # @return [Array<Google::Apis::SecuritycenterV1beta2::IamBinding>]
1069
1065
  attr_accessor :iam_bindings
@@ -1106,10 +1102,9 @@ module Google
1106
1102
  # @return [String]
1107
1103
  attr_accessor :mute
1108
1104
 
1109
- # First known as mute_annotation. Records additional information about the mute
1110
- # operation e.g. mute config that muted the finding, user who muted the finding,
1111
- # etc. Unlike other attributes of a finding, a finding provider shouldn't set
1112
- # the value of mute.
1105
+ # Records additional information about the mute operation, for example, the [
1106
+ # mute configuration](/security-command-center/docs/how-to-mute-findings) that
1107
+ # muted the finding and the user who muted the finding.
1113
1108
  # Corresponds to the JSON property `muteInitiator`
1114
1109
  # @return [String]
1115
1110
  attr_accessor :mute_initiator
@@ -1119,24 +1114,20 @@ module Google
1119
1114
  # @return [String]
1120
1115
  attr_accessor :mute_update_time
1121
1116
 
1122
- # The relative resource name of this finding. See: https://cloud.google.com/apis/
1123
- # design/resource_names#relative_resource_name Example: "organizations/`
1124
- # organization_id`/sources/`source_id`/findings/`finding_id`"
1117
+ # The [relative resource name](https://cloud.google.com/apis/design/
1118
+ # resource_names#relative_resource_name) of the finding. Example: "organizations/
1119
+ # `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
1120
+ # folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
1121
+ # sources/`source_id`/findings/`finding_id`".
1125
1122
  # Corresponds to the JSON property `name`
1126
1123
  # @return [String]
1127
1124
  attr_accessor :name
1128
1125
 
1129
- # Next steps associate to the finding.
1126
+ # Steps to address the finding.
1130
1127
  # Corresponds to the JSON property `nextSteps`
1131
1128
  # @return [String]
1132
1129
  attr_accessor :next_steps
1133
1130
 
1134
- # Contains information about the org policy constraints associated with the
1135
- # finding.
1136
- # Corresponds to the JSON property `orgPolicyConstraints`
1137
- # @return [Array<Google::Apis::SecuritycenterV1beta2::OrgPolicyConstraint>]
1138
- attr_accessor :org_policy_constraints
1139
-
1140
1131
  # The relative resource name of the source the finding belongs to. See: https://
1141
1132
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
1142
1133
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -1232,7 +1223,6 @@ module Google
1232
1223
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
1233
1224
  @name = args[:name] if args.key?(:name)
1234
1225
  @next_steps = args[:next_steps] if args.key?(:next_steps)
1235
- @org_policy_constraints = args[:org_policy_constraints] if args.key?(:org_policy_constraints)
1236
1226
  @parent = args[:parent] if args.key?(:parent)
1237
1227
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1238
1228
  @processes = args[:processes] if args.key?(:processes)
@@ -1424,42 +1414,90 @@ module Google
1424
1414
  end
1425
1415
  end
1426
1416
 
1427
- # A resource that is exposed as a result of a finding.
1428
- class GoogleCloudSecuritycenterV1ExposedResource
1417
+ # Defines the properties in a custom module configuration for Security Health
1418
+ # Analytics. Use the custom module configuration to create custom detectors that
1419
+ # generate custom findings for resources that you specify.
1420
+ class GoogleCloudSecuritycenterV1CustomConfig
1429
1421
  include Google::Apis::Core::Hashable
1430
1422
 
1431
- # Human readable name of the resource that is exposed.
1432
- # Corresponds to the JSON property `displayName`
1433
- # @return [String]
1434
- attr_accessor :display_name
1435
-
1436
- # The ways in which this resource is exposed. Examples: Read, Write
1437
- # Corresponds to the JSON property `methods`
1438
- # @return [Array<String>]
1439
- attr_accessor :methods_prop
1423
+ # A set of optional name-value pairs that define custom source properties to
1424
+ # return with each finding that is generated by the custom module. The custom
1425
+ # source properties that are defined here are included in the finding JSON under
1426
+ # `sourceProperties`.
1427
+ # Corresponds to the JSON property `customOutput`
1428
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomOutputSpec]
1429
+ attr_accessor :custom_output
1440
1430
 
1441
- # Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/
1442
- # exposedResources/789`
1443
- # Corresponds to the JSON property `name`
1431
+ # Text that describes the vulnerability or misconfiguration that the custom
1432
+ # module detects. This explanation is returned with each finding instance to
1433
+ # help investigators understand the detected issue. The text must be enclosed in
1434
+ # quotation marks.
1435
+ # Corresponds to the JSON property `description`
1444
1436
  # @return [String]
1445
- attr_accessor :name
1437
+ attr_accessor :description
1446
1438
 
1447
- # The name of the resource that is exposed. See: https://cloud.google.com/apis/
1448
- # design/resource_names#full_resource_name
1449
- # Corresponds to the JSON property `resource`
1439
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1440
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1441
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1442
+ # "Summary size limit" description: "Determines if a summary is less than 100
1443
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1444
+ # Requestor is owner" description: "Determines if requestor is the document
1445
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1446
+ # Logic): title: "Public documents" description: "Determine whether the document
1447
+ # should be publicly visible" expression: "document.type != 'private' &&
1448
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1449
+ # string" description: "Create a notification string with a timestamp."
1450
+ # expression: "'New message received at ' + string(document.create_time)" The
1451
+ # exact variables and functions that may be referenced within an expression are
1452
+ # determined by the service that evaluates it. See the service documentation for
1453
+ # additional information.
1454
+ # Corresponds to the JSON property `predicate`
1455
+ # @return [Google::Apis::SecuritycenterV1beta2::Expr]
1456
+ attr_accessor :predicate
1457
+
1458
+ # An explanation of the recommended steps that security teams can take to
1459
+ # resolve the detected issue. This explanation is returned with each finding
1460
+ # generated by this module in the `nextSteps` property of the finding JSON.
1461
+ # Corresponds to the JSON property `recommendation`
1462
+ # @return [String]
1463
+ attr_accessor :recommendation
1464
+
1465
+ # Resource for selecting resource type.
1466
+ # Corresponds to the JSON property `resourceSelector`
1467
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceSelector]
1468
+ attr_accessor :resource_selector
1469
+
1470
+ # The severity to assign to findings generated by the module.
1471
+ # Corresponds to the JSON property `severity`
1450
1472
  # @return [String]
1451
- attr_accessor :resource
1473
+ attr_accessor :severity
1452
1474
 
1453
- # The resource type of the exposed resource. See: https://cloud.google.com/asset-
1454
- # inventory/docs/supported-asset-types
1455
- # Corresponds to the JSON property `resourceType`
1456
- # @return [String]
1457
- attr_accessor :resource_type
1475
+ def initialize(**args)
1476
+ update!(**args)
1477
+ end
1458
1478
 
1459
- # How valuable this resource is.
1460
- # Corresponds to the JSON property `resourceValue`
1461
- # @return [String]
1462
- attr_accessor :resource_value
1479
+ # Update properties of this object
1480
+ def update!(**args)
1481
+ @custom_output = args[:custom_output] if args.key?(:custom_output)
1482
+ @description = args[:description] if args.key?(:description)
1483
+ @predicate = args[:predicate] if args.key?(:predicate)
1484
+ @recommendation = args[:recommendation] if args.key?(:recommendation)
1485
+ @resource_selector = args[:resource_selector] if args.key?(:resource_selector)
1486
+ @severity = args[:severity] if args.key?(:severity)
1487
+ end
1488
+ end
1489
+
1490
+ # A set of optional name-value pairs that define custom source properties to
1491
+ # return with each finding that is generated by the custom module. The custom
1492
+ # source properties that are defined here are included in the finding JSON under
1493
+ # `sourceProperties`.
1494
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
1495
+ include Google::Apis::Core::Hashable
1496
+
1497
+ # A list of custom output properties to add to the finding.
1498
+ # Corresponds to the JSON property `properties`
1499
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Property>]
1500
+ attr_accessor :properties
1463
1501
 
1464
1502
  def initialize(**args)
1465
1503
  update!(**args)
@@ -1467,50 +1505,62 @@ module Google
1467
1505
 
1468
1506
  # Update properties of this object
1469
1507
  def update!(**args)
1470
- @display_name = args[:display_name] if args.key?(:display_name)
1471
- @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
1472
- @name = args[:name] if args.key?(:name)
1473
- @resource = args[:resource] if args.key?(:resource)
1474
- @resource_type = args[:resource_type] if args.key?(:resource_type)
1475
- @resource_value = args[:resource_value] if args.key?(:resource_value)
1508
+ @properties = args[:properties] if args.key?(:properties)
1476
1509
  end
1477
1510
  end
1478
1511
 
1479
- # A path that an attacker could take to reach an exposed resource.
1480
- class GoogleCloudSecuritycenterV1ExposurePath
1512
+ # An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a
1513
+ # Security Health Analytics custom module at a specified level of the resource
1514
+ # hierarchy: organization, folder, or project. If a custom module is inherited
1515
+ # from a parent organization or folder, the value of the `enablementState`
1516
+ # property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value
1517
+ # that is effective in the parent, instead of `INHERITED`. For example, if the
1518
+ # module is enabled in a parent organization or folder, the effective
1519
+ # enablement_state for the module in all child folders or projects is also `
1520
+ # enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
1521
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
1481
1522
  include Google::Apis::Core::Hashable
1482
1523
 
1483
- # A list of the edges between nodes in this exposure path.
1484
- # Corresponds to the JSON property `edges`
1485
- # @return [Array<Google::Apis::SecuritycenterV1beta2::Edge>]
1486
- attr_accessor :edges
1524
+ # Defines the properties in a custom module configuration for Security Health
1525
+ # Analytics. Use the custom module configuration to create custom detectors that
1526
+ # generate custom findings for resources that you specify.
1527
+ # Corresponds to the JSON property `customConfig`
1528
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig]
1529
+ attr_accessor :custom_config
1487
1530
 
1488
- # A resource that is exposed as a result of a finding.
1489
- # Corresponds to the JSON property `exposedResource`
1490
- # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExposedResource]
1491
- attr_accessor :exposed_resource
1531
+ # Output only. The display name for the custom module. The name must be between
1532
+ # 1 and 128 characters, start with a lowercase letter, and contain alphanumeric
1533
+ # characters or underscores only.
1534
+ # Corresponds to the JSON property `displayName`
1535
+ # @return [String]
1536
+ attr_accessor :display_name
1537
+
1538
+ # Output only. The effective state of enablement for the module at the given
1539
+ # level of the hierarchy.
1540
+ # Corresponds to the JSON property `enablementState`
1541
+ # @return [String]
1542
+ attr_accessor :enablement_state
1492
1543
 
1493
- # Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/
1494
- # exposurePaths/789`
1544
+ # Output only. The resource name of the custom module. Its format is "
1545
+ # organizations/`organization`/securityHealthAnalyticsSettings/
1546
+ # effectiveCustomModules/`customModule`", or "folders/`folder`/
1547
+ # securityHealthAnalyticsSettings/effectiveCustomModules/`customModule`", or "
1548
+ # projects/`project`/securityHealthAnalyticsSettings/effectiveCustomModules/`
1549
+ # customModule`"
1495
1550
  # Corresponds to the JSON property `name`
1496
1551
  # @return [String]
1497
1552
  attr_accessor :name
1498
1553
 
1499
- # A list of nodes that exist in this exposure path.
1500
- # Corresponds to the JSON property `pathNodes`
1501
- # @return [Array<Google::Apis::SecuritycenterV1beta2::PathNode>]
1502
- attr_accessor :path_nodes
1503
-
1504
1554
  def initialize(**args)
1505
1555
  update!(**args)
1506
1556
  end
1507
1557
 
1508
1558
  # Update properties of this object
1509
1559
  def update!(**args)
1510
- @edges = args[:edges] if args.key?(:edges)
1511
- @exposed_resource = args[:exposed_resource] if args.key?(:exposed_resource)
1560
+ @custom_config = args[:custom_config] if args.key?(:custom_config)
1561
+ @display_name = args[:display_name] if args.key?(:display_name)
1562
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
1512
1563
  @name = args[:name] if args.key?(:name)
1513
- @path_nodes = args[:path_nodes] if args.key?(:path_nodes)
1514
1564
  end
1515
1565
  end
1516
1566
 
@@ -1669,6 +1719,45 @@ module Google
1669
1719
  end
1670
1720
  end
1671
1721
 
1722
+ # An individual name-value pair that defines a custom source property.
1723
+ class GoogleCloudSecuritycenterV1Property
1724
+ include Google::Apis::Core::Hashable
1725
+
1726
+ # Name of the property for the custom output.
1727
+ # Corresponds to the JSON property `name`
1728
+ # @return [String]
1729
+ attr_accessor :name
1730
+
1731
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1732
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1733
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1734
+ # "Summary size limit" description: "Determines if a summary is less than 100
1735
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1736
+ # Requestor is owner" description: "Determines if requestor is the document
1737
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1738
+ # Logic): title: "Public documents" description: "Determine whether the document
1739
+ # should be publicly visible" expression: "document.type != 'private' &&
1740
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1741
+ # string" description: "Create a notification string with a timestamp."
1742
+ # expression: "'New message received at ' + string(document.create_time)" The
1743
+ # exact variables and functions that may be referenced within an expression are
1744
+ # determined by the service that evaluates it. See the service documentation for
1745
+ # additional information.
1746
+ # Corresponds to the JSON property `valueExpression`
1747
+ # @return [Google::Apis::SecuritycenterV1beta2::Expr]
1748
+ attr_accessor :value_expression
1749
+
1750
+ def initialize(**args)
1751
+ update!(**args)
1752
+ end
1753
+
1754
+ # Update properties of this object
1755
+ def update!(**args)
1756
+ @name = args[:name] if args.key?(:name)
1757
+ @value_expression = args[:value_expression] if args.key?(:value_expression)
1758
+ end
1759
+ end
1760
+
1672
1761
  # Information related to the Google Cloud resource.
1673
1762
  class GoogleCloudSecuritycenterV1Resource
1674
1763
  include Google::Apis::Core::Hashable
@@ -1733,65 +1822,14 @@ module Google
1733
1822
  end
1734
1823
  end
1735
1824
 
1736
- # A resource value config is a mapping configuration of user's tag values to
1737
- # resource values. Used by the attack path simulation.
1738
- class GoogleCloudSecuritycenterV1ResourceValueConfig
1825
+ # Resource for selecting resource type.
1826
+ class GoogleCloudSecuritycenterV1ResourceSelector
1739
1827
  include Google::Apis::Core::Hashable
1740
1828
 
1741
- # Output only. Timestamp this resource value config was created.
1742
- # Corresponds to the JSON property `createTime`
1743
- # @return [String]
1744
- attr_accessor :create_time
1745
-
1746
- # Description of the resource value config.
1747
- # Corresponds to the JSON property `description`
1748
- # @return [String]
1749
- attr_accessor :description
1750
-
1751
- # Name for the resource value config
1752
- # Corresponds to the JSON property `name`
1753
- # @return [String]
1754
- attr_accessor :name
1755
-
1756
- # List of resource labels to search for, evaluated with AND. E.g. "
1757
- # resource_labels_selector": `"key": "value", "env": "prod"` will match
1758
- # resources with labels "key": "value" AND "env": "prod" https://cloud.google.
1759
- # com/resource-manager/docs/creating-managing-labels
1760
- # Corresponds to the JSON property `resourceLabelsSelector`
1761
- # @return [Hash<String,String>]
1762
- attr_accessor :resource_labels_selector
1763
-
1764
- # Apply resource_value only to resources that match resource_type. resource_type
1765
- # will be checked with "AND" of other resources. E.g. "storage.googleapis.com/
1766
- # Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.
1767
- # googleapis.com/Bucket" resources.
1768
- # Corresponds to the JSON property `resourceType`
1769
- # @return [String]
1770
- attr_accessor :resource_type
1771
-
1772
- # Required. Resource value level this expression represents
1773
- # Corresponds to the JSON property `resourceValue`
1774
- # @return [String]
1775
- attr_accessor :resource_value
1776
-
1777
- # Project or folder to scope this config to. For example, "project/456" would
1778
- # apply this config only to resources in "project/456" scope will be checked
1779
- # with "AND" of other resources.
1780
- # Corresponds to the JSON property `scope`
1781
- # @return [String]
1782
- attr_accessor :scope
1783
-
1784
- # Required. Tag values combined with AND to check against. Values in the form "
1785
- # tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
1786
- # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
1787
- # Corresponds to the JSON property `tagValues`
1829
+ # The resource types to run the detector on.
1830
+ # Corresponds to the JSON property `resourceTypes`
1788
1831
  # @return [Array<String>]
1789
- attr_accessor :tag_values
1790
-
1791
- # Output only. Timestamp this resource value config was last updated.
1792
- # Corresponds to the JSON property `updateTime`
1793
- # @return [String]
1794
- attr_accessor :update_time
1832
+ attr_accessor :resource_types
1795
1833
 
1796
1834
  def initialize(**args)
1797
1835
  update!(**args)
@@ -1799,15 +1837,7 @@ module Google
1799
1837
 
1800
1838
  # Update properties of this object
1801
1839
  def update!(**args)
1802
- @create_time = args[:create_time] if args.key?(:create_time)
1803
- @description = args[:description] if args.key?(:description)
1804
- @name = args[:name] if args.key?(:name)
1805
- @resource_labels_selector = args[:resource_labels_selector] if args.key?(:resource_labels_selector)
1806
- @resource_type = args[:resource_type] if args.key?(:resource_type)
1807
- @resource_value = args[:resource_value] if args.key?(:resource_value)
1808
- @scope = args[:scope] if args.key?(:scope)
1809
- @tag_values = args[:tag_values] if args.key?(:tag_values)
1810
- @update_time = args[:update_time] if args.key?(:update_time)
1840
+ @resource_types = args[:resource_types] if args.key?(:resource_types)
1811
1841
  end
1812
1842
  end
1813
1843
 
@@ -1836,6 +1866,80 @@ module Google
1836
1866
  end
1837
1867
  end
1838
1868
 
1869
+ # Represents an instance of a Security Health Analytics custom module, including
1870
+ # its full module name, display name, enablement state, and last updated time.
1871
+ # You can create a custom module at the organization, folder, or project level.
1872
+ # Custom modules that you create at the organization or folder level are
1873
+ # inherited by the child folders and projects.
1874
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
1875
+ include Google::Apis::Core::Hashable
1876
+
1877
+ # Output only. If empty, indicates that the custom module was created in the
1878
+ # organization, folder, or project in which you are viewing the custom module.
1879
+ # Otherwise, `ancestor_module` specifies the organization or folder from which
1880
+ # the custom module is inherited.
1881
+ # Corresponds to the JSON property `ancestorModule`
1882
+ # @return [String]
1883
+ attr_accessor :ancestor_module
1884
+
1885
+ # Defines the properties in a custom module configuration for Security Health
1886
+ # Analytics. Use the custom module configuration to create custom detectors that
1887
+ # generate custom findings for resources that you specify.
1888
+ # Corresponds to the JSON property `customConfig`
1889
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig]
1890
+ attr_accessor :custom_config
1891
+
1892
+ # The display name of the Security Health Analytics custom module. This display
1893
+ # name becomes the finding category for all findings that are returned by this
1894
+ # custom module. The display name must be between 1 and 128 characters, start
1895
+ # with a lowercase letter, and contain alphanumeric characters or underscores
1896
+ # only.
1897
+ # Corresponds to the JSON property `displayName`
1898
+ # @return [String]
1899
+ attr_accessor :display_name
1900
+
1901
+ # The enablement state of the custom module.
1902
+ # Corresponds to the JSON property `enablementState`
1903
+ # @return [String]
1904
+ attr_accessor :enablement_state
1905
+
1906
+ # Output only. The editor that last updated the custom module.
1907
+ # Corresponds to the JSON property `lastEditor`
1908
+ # @return [String]
1909
+ attr_accessor :last_editor
1910
+
1911
+ # Immutable. The resource name of the custom module. Its format is "
1912
+ # organizations/`organization`/securityHealthAnalyticsSettings/customModules/`
1913
+ # customModule`", or "folders/`folder`/securityHealthAnalyticsSettings/
1914
+ # customModules/`customModule`", or "projects/`project`/
1915
+ # securityHealthAnalyticsSettings/customModules/`customModule`" The id `
1916
+ # customModule` is server-generated and is not user settable. It will be a
1917
+ # numeric id containing 1-20 digits.
1918
+ # Corresponds to the JSON property `name`
1919
+ # @return [String]
1920
+ attr_accessor :name
1921
+
1922
+ # Output only. The time at which the custom module was last updated.
1923
+ # Corresponds to the JSON property `updateTime`
1924
+ # @return [String]
1925
+ attr_accessor :update_time
1926
+
1927
+ def initialize(**args)
1928
+ update!(**args)
1929
+ end
1930
+
1931
+ # Update properties of this object
1932
+ def update!(**args)
1933
+ @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
1934
+ @custom_config = args[:custom_config] if args.key?(:custom_config)
1935
+ @display_name = args[:display_name] if args.key?(:display_name)
1936
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
1937
+ @last_editor = args[:last_editor] if args.key?(:last_editor)
1938
+ @name = args[:name] if args.key?(:name)
1939
+ @update_time = args[:update_time] if args.key?(:update_time)
1940
+ end
1941
+ end
1942
+
1839
1943
  # Response of asset discovery run
1840
1944
  class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
1841
1945
  include Google::Apis::Core::Hashable
@@ -2545,66 +2649,6 @@ module Google
2545
2649
  end
2546
2650
  end
2547
2651
 
2548
- # Encapsulates data about a constraint associated with an organization policy.
2549
- class OrgPolicyConstraint
2550
- include Google::Apis::Core::Hashable
2551
-
2552
- # The resource name of the constraint. Example: "organizations/`organization_id`/
2553
- # constraints/`constraint_name`"
2554
- # Corresponds to the JSON property `name`
2555
- # @return [String]
2556
- attr_accessor :name
2557
-
2558
- def initialize(**args)
2559
- update!(**args)
2560
- end
2561
-
2562
- # Update properties of this object
2563
- def update!(**args)
2564
- @name = args[:name] if args.key?(:name)
2565
- end
2566
- end
2567
-
2568
- # Represents one point that an attacker passes through in this exposure path.
2569
- class PathNode
2570
- include Google::Apis::Core::Hashable
2571
-
2572
- # The findings associated with this node in the exposure path.
2573
- # Corresponds to the JSON property `associatedFindings`
2574
- # @return [Array<Google::Apis::SecuritycenterV1beta2::AssociatedFinding>]
2575
- attr_accessor :associated_findings
2576
-
2577
- # Human readable name of this resource.
2578
- # Corresponds to the JSON property `displayName`
2579
- # @return [String]
2580
- attr_accessor :display_name
2581
-
2582
- # The name of the resource at this point in the exposure path. The format of the
2583
- # name is: https://cloud.google.com/apis/design/resource_names#
2584
- # full_resource_name
2585
- # Corresponds to the JSON property `resource`
2586
- # @return [String]
2587
- attr_accessor :resource
2588
-
2589
- # The resource type of this resource. See: https://cloud.google.com/asset-
2590
- # inventory/docs/supported-asset-types
2591
- # Corresponds to the JSON property `resourceType`
2592
- # @return [String]
2593
- attr_accessor :resource_type
2594
-
2595
- def initialize(**args)
2596
- update!(**args)
2597
- end
2598
-
2599
- # Update properties of this object
2600
- def update!(**args)
2601
- @associated_findings = args[:associated_findings] if args.key?(:associated_findings)
2602
- @display_name = args[:display_name] if args.key?(:display_name)
2603
- @resource = args[:resource] if args.key?(:resource)
2604
- @resource_type = args[:resource_type] if args.key?(:resource_type)
2605
- end
2606
- end
2607
-
2608
2652
  # Kubernetes Pod.
2609
2653
  class Pod
2610
2654
  include Google::Apis::Core::Hashable
@@ -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.45.0"
19
+ GEM_VERSION = "0.47.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 = "20230321"
25
+ REVISION = "20230414"
26
26
  end
27
27
  end
28
28
  end
@@ -34,12 +34,6 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class AssociatedFinding
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
37
  class CloudDlpDataProfile
44
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
39
 
@@ -124,31 +118,31 @@ module Google
124
118
  include Google::Apis::Core::JsonObjectSupport
125
119
  end
126
120
 
127
- class Edge
121
+ class EnvironmentVariable
128
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
123
 
130
124
  include Google::Apis::Core::JsonObjectSupport
131
125
  end
132
126
 
133
- class EnvironmentVariable
127
+ class EventThreatDetectionSettings
134
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
129
 
136
130
  include Google::Apis::Core::JsonObjectSupport
137
131
  end
138
132
 
139
- class EventThreatDetectionSettings
133
+ class ExfilResource
140
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
135
 
142
136
  include Google::Apis::Core::JsonObjectSupport
143
137
  end
144
138
 
145
- class ExfilResource
139
+ class Exfiltration
146
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
141
 
148
142
  include Google::Apis::Core::JsonObjectSupport
149
143
  end
150
144
 
151
- class Exfiltration
145
+ class Expr
152
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
147
 
154
148
  include Google::Apis::Core::JsonObjectSupport
@@ -196,13 +190,19 @@ module Google
196
190
  include Google::Apis::Core::JsonObjectSupport
197
191
  end
198
192
 
199
- class GoogleCloudSecuritycenterV1ExposedResource
193
+ class GoogleCloudSecuritycenterV1CustomConfig
200
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
195
 
202
196
  include Google::Apis::Core::JsonObjectSupport
203
197
  end
204
198
 
205
- class GoogleCloudSecuritycenterV1ExposurePath
199
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
206
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
207
 
208
208
  include Google::Apis::Core::JsonObjectSupport
@@ -226,13 +226,19 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class GoogleCloudSecuritycenterV1Property
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class GoogleCloudSecuritycenterV1Resource
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
235
- class GoogleCloudSecuritycenterV1ResourceValueConfig
241
+ class GoogleCloudSecuritycenterV1ResourceSelector
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
238
244
  include Google::Apis::Core::JsonObjectSupport
@@ -244,6 +250,12 @@ module Google
244
250
  include Google::Apis::Core::JsonObjectSupport
245
251
  end
246
252
 
253
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
247
259
  class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
248
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
261
 
@@ -346,18 +358,6 @@ module Google
346
358
  include Google::Apis::Core::JsonObjectSupport
347
359
  end
348
360
 
349
- class OrgPolicyConstraint
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
- class PathNode
356
- class Representation < Google::Apis::Core::JsonRepresentation; end
357
-
358
- include Google::Apis::Core::JsonObjectSupport
359
- end
360
-
361
361
  class Pod
362
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
363
 
@@ -485,15 +485,6 @@ module Google
485
485
  end
486
486
  end
487
487
 
488
- class AssociatedFinding
489
- # @private
490
- class Representation < Google::Apis::Core::JsonRepresentation
491
- property :canonical_finding_name, as: 'canonicalFindingName'
492
- property :finding_category, as: 'findingCategory'
493
- property :name, as: 'name'
494
- end
495
- end
496
-
497
488
  class CloudDlpDataProfile
498
489
  # @private
499
490
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -632,14 +623,6 @@ module Google
632
623
  end
633
624
  end
634
625
 
635
- class Edge
636
- # @private
637
- class Representation < Google::Apis::Core::JsonRepresentation
638
- property :destination, as: 'destination'
639
- property :source, as: 'source'
640
- end
641
- end
642
-
643
626
  class EnvironmentVariable
644
627
  # @private
645
628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +660,16 @@ module Google
677
660
  end
678
661
  end
679
662
 
663
+ class Expr
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :description, as: 'description'
667
+ property :expression, as: 'expression'
668
+ property :location, as: 'location'
669
+ property :title, as: 'title'
670
+ end
671
+ end
672
+
680
673
  class File
681
674
  # @private
682
675
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -737,8 +730,6 @@ module Google
737
730
  property :mute_update_time, as: 'muteUpdateTime'
738
731
  property :name, as: 'name'
739
732
  property :next_steps, as: 'nextSteps'
740
- collection :org_policy_constraints, as: 'orgPolicyConstraints', class: Google::Apis::SecuritycenterV1beta2::OrgPolicyConstraint, decorator: Google::Apis::SecuritycenterV1beta2::OrgPolicyConstraint::Representation
741
-
742
733
  property :parent, as: 'parent'
743
734
  property :parent_display_name, as: 'parentDisplayName'
744
735
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation
@@ -801,28 +792,37 @@ module Google
801
792
  end
802
793
  end
803
794
 
804
- class GoogleCloudSecuritycenterV1ExposedResource
795
+ class GoogleCloudSecuritycenterV1CustomConfig
805
796
  # @private
806
797
  class Representation < Google::Apis::Core::JsonRepresentation
807
- property :display_name, as: 'displayName'
808
- collection :methods_prop, as: 'methods'
809
- property :name, as: 'name'
810
- property :resource, as: 'resource'
811
- property :resource_type, as: 'resourceType'
812
- property :resource_value, as: 'resourceValue'
798
+ property :custom_output, as: 'customOutput', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomOutputSpec, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomOutputSpec::Representation
799
+
800
+ property :description, as: 'description'
801
+ property :predicate, as: 'predicate', class: Google::Apis::SecuritycenterV1beta2::Expr, decorator: Google::Apis::SecuritycenterV1beta2::Expr::Representation
802
+
803
+ property :recommendation, as: 'recommendation'
804
+ property :resource_selector, as: 'resourceSelector', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceSelector, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceSelector::Representation
805
+
806
+ property :severity, as: 'severity'
813
807
  end
814
808
  end
815
809
 
816
- class GoogleCloudSecuritycenterV1ExposurePath
810
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
817
811
  # @private
818
812
  class Representation < Google::Apis::Core::JsonRepresentation
819
- collection :edges, as: 'edges', class: Google::Apis::SecuritycenterV1beta2::Edge, decorator: Google::Apis::SecuritycenterV1beta2::Edge::Representation
813
+ collection :properties, as: 'properties', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Property, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Property::Representation
820
814
 
821
- property :exposed_resource, as: 'exposedResource', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExposedResource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExposedResource::Representation
815
+ end
816
+ end
822
817
 
823
- property :name, as: 'name'
824
- collection :path_nodes, as: 'pathNodes', class: Google::Apis::SecuritycenterV1beta2::PathNode, decorator: Google::Apis::SecuritycenterV1beta2::PathNode::Representation
818
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
819
+ # @private
820
+ class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig::Representation
825
822
 
823
+ property :display_name, as: 'displayName'
824
+ property :enablement_state, as: 'enablementState'
825
+ property :name, as: 'name'
826
826
  end
827
827
  end
828
828
 
@@ -861,6 +861,15 @@ module Google
861
861
  end
862
862
  end
863
863
 
864
+ class GoogleCloudSecuritycenterV1Property
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ property :name, as: 'name'
868
+ property :value_expression, as: 'valueExpression', class: Google::Apis::SecuritycenterV1beta2::Expr, decorator: Google::Apis::SecuritycenterV1beta2::Expr::Representation
869
+
870
+ end
871
+ end
872
+
864
873
  class GoogleCloudSecuritycenterV1Resource
865
874
  # @private
866
875
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -876,18 +885,10 @@ module Google
876
885
  end
877
886
  end
878
887
 
879
- class GoogleCloudSecuritycenterV1ResourceValueConfig
888
+ class GoogleCloudSecuritycenterV1ResourceSelector
880
889
  # @private
881
890
  class Representation < Google::Apis::Core::JsonRepresentation
882
- property :create_time, as: 'createTime'
883
- property :description, as: 'description'
884
- property :name, as: 'name'
885
- hash :resource_labels_selector, as: 'resourceLabelsSelector'
886
- property :resource_type, as: 'resourceType'
887
- property :resource_value, as: 'resourceValue'
888
- property :scope, as: 'scope'
889
- collection :tag_values, as: 'tagValues'
890
- property :update_time, as: 'updateTime'
891
+ collection :resource_types, as: 'resourceTypes'
891
892
  end
892
893
  end
893
894
 
@@ -899,6 +900,20 @@ module Google
899
900
  end
900
901
  end
901
902
 
903
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ property :ancestor_module, as: 'ancestorModule'
907
+ property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig::Representation
908
+
909
+ property :display_name, as: 'displayName'
910
+ property :enablement_state, as: 'enablementState'
911
+ property :last_editor, as: 'lastEditor'
912
+ property :name, as: 'name'
913
+ property :update_time, as: 'updateTime'
914
+ end
915
+ end
916
+
902
917
  class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
903
918
  # @private
904
919
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1080,24 +1095,6 @@ module Google
1080
1095
  end
1081
1096
  end
1082
1097
 
1083
- class OrgPolicyConstraint
1084
- # @private
1085
- class Representation < Google::Apis::Core::JsonRepresentation
1086
- property :name, as: 'name'
1087
- end
1088
- end
1089
-
1090
- class PathNode
1091
- # @private
1092
- class Representation < Google::Apis::Core::JsonRepresentation
1093
- collection :associated_findings, as: 'associatedFindings', class: Google::Apis::SecuritycenterV1beta2::AssociatedFinding, decorator: Google::Apis::SecuritycenterV1beta2::AssociatedFinding::Representation
1094
-
1095
- property :display_name, as: 'displayName'
1096
- property :resource, as: 'resource'
1097
- property :resource_type, as: 'resourceType'
1098
- end
1099
- end
1100
-
1101
1098
  class Pod
1102
1099
  # @private
1103
1100
  class Representation < Google::Apis::Core::JsonRepresentation
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.45.0
4
+ version: 0.47.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: 2023-03-26 00:00:00.000000000 Z
11
+ date: 2023-04-23 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.47.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: []