google-apis-securitycenter_v1beta1 0.50.0 → 0.52.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: e5f99c2fb6d42b8e2f1517d53abfa7b08a3b1e370f81704dd0b5cf00da13b0d6
4
- data.tar.gz: 01f7d6b22a99d3fa1015b1edffcad8bbceae210e7ff1261c035663a5d3255919
3
+ metadata.gz: 68f7fb88f69a93d5b0baa06d3e57b532d002f224aec7e8e02962d6d47df89df1
4
+ data.tar.gz: e1b61dcf83ab3e192a1305f581ec13cab5c124ec62356cd0a89a913fa0f12879
5
5
  SHA512:
6
- metadata.gz: 65c175e8781de4a5a35fe59e8eafbd528d70e8dff3f45981be51e971106867393d2ba1256a0e9e0e49e780f02702b0a6a58a43435ea0a4774a95d592e4c700ce
7
- data.tar.gz: 92cf6a3ecdc740bb739baf44edccd01e1acf7bde43ba9053845ed8ac24edaedca42592334bc164669ce4d82fdad7ee01878f9e14c0be08e2d1d86ad14bd7eb53
6
+ metadata.gz: c6251cc0f9e12586d5930bba3c58bc36f081f083d3f1e408dfc8e5d671fc594d1bb7b0f82e81e61dc02c3a177d32599e3baf8ed8773c1338de629ce39a320dbd
7
+ data.tar.gz: db686d8452776ad8ebd5bda796af69fcaf3b3719b6c18dd97938b6e57a7c036d3fcba34977a0b7a161b2fd3d652381d7ec1d6bf91a3c6e704f1751f3959e3826
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.52.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
7
+ ### v0.51.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230406
10
+
3
11
  ### v0.50.0 (2023-04-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230329
@@ -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::SecuritycenterV1beta1::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
@@ -1104,7 +1104,7 @@ module Google
1104
1104
  # @return [Hash<String,Google::Apis::SecuritycenterV1beta1::ContactDetails>]
1105
1105
  attr_accessor :contacts
1106
1106
 
1107
- # Containers associated with the finding. containers provides information for
1107
+ # Containers associated with the finding. This field provides information for
1108
1108
  # both Kubernetes and non-Kubernetes containers.
1109
1109
  # Corresponds to the JSON property `containers`
1110
1110
  # @return [Array<Google::Apis::SecuritycenterV1beta1::Container>]
@@ -1125,7 +1125,7 @@ module Google
1125
1125
  # @return [Google::Apis::SecuritycenterV1beta1::Database]
1126
1126
  attr_accessor :database
1127
1127
 
1128
- # Contains more detail about the finding.
1128
+ # Contains more details about the finding.
1129
1129
  # Corresponds to the JSON property `description`
1130
1130
  # @return [String]
1131
1131
  attr_accessor :description
@@ -1170,7 +1170,7 @@ module Google
1170
1170
  # @return [String]
1171
1171
  attr_accessor :finding_class
1172
1172
 
1173
- # Represents IAM bindings associated with the Finding.
1173
+ # Represents IAM bindings associated with the finding.
1174
1174
  # Corresponds to the JSON property `iamBindings`
1175
1175
  # @return [Array<Google::Apis::SecuritycenterV1beta1::IamBinding>]
1176
1176
  attr_accessor :iam_bindings
@@ -1213,10 +1213,9 @@ module Google
1213
1213
  # @return [String]
1214
1214
  attr_accessor :mute
1215
1215
 
1216
- # First known as mute_annotation. Records additional information about the mute
1217
- # operation e.g. mute config that muted the finding, user who muted the finding,
1218
- # etc. Unlike other attributes of a finding, a finding provider shouldn't set
1219
- # the value of mute.
1216
+ # Records additional information about the mute operation, for example, the [
1217
+ # mute configuration](/security-command-center/docs/how-to-mute-findings) that
1218
+ # muted the finding and the user who muted the finding.
1220
1219
  # Corresponds to the JSON property `muteInitiator`
1221
1220
  # @return [String]
1222
1221
  attr_accessor :mute_initiator
@@ -1226,14 +1225,16 @@ module Google
1226
1225
  # @return [String]
1227
1226
  attr_accessor :mute_update_time
1228
1227
 
1229
- # The relative resource name of this finding. See: https://cloud.google.com/apis/
1230
- # design/resource_names#relative_resource_name Example: "organizations/`
1231
- # organization_id`/sources/`source_id`/findings/`finding_id`"
1228
+ # The [relative resource name](https://cloud.google.com/apis/design/
1229
+ # resource_names#relative_resource_name) of the finding. Example: "organizations/
1230
+ # `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
1231
+ # folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
1232
+ # sources/`source_id`/findings/`finding_id`".
1232
1233
  # Corresponds to the JSON property `name`
