google-apis-securitycenter_v1 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/securitycenter_v1/classes.rb +360 -0
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +145 -0
- data/lib/google/apis/securitycenter_v1/service.rb +987 -42
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3380182fcfed60222e1fc284e8ba844a0a6745706fe5c2ae9b54413d8d2b07c3
|
4
|
+
data.tar.gz: 011b8118b144e38caf8220bfbce0822e8868f599358a2bc01b00ac731124adbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9745c0ab9e69f0b1453082e054c601c26925c5a77e4d5546ecf3a0bcf4a8824715f543a37c711c108ec9d27e1d4415af50753ef6099229312ae166d258627a06
|
7
|
+
data.tar.gz: acd636b17f828ac2a81b3e5dd0bf2f0af56704529309a6ff1ac92c6fd7607d2c25f2450cde06219ec9afcf55a338e959afe104f7082d959763a784ee88fc4a1a
|
data/CHANGELOG.md
CHANGED
@@ -1617,6 +1617,156 @@ module Google
|
|
1617
1617
|
end
|
1618
1618
|
end
|
1619
1619
|
|
1620
|
+
# Defines the properties in a custom module configuration for Security Health
|
1621
|
+
# Analytics. Use the custom module configuration to create custom detectors that
|
1622
|
+
# generate custom findings for resources that you specify.
|
1623
|
+
class GoogleCloudSecuritycenterV1CustomConfig
|
1624
|
+
include Google::Apis::Core::Hashable
|
1625
|
+
|
1626
|
+
# A set of optional name-value pairs that define custom source properties to
|
1627
|
+
# return with each finding that is generated by the custom module. The custom
|
1628
|
+
# source properties that are defined here are included in the finding JSON under
|
1629
|
+
# `sourceProperties`.
|
1630
|
+
# Corresponds to the JSON property `customOutput`
|
1631
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomOutputSpec]
|
1632
|
+
attr_accessor :custom_output
|
1633
|
+
|
1634
|
+
# Text that describes the vulnerability or misconfiguration that the custom
|
1635
|
+
# module detects. This explanation is returned with each finding instance to
|
1636
|
+
# help investigators understand the detected issue. The text must be enclosed in
|
1637
|
+
# quotation marks.
|
1638
|
+
# Corresponds to the JSON property `description`
|
1639
|
+
# @return [String]
|
1640
|
+
attr_accessor :description
|
1641
|
+
|
1642
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
1643
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
1644
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
1645
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
1646
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
1647
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
1648
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
1649
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
1650
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
1651
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
1652
|
+
# string" description: "Create a notification string with a timestamp."
|
1653
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
1654
|
+
# exact variables and functions that may be referenced within an expression are
|
1655
|
+
# determined by the service that evaluates it. See the service documentation for
|
1656
|
+
# additional information.
|
1657
|
+
# Corresponds to the JSON property `predicate`
|
1658
|
+
# @return [Google::Apis::SecuritycenterV1::Expr]
|
1659
|
+
attr_accessor :predicate
|
1660
|
+
|
1661
|
+
# An explanation of the recommended steps that security teams can take to
|
1662
|
+
# resolve the detected issue. This explanation is returned with each finding
|
1663
|
+
# generated by this module in the `nextSteps` property of the finding JSON.
|
1664
|
+
# Corresponds to the JSON property `recommendation`
|
1665
|
+
# @return [String]
|
1666
|
+
attr_accessor :recommendation
|
1667
|
+
|
1668
|
+
# Resource for selecting resource type.
|
1669
|
+
# Corresponds to the JSON property `resourceSelector`
|
1670
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceSelector]
|
1671
|
+
attr_accessor :resource_selector
|
1672
|
+
|
1673
|
+
# The severity to assign to findings generated by the module.
|
1674
|
+
# Corresponds to the JSON property `severity`
|
1675
|
+
# @return [String]
|
1676
|
+
attr_accessor :severity
|
1677
|
+
|
1678
|
+
def initialize(**args)
|
1679
|
+
update!(**args)
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
# Update properties of this object
|
1683
|
+
def update!(**args)
|
1684
|
+
@custom_output = args[:custom_output] if args.key?(:custom_output)
|
1685
|
+
@description = args[:description] if args.key?(:description)
|
1686
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
1687
|
+
@recommendation = args[:recommendation] if args.key?(:recommendation)
|
1688
|
+
@resource_selector = args[:resource_selector] if args.key?(:resource_selector)
|
1689
|
+
@severity = args[:severity] if args.key?(:severity)
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
# A set of optional name-value pairs that define custom source properties to
|
1694
|
+
# return with each finding that is generated by the custom module. The custom
|
1695
|
+
# source properties that are defined here are included in the finding JSON under
|
1696
|
+
# `sourceProperties`.
|
1697
|
+
class GoogleCloudSecuritycenterV1CustomOutputSpec
|
1698
|
+
include Google::Apis::Core::Hashable
|
1699
|
+
|
1700
|
+
# A list of custom output properties to add to the finding.
|
1701
|
+
# Corresponds to the JSON property `properties`
|
1702
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Property>]
|
1703
|
+
attr_accessor :properties
|
1704
|
+
|
1705
|
+
def initialize(**args)
|
1706
|
+
update!(**args)
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
# Update properties of this object
|
1710
|
+
def update!(**args)
|
1711
|
+
@properties = args[:properties] if args.key?(:properties)
|
1712
|
+
end
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
# An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a
|
1716
|
+
# Security Health Analytics custom module at a specified level of the resource
|
1717
|
+
# hierarchy: organization, folder, or project. If a custom module is inherited
|
1718
|
+
# from a parent organization or folder, the value of the `enablementState`
|
1719
|
+
# property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value
|
1720
|
+
# that is effective in the parent, instead of `INHERITED`. For example, if the
|
1721
|
+
# module is enabled in a parent organization or folder, the effective
|
1722
|
+
# enablement_state for the module in all child folders or projects is also `
|
1723
|
+
# enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
|
1724
|
+
class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
|
1725
|
+
include Google::Apis::Core::Hashable
|
1726
|
+
|
1727
|
+
# Defines the properties in a custom module configuration for Security Health
|
1728
|
+
# Analytics. Use the custom module configuration to create custom detectors that
|
1729
|
+
# generate custom findings for resources that you specify.
|
1730
|
+
# Corresponds to the JSON property `customConfig`
|
1731
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig]
|
1732
|
+
attr_accessor :custom_config
|
1733
|
+
|
1734
|
+
# Output only. The display name for the custom module. The name must be between
|
1735
|
+
# 1 and 128 characters, start with a lowercase letter, and contain alphanumeric
|
1736
|
+
# characters or underscores only.
|
1737
|
+
# Corresponds to the JSON property `displayName`
|
1738
|
+
# @return [String]
|
1739
|
+
attr_accessor :display_name
|
1740
|
+
|
1741
|
+
# Output only. The effective state of enablement for the module at the given
|
1742
|
+
# level of the hierarchy.
|
1743
|
+
# Corresponds to the JSON property `enablementState`
|
1744
|
+
# @return [String]
|
1745
|
+
attr_accessor :enablement_state
|
1746
|
+
|
1747
|
+
# Output only. The resource name of the custom module. Its format is "
|
1748
|
+
# organizations/`organization`/securityHealthAnalyticsSettings/
|
1749
|
+
# effectiveCustomModules/`customModule`", or "folders/`folder`/
|
1750
|
+
# securityHealthAnalyticsSettings/effectiveCustomModules/`customModule`", or "
|
1751
|
+
# projects/`project`/securityHealthAnalyticsSettings/effectiveCustomModules/`
|
1752
|
+
# customModule`"
|
1753
|
+
# Corresponds to the JSON property `name`
|
1754
|
+
# @return [String]
|
1755
|
+
attr_accessor :name
|
1756
|
+
|
1757
|
+
def initialize(**args)
|
1758
|
+
update!(**args)
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
# Update properties of this object
|
1762
|
+
def update!(**args)
|
1763
|
+
@custom_config = args[:custom_config] if args.key?(:custom_config)
|
1764
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1765
|
+
@enablement_state = args[:enablement_state] if args.key?(:enablement_state)
|
1766
|
+
@name = args[:name] if args.key?(:name)
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1620
1770
|
# Representation of third party SIEM/SOAR fields within SCC.
|
1621
1771
|
class GoogleCloudSecuritycenterV1ExternalSystem
|
1622
1772
|
include Google::Apis::Core::Hashable
|
@@ -1772,6 +1922,45 @@ module Google
|
|
1772
1922
|
end
|
1773
1923
|
end
|
1774
1924
|
|
1925
|
+
# An individual name-value pair that defines a custom source property.
|
1926
|
+
class GoogleCloudSecuritycenterV1Property
|
1927
|
+
include Google::Apis::Core::Hashable
|
1928
|
+
|
1929
|
+
# Name of the property for the custom output.
|
1930
|
+
# Corresponds to the JSON property `name`
|
1931
|
+
# @return [String]
|
1932
|
+
attr_accessor :name
|
1933
|
+
|
1934
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
1935
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
1936
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
1937
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
1938
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
1939
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
1940
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
1941
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
1942
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
1943
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
1944
|
+
# string" description: "Create a notification string with a timestamp."
|
1945
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
1946
|
+
# exact variables and functions that may be referenced within an expression are
|
1947
|
+
# determined by the service that evaluates it. See the service documentation for
|
1948
|
+
# additional information.
|
1949
|
+
# Corresponds to the JSON property `valueExpression`
|
1950
|
+
# @return [Google::Apis::SecuritycenterV1::Expr]
|
1951
|
+
attr_accessor :value_expression
|
1952
|
+
|
1953
|
+
def initialize(**args)
|
1954
|
+
update!(**args)
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# Update properties of this object
|
1958
|
+
def update!(**args)
|
1959
|
+
@name = args[:name] if args.key?(:name)
|
1960
|
+
@value_expression = args[:value_expression] if args.key?(:value_expression)
|
1961
|
+
end
|
1962
|
+
end
|
1963
|
+
|
1775
1964
|
# Information related to the Google Cloud resource.
|
1776
1965
|
class GoogleCloudSecuritycenterV1Resource
|
1777
1966
|
include Google::Apis::Core::Hashable
|
@@ -1836,6 +2025,25 @@ module Google
|
|
1836
2025
|
end
|
1837
2026
|
end
|
1838
2027
|
|
2028
|
+
# Resource for selecting resource type.
|
2029
|
+
class GoogleCloudSecuritycenterV1ResourceSelector
|
2030
|
+
include Google::Apis::Core::Hashable
|
2031
|
+
|
2032
|
+
# The resource types to run the detector on.
|
2033
|
+
# Corresponds to the JSON property `resourceTypes`
|
2034
|
+
# @return [Array<String>]
|
2035
|
+
attr_accessor :resource_types
|
2036
|
+
|
2037
|
+
def initialize(**args)
|
2038
|
+
update!(**args)
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
# Update properties of this object
|
2042
|
+
def update!(**args)
|
2043
|
+
@resource_types = args[:resource_types] if args.key?(:resource_types)
|
2044
|
+
end
|
2045
|
+
end
|
2046
|
+
|
1839
2047
|
# Response of asset discovery run
|
1840
2048
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
1841
2049
|
include Google::Apis::Core::Hashable
|
@@ -1861,6 +2069,80 @@ module Google
|
|
1861
2069
|
end
|
1862
2070
|
end
|
1863
2071
|
|
2072
|
+
# Represents an instance of a Security Health Analytics custom module, including
|
2073
|
+
# its full module name, display name, enablement state, and last updated time.
|
2074
|
+
# You can create a custom module at the organization, folder, or project level.
|
2075
|
+
# Custom modules that you create at the organization or folder level are
|
2076
|
+
# inherited by the child folders and projects.
|
2077
|
+
class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
|
2078
|
+
include Google::Apis::Core::Hashable
|
2079
|
+
|
2080
|
+
# Output only. If empty, indicates that the custom module was created in the
|
2081
|
+
# organization, folder, or project in which you are viewing the custom module.
|
2082
|
+
# Otherwise, `ancestor_module` specifies the organization or folder from which
|
2083
|
+
# the custom module is inherited.
|
2084
|
+
# Corresponds to the JSON property `ancestorModule`
|
2085
|
+
# @return [String]
|
2086
|
+
attr_accessor :ancestor_module
|
2087
|
+
|
2088
|
+
# Defines the properties in a custom module configuration for Security Health
|
2089
|
+
# Analytics. Use the custom module configuration to create custom detectors that
|
2090
|
+
# generate custom findings for resources that you specify.
|
2091
|
+
# Corresponds to the JSON property `customConfig`
|
2092
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig]
|
2093
|
+
attr_accessor :custom_config
|
2094
|
+
|
2095
|
+
# The display name of the Security Health Analytics custom module. This display
|
2096
|
+
# name becomes the finding category for all findings that are returned by this
|
2097
|
+
# custom module. The display name must be between 1 and 128 characters, start
|
2098
|
+
# with a lowercase letter, and contain alphanumeric characters or underscores
|
2099
|
+
# only.
|
2100
|
+
# Corresponds to the JSON property `displayName`
|
2101
|
+
# @return [String]
|
2102
|
+
attr_accessor :display_name
|
2103
|
+
|
2104
|
+
# The enablement state of the custom module.
|
2105
|
+
# Corresponds to the JSON property `enablementState`
|
2106
|
+
# @return [String]
|
2107
|
+
attr_accessor :enablement_state
|
2108
|
+
|
2109
|
+
# Output only. The editor that last updated the custom module.
|
2110
|
+
# Corresponds to the JSON property `lastEditor`
|
2111
|
+
# @return [String]
|
2112
|
+
attr_accessor :last_editor
|
2113
|
+
|
2114
|
+
# Immutable. The resource name of the custom module. Its format is "
|
2115
|
+
# organizations/`organization`/securityHealthAnalyticsSettings/customModules/`
|
2116
|
+
# customModule`", or "folders/`folder`/securityHealthAnalyticsSettings/
|
2117
|
+
# customModules/`customModule`", or "projects/`project`/
|
2118
|
+
# securityHealthAnalyticsSettings/customModules/`customModule`" The id `
|
2119
|
+
# customModule` is server-generated and is not user settable. It will be a
|
2120
|
+
# numeric id containing 1-20 digits.
|
2121
|
+
# Corresponds to the JSON property `name`
|
2122
|
+
# @return [String]
|
2123
|
+
attr_accessor :name
|
2124
|
+
|
2125
|
+
# Output only. The time at which the custom module was last updated.
|
2126
|
+
# Corresponds to the JSON property `updateTime`
|
2127
|
+
# @return [String]
|
2128
|
+
attr_accessor :update_time
|
2129
|
+
|
2130
|
+
def initialize(**args)
|
2131
|
+
update!(**args)
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
# Update properties of this object
|
2135
|
+
def update!(**args)
|
2136
|
+
@ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
|
2137
|
+
@custom_config = args[:custom_config] if args.key?(:custom_config)
|
2138
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2139
|
+
@enablement_state = args[:enablement_state] if args.key?(:enablement_state)
|
2140
|
+
@last_editor = args[:last_editor] if args.key?(:last_editor)
|
2141
|
+
@name = args[:name] if args.key?(:name)
|
2142
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2143
|
+
end
|
2144
|
+
end
|
2145
|
+
|
1864
2146
|
# Response of asset discovery run
|
1865
2147
|
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
1866
2148
|
include Google::Apis::Core::Hashable
|
@@ -2855,6 +3137,59 @@ module Google
|
|
2855
3137
|
end
|
2856
3138
|
end
|
2857
3139
|
|
3140
|
+
# Response message for listing descendant security health analytics custom
|
3141
|
+
# modules.
|
3142
|
+
class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
|
3143
|
+
include Google::Apis::Core::Hashable
|
3144
|
+
|
3145
|
+
# If not empty, indicates that there may be more custom modules to be returned.
|
3146
|
+
# Corresponds to the JSON property `nextPageToken`
|
3147
|
+
# @return [String]
|
3148
|
+
attr_accessor :next_page_token
|
3149
|
+
|
3150
|
+
# Custom modules belonging to the requested parent and its descendants.
|
3151
|
+
# Corresponds to the JSON property `securityHealthAnalyticsCustomModules`
|
3152
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>]
|
3153
|
+
attr_accessor :security_health_analytics_custom_modules
|
3154
|
+
|
3155
|
+
def initialize(**args)
|
3156
|
+
update!(**args)
|
3157
|
+
end
|
3158
|
+
|
3159
|
+
# Update properties of this object
|
3160
|
+
def update!(**args)
|
3161
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3162
|
+
@security_health_analytics_custom_modules = args[:security_health_analytics_custom_modules] if args.key?(:security_health_analytics_custom_modules)
|
3163
|
+
end
|
3164
|
+
end
|
3165
|
+
|
3166
|
+
# Response message for listing effective security health analytics custom
|
3167
|
+
# modules.
|
3168
|
+
class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
|
3169
|
+
include Google::Apis::Core::Hashable
|
3170
|
+
|
3171
|
+
# Effective custom modules belonging to the requested parent.
|
3172
|
+
# Corresponds to the JSON property `effectiveSecurityHealthAnalyticsCustomModules`
|
3173
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>]
|
3174
|
+
attr_accessor :effective_security_health_analytics_custom_modules
|
3175
|
+
|
3176
|
+
# If not empty, indicates that there may be more effective custom modules to be
|
3177
|
+
# returned.
|
3178
|
+
# Corresponds to the JSON property `nextPageToken`
|
3179
|
+
# @return [String]
|
3180
|
+
attr_accessor :next_page_token
|
3181
|
+
|
3182
|
+
def initialize(**args)
|
3183
|
+
update!(**args)
|
3184
|
+
end
|
3185
|
+
|
3186
|
+
# Update properties of this object
|
3187
|
+
def update!(**args)
|
3188
|
+
@effective_security_health_analytics_custom_modules = args[:effective_security_health_analytics_custom_modules] if args.key?(:effective_security_health_analytics_custom_modules)
|
3189
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3190
|
+
end
|
3191
|
+
end
|
3192
|
+
|
2858
3193
|
# Response message for listing findings.
|
2859
3194
|
class ListFindingsResponse
|
2860
3195
|
include Google::Apis::Core::Hashable
|
@@ -3006,6 +3341,31 @@ module Google
|
|
3006
3341
|
end
|
3007
3342
|
end
|
3008
3343
|
|
3344
|
+
# Response message for listing security health analytics custom modules.
|
3345
|
+
class ListSecurityHealthAnalyticsCustomModulesResponse
|
3346
|
+
include Google::Apis::Core::Hashable
|
3347
|
+
|
3348
|
+
# If not empty, indicates that there may be more custom modules to be returned.
|
3349
|
+
# Corresponds to the JSON property `nextPageToken`
|
3350
|
+
# @return [String]
|
3351
|
+
attr_accessor :next_page_token
|
3352
|
+
|
3353
|
+
# Custom modules belonging to the requested parent.
|
3354
|
+
# Corresponds to the JSON property `securityHealthAnalyticsCustomModules`
|
3355
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>]
|
3356
|
+
attr_accessor :security_health_analytics_custom_modules
|
3357
|
+
|
3358
|
+
def initialize(**args)
|
3359
|
+
update!(**args)
|
3360
|
+
end
|
3361
|
+
|
3362
|
+
# Update properties of this object
|
3363
|
+
def update!(**args)
|
3364
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3365
|
+
@security_health_analytics_custom_modules = args[:security_health_analytics_custom_modules] if args.key?(:security_health_analytics_custom_modules)
|
3366
|
+
end
|
3367
|
+
end
|
3368
|
+
|
3009
3369
|
# Response message for listing sources.
|
3010
3370
|
class ListSourcesResponse
|
3011
3371
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1
|
18
18
|
# Version of the google-apis-securitycenter_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.54.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230410"
|
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 GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
254
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
291
|
|
@@ -376,6 +412,18 @@ module Google
|
|
376
412
|
include Google::Apis::Core::JsonObjectSupport
|
377
413
|
end
|
378
414
|
|
415
|
+
class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
379
427
|
class ListFindingsResponse
|
380
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
429
|
|
@@ -406,6 +454,12 @@ module Google
|
|
406
454
|
include Google::Apis::Core::JsonObjectSupport
|
407
455
|
end
|
408
456
|
|
457
|
+
class ListSecurityHealthAnalyticsCustomModulesResponse
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
409
463
|
class ListSourcesResponse
|
410
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
465
|
|
@@ -966,6 +1020,40 @@ module Google
|
|
966
1020
|
end
|
967
1021
|
end
|
968
1022
|
|
1023
|
+
class GoogleCloudSecuritycenterV1CustomConfig
|
1024
|
+
# @private
|
1025
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1026
|
+
property :custom_output, as: 'customOutput', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomOutputSpec, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomOutputSpec::Representation
|
1027
|
+
|
1028
|
+
property :description, as: 'description'
|
1029
|
+
property :predicate, as: 'predicate', class: Google::Apis::SecuritycenterV1::Expr, decorator: Google::Apis::SecuritycenterV1::Expr::Representation
|
1030
|
+
|
1031
|
+
property :recommendation, as: 'recommendation'
|
1032
|
+
property :resource_selector, as: 'resourceSelector', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceSelector, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceSelector::Representation
|
1033
|
+
|
1034
|
+
property :severity, as: 'severity'
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
class GoogleCloudSecuritycenterV1CustomOutputSpec
|
1039
|
+
# @private
|
1040
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1041
|
+
collection :properties, as: 'properties', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Property, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Property::Representation
|
1042
|
+
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
|
1047
|
+
# @private
|
1048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1049
|
+
property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig::Representation
|
1050
|
+
|
1051
|
+
property :display_name, as: 'displayName'
|
1052
|
+
property :enablement_state, as: 'enablementState'
|
1053
|
+
property :name, as: 'name'
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
|
969
1057
|
class GoogleCloudSecuritycenterV1ExternalSystem
|
970
1058
|
# @private
|
971
1059
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1001,6 +1089,15 @@ module Google
|
|
1001
1089
|
end
|
1002
1090
|
end
|
1003
1091
|
|
1092
|
+
class GoogleCloudSecuritycenterV1Property
|
1093
|
+
# @private
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1095
|
+
property :name, as: 'name'
|
1096
|
+
property :value_expression, as: 'valueExpression', class: Google::Apis::SecuritycenterV1::Expr, decorator: Google::Apis::SecuritycenterV1::Expr::Representation
|
1097
|
+
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1004
1101
|
class GoogleCloudSecuritycenterV1Resource
|
1005
1102
|
# @private
|
1006
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1016,6 +1113,13 @@ module Google
|
|
1016
1113
|
end
|
1017
1114
|
end
|
1018
1115
|
|
1116
|
+
class GoogleCloudSecuritycenterV1ResourceSelector
|
1117
|
+
# @private
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1119
|
+
collection :resource_types, as: 'resourceTypes'
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
|
1019
1123
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
1020
1124
|
# @private
|
1021
1125
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1024,6 +1128,20 @@ module Google
|
|
1024
1128
|
end
|
1025
1129
|
end
|
1026
1130
|
|
1131
|
+
class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
|
1132
|
+
# @private
|
1133
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1134
|
+
property :ancestor_module, as: 'ancestorModule'
|
1135
|
+
property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig::Representation
|
1136
|
+
|
1137
|
+
property :display_name, as: 'displayName'
|
1138
|
+
property :enablement_state, as: 'enablementState'
|
1139
|
+
property :last_editor, as: 'lastEditor'
|
1140
|
+
property :name, as: 'name'
|
1141
|
+
property :update_time, as: 'updateTime'
|
1142
|
+
end
|
1143
|
+
end
|
1144
|
+
|
1027
1145
|
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
1028
1146
|
# @private
|
1029
1147
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1251,6 +1369,24 @@ module Google
|
|
1251
1369
|
end
|
1252
1370
|
end
|
1253
1371
|
|
1372
|
+
class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
|
1373
|
+
# @private
|
1374
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1375
|
+
property :next_page_token, as: 'nextPageToken'
|
1376
|
+
collection :security_health_analytics_custom_modules, as: 'securityHealthAnalyticsCustomModules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule::Representation
|
1377
|
+
|
1378
|
+
end
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
|
1382
|
+
# @private
|
1383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1384
|
+
collection :effective_security_health_analytics_custom_modules, as: 'effectiveSecurityHealthAnalyticsCustomModules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule::Representation
|
1385
|
+
|
1386
|
+
property :next_page_token, as: 'nextPageToken'
|
1387
|
+
end
|
1388
|
+
end
|
1389
|
+
|
1254
1390
|
class ListFindingsResponse
|
1255
1391
|
# @private
|
1256
1392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1300,6 +1436,15 @@ module Google
|
|
1300
1436
|
end
|
1301
1437
|
end
|
1302
1438
|
|
1439
|
+
class ListSecurityHealthAnalyticsCustomModulesResponse
|
1440
|
+
# @private
|
1441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1442
|
+
property :next_page_token, as: 'nextPageToken'
|
1443
|
+
collection :security_health_analytics_custom_modules, as: 'securityHealthAnalyticsCustomModules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule::Representation
|
1444
|
+
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1303
1448
|
class ListSourcesResponse
|
1304
1449
|
# @private
|
1305
1450
|
class Representation < Google::Apis::Core::JsonRepresentation
|