1233
1234
  # @return [String]
1234
1235
  attr_accessor :name
1235
1236
 
1236
- # Next steps associate to the finding.
1237
+ # Steps to address the finding.
1237
1238
  # Corresponds to the JSON property `nextSteps`
1238
1239
  # @return [String]
1239
1240
  attr_accessor :next_steps
@@ -1571,6 +1572,156 @@ module Google
1571
1572
  end
1572
1573
  end
1573
1574
 
1575
+ # Defines the properties in a custom module configuration for Security Health
1576
+ # Analytics. Use the custom module configuration to create custom detectors that
1577
+ # generate custom findings for resources that you specify.
1578
+ class GoogleCloudSecuritycenterV1CustomConfig
1579
+ include Google::Apis::Core::Hashable
1580
+
1581
+ # A set of optional name-value pairs that define custom source properties to
1582
+ # return with each finding that is generated by the custom module. The custom
1583
+ # source properties that are defined here are included in the finding JSON under
1584
+ # `sourceProperties`.
1585
+ # Corresponds to the JSON property `customOutput`
1586
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomOutputSpec]
1587
+ attr_accessor :custom_output
1588
+
1589
+ # Text that describes the vulnerability or misconfiguration that the custom
1590
+ # module detects. This explanation is returned with each finding instance to
1591
+ # help investigators understand the detected issue. The text must be enclosed in
1592
+ # quotation marks.
1593
+ # Corresponds to the JSON property `description`
1594
+ # @return [String]
1595
+ attr_accessor :description
1596
+
1597
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1598
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1599
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1600
+ # "Summary size limit" description: "Determines if a summary is less than 100
1601
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1602
+ # Requestor is owner" description: "Determines if requestor is the document
1603
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1604
+ # Logic): title: "Public documents" description: "Determine whether the document
1605
+ # should be publicly visible" expression: "document.type != 'private' &&
1606
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1607
+ # string" description: "Create a notification string with a timestamp."
1608
+ # expression: "'New message received at ' + string(document.create_time)" The
1609
+ # exact variables and functions that may be referenced within an expression are
1610
+ # determined by the service that evaluates it. See the service documentation for
1611
+ # additional information.
1612
+ # Corresponds to the JSON property `predicate`
1613
+ # @return [Google::Apis::SecuritycenterV1beta1::Expr]
1614
+ attr_accessor :predicate
1615
+
1616
+ # An explanation of the recommended steps that security teams can take to
1617
+ # resolve the detected issue. This explanation is returned with each finding
1618
+ # generated by this module in the `nextSteps` property of the finding JSON.
1619
+ # Corresponds to the JSON property `recommendation`
1620
+ # @return [String]
1621
+ attr_accessor :recommendation
1622
+
1623
+ # Resource for selecting resource type.
1624
+ # Corresponds to the JSON property `resourceSelector`
1625
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceSelector]
1626
+ attr_accessor :resource_selector
1627
+
1628
+ # The severity to assign to findings generated by the module.
1629
+ # Corresponds to the JSON property `severity`
1630
+ # @return [String]
1631
+ attr_accessor :severity
1632
+
1633
+ def initialize(**args)
1634
+ update!(**args)
1635
+ end
1636
+
1637
+ # Update properties of this object
1638
+ def update!(**args)
1639
+ @custom_output = args[:custom_output] if args.key?(:custom_output)
1640
+ @description = args[:description] if args.key?(:description)
1641
+ @predicate = args[:predicate] if args.key?(:predicate)
1642
+ @recommendation = args[:recommendation] if args.key?(:recommendation)
1643
+ @resource_selector = args[:resource_selector] if args.key?(:resource_selector)
1644
+ @severity = args[:severity] if args.key?(:severity)
1645
+ end
1646
+ end
1647
+
1648
+ # A set of optional name-value pairs that define custom source properties to
1649
+ # return with each finding that is generated by the custom module. The custom
1650
+ # source properties that are defined here are included in the finding JSON under
1651
+ # `sourceProperties`.
1652
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
1653
+ include Google::Apis::Core::Hashable
1654
+
1655
+ # A list of custom output properties to add to the finding.
1656
+ # Corresponds to the JSON property `properties`
1657
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property>]
1658
+ attr_accessor :properties
1659
+
1660
+ def initialize(**args)
1661
+ update!(**args)
1662
+ end
1663
+
1664
+ # Update properties of this object
1665
+ def update!(**args)
1666
+ @properties = args[:properties] if args.key?(:properties)
1667
+ end
1668
+ end
1669
+
1670
+ # An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a
1671
+ # Security Health Analytics custom module at a specified level of the resource
1672
+ # hierarchy: organization, folder, or project. If a custom module is inherited
1673
+ # from a parent organization or folder, the value of the `enablementState`
1674
+ # property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value
1675
+ # that is effective in the parent, instead of `INHERITED`. For example, if the
1676
+ # module is enabled in a parent organization or folder, the effective
1677
+ # enablement_state for the module in all child folders or projects is also `
1678
+ # enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
1679
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
1680
+ include Google::Apis::Core::Hashable
1681
+
1682
+ # Defines the properties in a custom module configuration for Security Health
1683
+ # Analytics. Use the custom module configuration to create custom detectors that
1684
+ # generate custom findings for resources that you specify.
1685
+ # Corresponds to the JSON property `customConfig`
1686
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomConfig]
1687
+ attr_accessor :custom_config
1688
+
1689
+ # Output only. The display name for the custom module. The name must be between
1690
+ # 1 and 128 characters, start with a lowercase letter, and contain alphanumeric
1691
+ # characters or underscores only.
1692
+ # Corresponds to the JSON property `displayName`
1693
+ # @return [String]
1694
+ attr_accessor :display_name
1695
+
1696
+ # Output only. The effective state of enablement for the module at the given
1697
+ # level of the hierarchy.
1698
+ # Corresponds to the JSON property `enablementState`
1699
+ # @return [String]
1700
+ attr_accessor :enablement_state
1701
+
1702
+ # Output only. The resource name of the custom module. Its format is "
1703
+ # organizations/`organization`/securityHealthAnalyticsSettings/
1704
+ # effectiveCustomModules/`customModule`", or "folders/`folder`/
1705
+ # securityHealthAnalyticsSettings/effectiveCustomModules/`customModule`", or "
1706
+ # projects/`project`/securityHealthAnalyticsSettings/effectiveCustomModules/`
1707
+ # customModule`"
1708
+ # Corresponds to the JSON property `name`
1709
+ # @return [String]
1710
+ attr_accessor :name
1711
+
1712
+ def initialize(**args)
1713
+ update!(**args)
1714
+ end
1715
+
1716
+ # Update properties of this object
1717
+ def update!(**args)
1718
+ @custom_config = args[:custom_config] if args.key?(:custom_config)
1719
+ @display_name = args[:display_name] if args.key?(:display_name)
1720
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
1721
+ @name = args[:name] if args.key?(:name)
1722
+ end
1723
+ end
1724
+
1574
1725
  # Representation of third party SIEM/SOAR fields within SCC.
1575
1726
  class GoogleCloudSecuritycenterV1ExternalSystem
1576
1727
  include Google::Apis::Core::Hashable
@@ -1726,6 +1877,45 @@ module Google
1726
1877
  end
1727
1878
  end
1728
1879
 
1880
+ # An individual name-value pair that defines a custom source property.
1881
+ class GoogleCloudSecuritycenterV1Property
1882
+ include Google::Apis::Core::Hashable
1883
+
1884
+ # Name of the property for the custom output.
1885
+ # Corresponds to the JSON property `name`
1886
+ # @return [String]
1887
+ attr_accessor :name
1888
+
1889
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1890
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1891
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1892
+ # "Summary size limit" description: "Determines if a summary is less than 100
1893
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1894
+ # Requestor is owner" description: "Determines if requestor is the document
1895
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1896
+ # Logic): title: "Public documents" description: "Determine whether the document
1897
+ # should be publicly visible" expression: "document.type != 'private' &&
1898
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1899
+ # string" description: "Create a notification string with a timestamp."
1900
+ # expression: "'New message received at ' + string(document.create_time)" The
1901
+ # exact variables and functions that may be referenced within an expression are
1902
+ # determined by the service that evaluates it. See the service documentation for
1903
+ # additional information.
1904
+ # Corresponds to the JSON property `valueExpression`
1905
+ # @return [Google::Apis::SecuritycenterV1beta1::Expr]
1906
+ attr_accessor :value_expression
1907
+
1908
+ def initialize(**args)
1909
+ update!(**args)
1910
+ end
1911
+
1912
+ # Update properties of this object
1913
+ def update!(**args)
1914
+ @name = args[:name] if args.key?(:name)
1915
+ @value_expression = args[:value_expression] if args.key?(:value_expression)
1916
+ end
1917
+ end
1918
+
1729
1919
  # Information related to the Google Cloud resource.
1730
1920
  class GoogleCloudSecuritycenterV1Resource
1731
1921
  include Google::Apis::Core::Hashable
@@ -1790,6 +1980,25 @@ module Google
1790
1980
  end
1791
1981
  end
1792
1982
 
1983
+ # Resource for selecting resource type.
1984
+ class GoogleCloudSecuritycenterV1ResourceSelector
1985
+ include Google::Apis::Core::Hashable
1986
+
1987
+ # The resource types to run the detector on.
1988
+ # Corresponds to the JSON property `resourceTypes`
1989
+ # @return [Array<String>]
1990
+ attr_accessor :resource_types
1991
+
1992
+ def initialize(**args)
1993
+ update!(**args)
1994
+ end
1995
+
1996
+ # Update properties of this object
1997
+ def update!(**args)
1998
+ @resource_types = args[:resource_types] if args.key?(:resource_types)
1999
+ end
2000
+ end
2001
+
1793
2002
  # Response of asset discovery run
1794
2003
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
1795
2004
  include Google::Apis::Core::Hashable
@@ -1815,6 +2024,80 @@ module Google
1815
2024
  end
1816
2025
  end
1817
2026
 
2027
+ # Represents an instance of a Security Health Analytics custom module, including
2028
+ # its full module name, display name, enablement state, and last updated time.
2029
+ # You can create a custom module at the organization, folder, or project level.
2030
+ # Custom modules that you create at the organization or folder level are
2031
+ # inherited by the child folders and projects.
2032
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
2033
+ include Google::Apis::Core::Hashable
2034
+
2035
+ # Output only. If empty, indicates that the custom module was created in the
2036
+ # organization, folder, or project in which you are viewing the custom module.
2037
+ # Otherwise, `ancestor_module` specifies the organization or folder from which
2038
+ # the custom module is inherited.
2039
+ # Corresponds to the JSON property `ancestorModule`
2040
+ # @return [String]
2041
+ attr_accessor :ancestor_module
2042
+
2043
+ # Defines the properties in a custom module configuration for Security Health
2044
+ # Analytics. Use the custom module configuration to create custom detectors that
2045
+ # generate custom findings for resources that you specify.
2046
+ # Corresponds to the JSON property `customConfig`
2047
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomConfig]
2048
+ attr_accessor :custom_config
2049
+
2050
+ # The display name of the Security Health Analytics custom module. This display
2051
+ # name becomes the finding category for all findings that are returned by this
2052
+ # custom module. The display name must be between 1 and 128 characters, start
2053
+ # with a lowercase letter, and contain alphanumeric characters or underscores
2054
+ # only.
2055
+ # Corresponds to the JSON property `displayName`
2056
+ # @return [String]
2057
+ attr_accessor :display_name
2058
+
2059
+ # The enablement state of the custom module.
2060
+ # Corresponds to the JSON property `enablementState`
2061
+ # @return [String]
2062
+ attr_accessor :enablement_state
2063
+
2064
+ # Output only. The editor that last updated the custom module.
2065
+ # Corresponds to the JSON property `lastEditor`
2066
+ # @return [String]
2067
+ attr_accessor :last_editor
2068
+
2069
+ # Immutable. The resource name of the custom module. Its format is "
2070
+ # organizations/`organization`/securityHealthAnalyticsSettings/customModules/`
2071
+ # customModule`", or "folders/`folder`/securityHealthAnalyticsSettings/
2072
+ # customModules/`customModule`", or "projects/`project`/
2073
+ # securityHealthAnalyticsSettings/customModules/`customModule`" The id `
2074
+ # customModule` is server-generated and is not user settable. It will be a
2075
+ # numeric id containing 1-20 digits.
2076
+ # Corresponds to the JSON property `name`
2077
+ # @return [String]
2078
+ attr_accessor :name
2079
+
2080
+ # Output only. The time at which the custom module was last updated.
2081
+ # Corresponds to the JSON property `updateTime`
2082
+ # @return [String]
2083
+ attr_accessor :update_time
2084
+
2085
+ def initialize(**args)
2086
+ update!(**args)
2087
+ end
2088
+
2089
+ # Update properties of this object
2090
+ def update!(**args)
2091
+ @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
2092
+ @custom_config = args[:custom_config] if args.key?(:custom_config)
2093
+ @display_name = args[:display_name] if args.key?(:display_name)
2094
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
2095
+ @last_editor = args[:last_editor] if args.key?(:last_editor)
2096
+ @name = args[:name] if args.key?(:name)
2097
+ @update_time = args[:update_time] if args.key?(:update_time)
2098
+ end
2099
+ end
2100
+
1818
2101
  # Security Command Center finding. A finding is a record of assessment data (
1819
2102
  # security, risk, health or privacy) ingested into Security Command Center for
1820
2103
  # presentation, notification, analysis, policy testing, and enforcement. For
@@ -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.50.0"
19
+ GEM_VERSION = "0.52.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 = "20230329"
25
+ REVISION = "20230414"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,24 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class GoogleCloudSecuritycenterV1CustomConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
223
241
  class GoogleCloudSecuritycenterV1ExternalSystem
224
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
243
 
@@ -238,18 +256,36 @@ module Google
238
256
  include Google::Apis::Core::JsonObjectSupport
239
257
  end
240
258
 
259
+ class GoogleCloudSecuritycenterV1Property
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class GoogleCloudSecuritycenterV1Resource
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
244
268
  include Google::Apis::Core::JsonObjectSupport
245
269
  end
246
270
 
271
+ class GoogleCloudSecuritycenterV1ResourceSelector
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
247
277
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
248
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
279
 
250
280
  include Google::Apis::Core::JsonObjectSupport
251
281
  end
252
282
 
283
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
253
289
  class GoogleCloudSecuritycenterV1beta1Finding
254
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
291
 
@@ -918,6 +954,40 @@ module Google
918
954
  end
919
955
  end
920
956
 
957
+ class GoogleCloudSecuritycenterV1CustomConfig
958
+ # @private
959
+ class Representation < Google::Apis::Core::JsonRepresentation
960
+ property :custom_output, as: 'customOutput', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomOutputSpec, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomOutputSpec::Representation
961
+
962
+ property :description, as: 'description'
963
+ property :predicate, as: 'predicate', class: Google::Apis::SecuritycenterV1beta1::Expr, decorator: Google::Apis::SecuritycenterV1beta1::Expr::Representation
964
+
965
+ property :recommendation, as: 'recommendation'
966
+ property :resource_selector, as: 'resourceSelector', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceSelector, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceSelector::Representation
967
+
968
+ property :severity, as: 'severity'
969
+ end
970
+ end
971
+
972
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
973
+ # @private
974
+ class Representation < Google::Apis::Core::JsonRepresentation
975
+ collection :properties, as: 'properties', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property::Representation
976
+
977
+ end
978
+ end
979
+
980
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
981
+ # @private
982
+ class Representation < Google::Apis::Core::JsonRepresentation
983
+ property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomConfig::Representation
984
+
985
+ property :display_name, as: 'displayName'
986
+ property :enablement_state, as: 'enablementState'
987
+ property :name, as: 'name'
988
+ end
989
+ end
990
+
921
991
  class GoogleCloudSecuritycenterV1ExternalSystem
922
992
  # @private
923
993
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -953,6 +1023,15 @@ module Google
953
1023
  end
954
1024
  end
955
1025
 
1026
+ class GoogleCloudSecuritycenterV1Property
1027
+ # @private
1028
+ class Representation < Google::Apis::Core::JsonRepresentation
1029
+ property :name, as: 'name'
1030
+ property :value_expression, as: 'valueExpression', class: Google::Apis::SecuritycenterV1beta1::Expr, decorator: Google::Apis::SecuritycenterV1beta1::Expr::Representation
1031
+
1032
+ end
1033
+ end
1034
+
956
1035
  class GoogleCloudSecuritycenterV1Resource
957
1036
  # @private
958
1037
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -968,6 +1047,13 @@ module Google
968
1047
  end
969
1048
  end
970
1049
 
1050
+ class GoogleCloudSecuritycenterV1ResourceSelector
1051
+ # @private
1052
+ class Representation < Google::Apis::Core::JsonRepresentation
1053
+ collection :resource_types, as: 'resourceTypes'
1054
+ end
1055
+ end
1056
+
971
1057
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
972
1058
  # @private
973
1059
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -976,6 +1062,20 @@ module Google
976
1062
  end
977
1063
  end
978
1064
 
1065
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
1066
+ # @private
1067
+ class Representation < Google::Apis::Core::JsonRepresentation
1068
+ property :ancestor_module, as: 'ancestorModule'
1069
+ property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomConfig::Representation
1070
+
1071
+ property :display_name, as: 'displayName'
1072
+ property :enablement_state, as: 'enablementState'
1073
+ property :last_editor, as: 'lastEditor'
1074
+ property :name, as: 'name'
1075
+ property :update_time, as: 'updateTime'
1076
+ end
1077
+ end
1078
+
979
1079
  class GoogleCloudSecuritycenterV1beta1Finding
980
1080
  # @private
981
1081
  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.50.0
4
+ version: 0.52.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-04-02 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.52.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: []