google-apis-securitycenter_v1beta1 0.49.0 → 0.51.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: 3b0bc39da7a40d188d32e982bb57273373d73204e3bcd267190c403e6acbb684
4
- data.tar.gz: 3cf3b08bf32f89b520a64d0be44b4145231ee3a7b2191e84d21ef2b602ddc02c
3
+ metadata.gz: 8bac438667e70c3bd0661af12ce737a3916cd35051eb8c00c8dc8cedc5363114
4
+ data.tar.gz: 5dc521fb8f3b64f1c2c33fb45e5018ccb7d356f39754efbfcc2d705cfd4461c0
5
5
  SHA512:
6
- metadata.gz: 14c5c8181b58cc4f436c44469416634be0eec32cebf2b00a17c2468c03df7d935d9f1476fff63e1f61fe5b29a4602c3a7722c8d2a42f33dd4b9e2bfcab9c05b9
7
- data.tar.gz: 00f2d5da21360b7e9e6f1a9d194c87787fe1b6eab8543aba3dffd43c29d08d65be0f061f6c3f39ef7e0e3e86da65034dd4ef8c6617c8b2a9d75962ca71d648f0
6
+ metadata.gz: 6a34fe6540a79e046eccb8d74a159442d71fb87652fb7caa86b54e00bd929c47401271a44ef626b90e3218cbe3102779d43f78a93c4e96e4a7a0988aa91a0b81
7
+ data.tar.gz: 95539d492a4e179580c91e386f2cc5a2a95dad9d676c7ecb56ece9e5ba94004fb12a1f2b114b5d628ceccac2f11635a473bfbcb11bf8e133ffb41f5ec8abeb20
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.51.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230406
6
+
7
+ ### v0.50.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230329
10
+
3
11
  ### v0.49.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230321
@@ -264,38 +264,6 @@ module Google
264
264
  end
265
265
  end
266
266
 
267
- # A finding that is associated with this node in the exposure path.
268
- class AssociatedFinding
269
- include Google::Apis::Core::Hashable
270
-
271
- # Canonical name of the associated findings. Example: organizations/123/sources/
272
- # 456/findings/789
273
- # Corresponds to the JSON property `canonicalFindingName`
274
- # @return [String]
275
- attr_accessor :canonical_finding_name
276
-
277
- # The additional taxonomy group within findings from a given source.
278
- # Corresponds to the JSON property `findingCategory`
279
- # @return [String]
280
- attr_accessor :finding_category
281
-
282
- # Full resource name of the finding.
283
- # Corresponds to the JSON property `name`
284
- # @return [String]
285
- attr_accessor :name
286
-
287
- def initialize(**args)
288
- update!(**args)
289
- end
290
-
291
- # Update properties of this object
292
- def update!(**args)
293
- @canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name)
294
- @finding_category = args[:finding_category] if args.key?(:finding_category)
295
- @name = args[:name] if args.key?(:name)
296
- end
297
- end
298
-
299
267
  # Specifies the audit configuration for a service. The configuration determines
300
268
  # which permission types are logged, and what identities, if any, are exempted
301
269
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -866,32 +834,6 @@ module Google
866
834
  end
867
835
  end
868
836
 
869
- # Represents a connection between a source node and a destination node in this
870
- # exposure path.
871
- class Edge
872
- include Google::Apis::Core::Hashable
873
-
874
- # This is the resource name of the destination node.
875
- # Corresponds to the JSON property `destination`
876
- # @return [String]
877
- attr_accessor :destination
878
-
879
- # This is the resource name of the source node.
880
- # Corresponds to the JSON property `source`
881
- # @return [String]
882
- attr_accessor :source
883
-
884
- def initialize(**args)
885
- update!(**args)
886
- end
887
-
888
- # Update properties of this object
889
- def update!(**args)
890
- @destination = args[:destination] if args.key?(:destination)
891
- @source = args[:source] if args.key?(:source)
892
- end
893
- end
894
-
895
837
  # A generic empty message that you can re-use to avoid defining duplicated empty
896
838
  # messages in your APIs. A typical example is to use it as the request or the
897
839
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1296,12 +1238,6 @@ module Google
1296
1238
  # @return [String]
1297
1239
  attr_accessor :next_steps
1298
1240
 
1299
- # Contains information about the org policy constraints associated with the
1300
- # finding.
1301
- # Corresponds to the JSON property `orgPolicyConstraints`
1302
- # @return [Array<Google::Apis::SecuritycenterV1beta1::OrgPolicyConstraint>]
1303
- attr_accessor :org_policy_constraints
1304
-
1305
1241
  # The relative resource name of the source the finding belongs to. See: https://
1306
1242
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
1307
1243
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -1397,7 +1333,6 @@ module Google
1397
1333
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
1398
1334
  @name = args[:name] if args.key?(:name)
1399
1335
  @next_steps = args[:next_steps] if args.key?(:next_steps)
1400
- @org_policy_constraints = args[:org_policy_constraints] if args.key?(:org_policy_constraints)
1401
1336
  @parent = args[:parent] if args.key?(:parent)
1402
1337
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1403
1338
  @processes = args[:processes] if args.key?(:processes)
@@ -1636,42 +1571,90 @@ module Google
1636
1571
  end
1637
1572
  end
1638
1573
 
1639
- # A resource that is exposed as a result of a finding.
1640
- class GoogleCloudSecuritycenterV1ExposedResource
1574
+ # Defines the properties in a custom module configuration for Security Health
1575
+ # Analytics. Use the custom module configuration to create custom detectors that
1576
+ # generate custom findings for resources that you specify.
1577
+ class GoogleCloudSecuritycenterV1CustomConfig
1641
1578
  include Google::Apis::Core::Hashable
1642
1579
 
1643
- # Human readable name of the resource that is exposed.
1644
- # Corresponds to the JSON property `displayName`
1580
+ # A set of optional name-value pairs that define custom source properties to
1581
+ # return with each finding that is generated by the custom module. The custom
1582
+ # source properties that are defined here are included in the finding JSON under
1583
+ # `sourceProperties`.
1584
+ # Corresponds to the JSON property `customOutput`
1585
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomOutputSpec]
1586
+ attr_accessor :custom_output
1587
+
1588
+ # Text that describes the vulnerability or misconfiguration that the custom
1589
+ # module detects. This explanation is returned with each finding instance to
1590
+ # help investigators understand the detected issue. The text must be enclosed in
1591
+ # quotation marks.
1592
+ # Corresponds to the JSON property `description`
1645
1593
  # @return [String]
1646
- attr_accessor :display_name
1594
+ attr_accessor :description
1647
1595
 
1648
- # The ways in which this resource is exposed. Examples: Read, Write
1649
- # Corresponds to the JSON property `methods`
1650
- # @return [Array<String>]
1651
- attr_accessor :methods_prop
1596
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1597
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1598
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1599
+ # "Summary size limit" description: "Determines if a summary is less than 100
1600
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1601
+ # Requestor is owner" description: "Determines if requestor is the document
1602
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1603
+ # Logic): title: "Public documents" description: "Determine whether the document
1604
+ # should be publicly visible" expression: "document.type != 'private' &&
1605
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1606
+ # string" description: "Create a notification string with a timestamp."
1607
+ # expression: "'New message received at ' + string(document.create_time)" The
1608
+ # exact variables and functions that may be referenced within an expression are
1609
+ # determined by the service that evaluates it. See the service documentation for
1610
+ # additional information.
1611
+ # Corresponds to the JSON property `predicate`
1612
+ # @return [Google::Apis::SecuritycenterV1beta1::Expr]
1613
+ attr_accessor :predicate
1652
1614
 
1653
- # Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/
1654
- # exposedResources/789`
1655
- # Corresponds to the JSON property `name`
1615
+ # An explanation of the recommended steps that security teams can take to
1616
+ # resolve the detected issue. This explanation is returned with each finding
1617
+ # generated by this module in the `nextSteps` property of the finding JSON.
1618
+ # Corresponds to the JSON property `recommendation`
1656
1619
  # @return [String]
1657
- attr_accessor :name
1620
+ attr_accessor :recommendation
1658
1621
 
1659
- # The name of the resource that is exposed. See: https://cloud.google.com/apis/
1660
- # design/resource_names#full_resource_name
1661
- # Corresponds to the JSON property `resource`
1662
- # @return [String]
1663
- attr_accessor :resource
1622
+ # Resource for selecting resource type.
1623
+ # Corresponds to the JSON property `resourceSelector`
1624
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceSelector]
1625
+ attr_accessor :resource_selector
1664
1626
 
1665
- # The resource type of the exposed resource. See: https://cloud.google.com/asset-
1666
- # inventory/docs/supported-asset-types
1667
- # Corresponds to the JSON property `resourceType`
1627
+ # The severity to assign to findings generated by the module.
1628
+ # Corresponds to the JSON property `severity`
1668
1629
  # @return [String]
1669
- attr_accessor :resource_type
1630
+ attr_accessor :severity
1670
1631
 
1671
- # How valuable this resource is.
1672
- # Corresponds to the JSON property `resourceValue`
1673
- # @return [String]
1674
- attr_accessor :resource_value
1632
+ def initialize(**args)
1633
+ update!(**args)
1634
+ end
1635
+
1636
+ # Update properties of this object
1637
+ def update!(**args)
1638
+ @custom_output = args[:custom_output] if args.key?(:custom_output)
1639
+ @description = args[:description] if args.key?(:description)
1640
+ @predicate = args[:predicate] if args.key?(:predicate)
1641
+ @recommendation = args[:recommendation] if args.key?(:recommendation)
1642
+ @resource_selector = args[:resource_selector] if args.key?(:resource_selector)
1643
+ @severity = args[:severity] if args.key?(:severity)
1644
+ end
1645
+ end
1646
+
1647
+ # A set of optional name-value pairs that define custom source properties to
1648
+ # return with each finding that is generated by the custom module. The custom
1649
+ # source properties that are defined here are included in the finding JSON under
1650
+ # `sourceProperties`.
1651
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
1652
+ include Google::Apis::Core::Hashable
1653
+
1654
+ # A list of custom output properties to add to the finding.
1655
+ # Corresponds to the JSON property `properties`
1656
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property>]
1657
+ attr_accessor :properties
1675
1658
 
1676
1659
  def initialize(**args)
1677
1660
  update!(**args)
@@ -1679,50 +1662,62 @@ module Google
1679
1662
 
1680
1663
  # Update properties of this object
1681
1664
  def update!(**args)
1682
- @display_name = args[:display_name] if args.key?(:display_name)
1683
- @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
1684
- @name = args[:name] if args.key?(:name)
1685
- @resource = args[:resource] if args.key?(:resource)
1686
- @resource_type = args[:resource_type] if args.key?(:resource_type)
1687
- @resource_value = args[:resource_value] if args.key?(:resource_value)
1665
+ @properties = args[:properties] if args.key?(:properties)
1688
1666
  end
1689
1667
  end
1690
1668
 
1691
- # A path that an attacker could take to reach an exposed resource.
1692
- class GoogleCloudSecuritycenterV1ExposurePath
1669
+ # An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a
1670
+ # Security Health Analytics custom module at a specified level of the resource
1671
+ # hierarchy: organization, folder, or project. If a custom module is inherited
1672
+ # from a parent organization or folder, the value of the `enablementState`
1673
+ # property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value
1674
+ # that is effective in the parent, instead of `INHERITED`. For example, if the
1675
+ # module is enabled in a parent organization or folder, the effective
1676
+ # enablement_state for the module in all child folders or projects is also `
1677
+ # enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
1678
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
1693
1679
  include Google::Apis::Core::Hashable
1694
1680
 
1695
- # A list of the edges between nodes in this exposure path.
1696
- # Corresponds to the JSON property `edges`
1697
- # @return [Array<Google::Apis::SecuritycenterV1beta1::Edge>]
1698
- attr_accessor :edges
1681
+ # Defines the properties in a custom module configuration for Security Health
1682
+ # Analytics. Use the custom module configuration to create custom detectors that
1683
+ # generate custom findings for resources that you specify.
1684
+ # Corresponds to the JSON property `customConfig`
1685
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomConfig]
1686
+ attr_accessor :custom_config
1687
+
1688
+ # Output only. The display name for the custom module. The name must be between
1689
+ # 1 and 128 characters, start with a lowercase letter, and contain alphanumeric
1690
+ # characters or underscores only.
1691
+ # Corresponds to the JSON property `displayName`
1692
+ # @return [String]
1693
+ attr_accessor :display_name
1699
1694
 
1700
- # A resource that is exposed as a result of a finding.
1701
- # Corresponds to the JSON property `exposedResource`
1702
- # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExposedResource]
1703
- attr_accessor :exposed_resource
1695
+ # Output only. The effective state of enablement for the module at the given
1696
+ # level of the hierarchy.
1697
+ # Corresponds to the JSON property `enablementState`
1698
+ # @return [String]
1699
+ attr_accessor :enablement_state
1704
1700
 
1705
- # Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/
1706
- # exposurePaths/789`
1701
+ # Output only. The resource name of the custom module. Its format is "
1702
+ # organizations/`organization`/securityHealthAnalyticsSettings/
1703
+ # effectiveCustomModules/`customModule`", or "folders/`folder`/
1704
+ # securityHealthAnalyticsSettings/effectiveCustomModules/`customModule`", or "
1705
+ # projects/`project`/securityHealthAnalyticsSettings/effectiveCustomModules/`
1706
+ # customModule`"
1707
1707
  # Corresponds to the JSON property `name`
1708
1708
  # @return [String]
1709
1709
  attr_accessor :name
1710
1710
 
1711
- # A list of nodes that exist in this exposure path.
1712
- # Corresponds to the JSON property `pathNodes`
1713
- # @return [Array<Google::Apis::SecuritycenterV1beta1::PathNode>]
1714
- attr_accessor :path_nodes
1715
-
1716
1711
  def initialize(**args)
1717
1712
  update!(**args)
1718
1713
  end
1719
1714
 
1720
1715
  # Update properties of this object
1721
1716
  def update!(**args)
1722
- @edges = args[:edges] if args.key?(:edges)
1723
- @exposed_resource = args[:exposed_resource] if args.key?(:exposed_resource)
1717
+ @custom_config = args[:custom_config] if args.key?(:custom_config)
1718
+ @display_name = args[:display_name] if args.key?(:display_name)
1719
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
1724
1720
  @name = args[:name] if args.key?(:name)
1725
- @path_nodes = args[:path_nodes] if args.key?(:path_nodes)
1726
1721
  end
1727
1722
  end
1728
1723
 
@@ -1881,6 +1876,45 @@ module Google
1881
1876
  end
1882
1877
  end
1883
1878
 
1879
+ # An individual name-value pair that defines a custom source property.
1880
+ class GoogleCloudSecuritycenterV1Property
1881
+ include Google::Apis::Core::Hashable
1882
+
1883
+ # Name of the property for the custom output.
1884
+ # Corresponds to the JSON property `name`
1885
+ # @return [String]
1886
+ attr_accessor :name
1887
+
1888
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1889
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1890
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1891
+ # "Summary size limit" description: "Determines if a summary is less than 100
1892
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1893
+ # Requestor is owner" description: "Determines if requestor is the document
1894
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1895
+ # Logic): title: "Public documents" description: "Determine whether the document
1896
+ # should be publicly visible" expression: "document.type != 'private' &&
1897
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1898
+ # string" description: "Create a notification string with a timestamp."
1899
+ # expression: "'New message received at ' + string(document.create_time)" The
1900
+ # exact variables and functions that may be referenced within an expression are
1901
+ # determined by the service that evaluates it. See the service documentation for
1902
+ # additional information.
1903
+ # Corresponds to the JSON property `valueExpression`
1904
+ # @return [Google::Apis::SecuritycenterV1beta1::Expr]
1905
+ attr_accessor :value_expression
1906
+
1907
+ def initialize(**args)
1908
+ update!(**args)
1909
+ end
1910
+
1911
+ # Update properties of this object
1912
+ def update!(**args)
1913
+ @name = args[:name] if args.key?(:name)
1914
+ @value_expression = args[:value_expression] if args.key?(:value_expression)
1915
+ end
1916
+ end
1917
+
1884
1918
  # Information related to the Google Cloud resource.
1885
1919
  class GoogleCloudSecuritycenterV1Resource
1886
1920
  include Google::Apis::Core::Hashable
@@ -1945,65 +1979,14 @@ module Google
1945
1979
  end
1946
1980
  end
1947
1981
 
1948
- # A resource value config is a mapping configuration of user's tag values to
1949
- # resource values. Used by the attack path simulation.
1950
- class GoogleCloudSecuritycenterV1ResourceValueConfig
1982
+ # Resource for selecting resource type.
1983
+ class GoogleCloudSecuritycenterV1ResourceSelector
1951
1984
  include Google::Apis::Core::Hashable
1952
1985
 
1953
- # Output only. Timestamp this resource value config was created.
1954
- # Corresponds to the JSON property `createTime`
1955
- # @return [String]
1956
- attr_accessor :create_time
1957
-
1958
- # Description of the resource value config.
1959
- # Corresponds to the JSON property `description`
1960
- # @return [String]
1961
- attr_accessor :description
1962
-
1963
- # Name for the resource value config
1964
- # Corresponds to the JSON property `name`
1965
- # @return [String]
1966
- attr_accessor :name
1967
-
1968
- # List of resource labels to search for, evaluated with AND. E.g. "
1969
- # resource_labels_selector": `"key": "value", "env": "prod"` will match
1970
- # resources with labels "key": "value" AND "env": "prod" https://cloud.google.
1971
- # com/resource-manager/docs/creating-managing-labels
1972
- # Corresponds to the JSON property `resourceLabelsSelector`
1973
- # @return [Hash<String,String>]
1974
- attr_accessor :resource_labels_selector
1975
-
1976
- # Apply resource_value only to resources that match resource_type. resource_type
1977
- # will be checked with "AND" of other resources. E.g. "storage.googleapis.com/
1978
- # Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.
1979
- # googleapis.com/Bucket" resources.
1980
- # Corresponds to the JSON property `resourceType`
1981
- # @return [String]
1982
- attr_accessor :resource_type
1983
-
1984
- # Required. Resource value level this expression represents
1985
- # Corresponds to the JSON property `resourceValue`
1986
- # @return [String]
1987
- attr_accessor :resource_value
1988
-
1989
- # Project or folder to scope this config to. For example, "project/456" would
1990
- # apply this config only to resources in "project/456" scope will be checked
1991
- # with "AND" of other resources.
1992
- # Corresponds to the JSON property `scope`
1993
- # @return [String]
1994
- attr_accessor :scope
1995
-
1996
- # Required. Tag values combined with AND to check against. Values in the form "
1997
- # tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
1998
- # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
1999
- # Corresponds to the JSON property `tagValues`
1986
+ # The resource types to run the detector on.
1987
+ # Corresponds to the JSON property `resourceTypes`
2000
1988
  # @return [Array<String>]
2001
- attr_accessor :tag_values
2002
-
2003
- # Output only. Timestamp this resource value config was last updated.
2004
- # Corresponds to the JSON property `updateTime`
2005
- # @return [String]
2006
- attr_accessor :update_time
1989
+ attr_accessor :resource_types
2007
1990
 
2008
1991
  def initialize(**args)
2009
1992
  update!(**args)
@@ -2011,15 +1994,7 @@ module Google
2011
1994
 
2012
1995
  # Update properties of this object
2013
1996
  def update!(**args)
2014
- @create_time = args[:create_time] if args.key?(:create_time)
2015
- @description = args[:description] if args.key?(:description)
2016
- @name = args[:name] if args.key?(:name)
2017
- @resource_labels_selector = args[:resource_labels_selector] if args.key?(:resource_labels_selector)
2018
- @resource_type = args[:resource_type] if args.key?(:resource_type)
2019
- @resource_value = args[:resource_value] if args.key?(:resource_value)
2020
- @scope = args[:scope] if args.key?(:scope)
2021
- @tag_values = args[:tag_values] if args.key?(:tag_values)
2022
- @update_time = args[:update_time] if args.key?(:update_time)
1997
+ @resource_types = args[:resource_types] if args.key?(:resource_types)
2023
1998
  end
2024
1999
  end
2025
2000
 
@@ -2048,6 +2023,80 @@ module Google
2048
2023
  end
2049
2024
  end
2050
2025
 
2026
+ # Represents an instance of a Security Health Analytics custom module, including
2027
+ # its full module name, display name, enablement state, and last updated time.
2028
+ # You can create a custom module at the organization, folder, or project level.
2029
+ # Custom modules that you create at the organization or folder level are
2030
+ # inherited by the child folders and projects.
2031
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
2032
+ include Google::Apis::Core::Hashable
2033
+
2034
+ # Output only. If empty, indicates that the custom module was created in the
2035
+ # organization, folder, or project in which you are viewing the custom module.
2036
+ # Otherwise, `ancestor_module` specifies the organization or folder from which
2037
+ # the custom module is inherited.
2038
+ # Corresponds to the JSON property `ancestorModule`
2039
+ # @return [String]
2040
+ attr_accessor :ancestor_module
2041
+
2042
+ # Defines the properties in a custom module configuration for Security Health
2043
+ # Analytics. Use the custom module configuration to create custom detectors that
2044
+ # generate custom findings for resources that you specify.
2045
+ # Corresponds to the JSON property `customConfig`
2046
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomConfig]
2047
+ attr_accessor :custom_config
2048
+
2049
+ # The display name of the Security Health Analytics custom module. This display
2050
+ # name becomes the finding category for all findings that are returned by this
2051
+ # custom module. The display name must be between 1 and 128 characters, start
2052
+ # with a lowercase letter, and contain alphanumeric characters or underscores
2053
+ # only.
2054
+ # Corresponds to the JSON property `displayName`
2055
+ # @return [String]
2056
+ attr_accessor :display_name
2057
+
2058
+ # The enablement state of the custom module.
2059
+ # Corresponds to the JSON property `enablementState`
2060
+ # @return [String]
2061
+ attr_accessor :enablement_state
2062
+
2063
+ # Output only. The editor that last updated the custom module.
2064
+ # Corresponds to the JSON property `lastEditor`
2065
+ # @return [String]
2066
+ attr_accessor :last_editor
2067
+
2068
+ # Immutable. The resource name of the custom module. Its format is "
2069
+ # organizations/`organization`/securityHealthAnalyticsSettings/customModules/`
2070
+ # customModule`", or "folders/`folder`/securityHealthAnalyticsSettings/
2071
+ # customModules/`customModule`", or "projects/`project`/
2072
+ # securityHealthAnalyticsSettings/customModules/`customModule`" The id `
2073
+ # customModule` is server-generated and is not user settable. It will be a
2074
+ # numeric id containing 1-20 digits.
2075
+ # Corresponds to the JSON property `name`
2076
+ # @return [String]
2077
+ attr_accessor :name
2078
+
2079
+ # Output only. The time at which the custom module was last updated.
2080
+ # Corresponds to the JSON property `updateTime`
2081
+ # @return [String]
2082
+ attr_accessor :update_time
2083
+
2084
+ def initialize(**args)
2085
+ update!(**args)
2086
+ end
2087
+
2088
+ # Update properties of this object
2089
+ def update!(**args)
2090
+ @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
2091
+ @custom_config = args[:custom_config] if args.key?(:custom_config)
2092
+ @display_name = args[:display_name] if args.key?(:display_name)
2093
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
2094
+ @last_editor = args[:last_editor] if args.key?(:last_editor)
2095
+ @name = args[:name] if args.key?(:name)
2096
+ @update_time = args[:update_time] if args.key?(:update_time)
2097
+ end
2098
+ end
2099
+
2051
2100
  # Security Command Center finding. A finding is a record of assessment data (
2052
2101
  # security, risk, health or privacy) ingested into Security Command Center for
2053
2102
  # presentation, notification, analysis, policy testing, and enforcement. For
@@ -3319,26 +3368,6 @@ module Google
3319
3368
  end
3320
3369
  end
3321
3370
 
3322
- # Encapsulates data about a constraint associated with an organization policy.
3323
- class OrgPolicyConstraint
3324
- include Google::Apis::Core::Hashable
3325
-
3326
- # The resource name of the constraint. Example: "organizations/`organization_id`/
3327
- # constraints/`constraint_name`"
3328
- # Corresponds to the JSON property `name`
3329
- # @return [String]
3330
- attr_accessor :name
3331
-
3332
- def initialize(**args)
3333
- update!(**args)
3334
- end
3335
-
3336
- # Update properties of this object
3337
- def update!(**args)
3338
- @name = args[:name] if args.key?(:name)
3339
- end
3340
- end
3341
-
3342
3371
  # User specified settings that are attached to the Security Command Center
3343
3372
  # organization.
3344
3373
  class OrganizationSettings
@@ -3376,46 +3405,6 @@ module Google
3376
3405
  end
3377
3406
  end
3378
3407
 
3379
- # Represents one point that an attacker passes through in this exposure path.
3380
- class PathNode
3381
- include Google::Apis::Core::Hashable
3382
-
3383
- # The findings associated with this node in the exposure path.
3384
- # Corresponds to the JSON property `associatedFindings`
3385
- # @return [Array<Google::Apis::SecuritycenterV1beta1::AssociatedFinding>]
3386
- attr_accessor :associated_findings
3387
-
3388
- # Human readable name of this resource.
3389
- # Corresponds to the JSON property `displayName`
3390
- # @return [String]
3391
- attr_accessor :display_name
3392
-
3393
- # The name of the resource at this point in the exposure path. The format of the
3394
- # name is: https://cloud.google.com/apis/design/resource_names#
3395
- # full_resource_name
3396
- # Corresponds to the JSON property `resource`
3397
- # @return [String]
3398
- attr_accessor :resource
3399
-
3400
- # The resource type of this resource. See: https://cloud.google.com/asset-
3401
- # inventory/docs/supported-asset-types
3402
- # Corresponds to the JSON property `resourceType`
3403
- # @return [String]
3404
- attr_accessor :resource_type
3405
-
3406
- def initialize(**args)
3407
- update!(**args)
3408
- end
3409
-
3410
- # Update properties of this object
3411
- def update!(**args)
3412
- @associated_findings = args[:associated_findings] if args.key?(:associated_findings)
3413
- @display_name = args[:display_name] if args.key?(:display_name)
3414
- @resource = args[:resource] if args.key?(:resource)
3415
- @resource_type = args[:resource_type] if args.key?(:resource_type)
3416
- end
3417
- end
3418
-
3419
3408
  # Kubernetes Pod.
3420
3409
  class Pod
3421
3410
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.51.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 = "20230406"
26
26
  end
27
27
  end
28
28
  end
@@ -46,12 +46,6 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class AssociatedFinding
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
49
  class AuditConfig
56
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
51
 
@@ -142,12 +136,6 @@ module Google
142
136
  include Google::Apis::Core::JsonObjectSupport
143
137
  end
144
138
 
145
- class Edge
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
139
  class Empty
152
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
141
 
@@ -232,13 +220,19 @@ module Google
232
220
  include Google::Apis::Core::JsonObjectSupport
233
221
  end
234
222
 
235
- class GoogleCloudSecuritycenterV1ExposedResource
223
+ class GoogleCloudSecuritycenterV1CustomConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
236
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
231
 
238
232
  include Google::Apis::Core::JsonObjectSupport
239
233
  end
240
234
 
241
- class GoogleCloudSecuritycenterV1ExposurePath
235
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
242
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
237
 
244
238
  include Google::Apis::Core::JsonObjectSupport
@@ -262,13 +256,19 @@ module Google
262
256
  include Google::Apis::Core::JsonObjectSupport
263
257
  end
264
258
 
259
+ class GoogleCloudSecuritycenterV1Property
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
265
  class GoogleCloudSecuritycenterV1Resource
266
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
267
 
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
- class GoogleCloudSecuritycenterV1ResourceValueConfig
271
+ class GoogleCloudSecuritycenterV1ResourceSelector
272
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
273
 
274
274
  include Google::Apis::Core::JsonObjectSupport
@@ -280,6 +280,12 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class GoogleCloudSecuritycenterV1beta1Finding
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -454,24 +460,12 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
457
- class OrgPolicyConstraint
458
- class Representation < Google::Apis::Core::JsonRepresentation; end
459
-
460
- include Google::Apis::Core::JsonObjectSupport
461
- end
462
-
463
463
  class OrganizationSettings
464
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
465
 
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
- class PathNode
470
- class Representation < Google::Apis::Core::JsonRepresentation; end
471
-
472
- include Google::Apis::Core::JsonObjectSupport
473
- end
474
-
475
469
  class Pod
476
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
471
 
@@ -639,15 +633,6 @@ module Google
639
633
  end
640
634
  end
641
635
 
642
- class AssociatedFinding
643
- # @private
644
- class Representation < Google::Apis::Core::JsonRepresentation
645
- property :canonical_finding_name, as: 'canonicalFindingName'
646
- property :finding_category, as: 'findingCategory'
647
- property :name, as: 'name'
648
- end
649
- end
650
-
651
636
  class AuditConfig
652
637
  # @private
653
638
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -790,14 +775,6 @@ module Google
790
775
  end
791
776
  end
792
777
 
793
- class Edge
794
- # @private
795
- class Representation < Google::Apis::Core::JsonRepresentation
796
- property :destination, as: 'destination'
797
- property :source, as: 'source'
798
- end
799
- end
800
-
801
778
  class Empty
802
779
  # @private
803
780
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -900,8 +877,6 @@ module Google
900
877
  property :mute_update_time, as: 'muteUpdateTime'
901
878
  property :name, as: 'name'
902
879
  property :next_steps, as: 'nextSteps'
903
- collection :org_policy_constraints, as: 'orgPolicyConstraints', class: Google::Apis::SecuritycenterV1beta1::OrgPolicyConstraint, decorator: Google::Apis::SecuritycenterV1beta1::OrgPolicyConstraint::Representation
904
-
905
880
  property :parent, as: 'parent'
906
881
  property :parent_display_name, as: 'parentDisplayName'
907
882
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta1::Process, decorator: Google::Apis::SecuritycenterV1beta1::Process::Representation
@@ -979,28 +954,37 @@ module Google
979
954
  end
980
955
  end
981
956
 
982
- class GoogleCloudSecuritycenterV1ExposedResource
957
+ class GoogleCloudSecuritycenterV1CustomConfig
983
958
  # @private
984
959
  class Representation < Google::Apis::Core::JsonRepresentation
985
- property :display_name, as: 'displayName'
986
- collection :methods_prop, as: 'methods'
987
- property :name, as: 'name'
988
- property :resource, as: 'resource'
989
- property :resource_type, as: 'resourceType'
990
- property :resource_value, as: 'resourceValue'
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'
991
969
  end
992
970
  end
993
971
 
994
- class GoogleCloudSecuritycenterV1ExposurePath
972
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
995
973
  # @private
996
974
  class Representation < Google::Apis::Core::JsonRepresentation
997
- collection :edges, as: 'edges', class: Google::Apis::SecuritycenterV1beta1::Edge, decorator: Google::Apis::SecuritycenterV1beta1::Edge::Representation
975
+ collection :properties, as: 'properties', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property::Representation
998
976
 
999
- property :exposed_resource, as: 'exposedResource', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExposedResource, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExposedResource::Representation
977
+ end
978
+ end
1000
979
 
1001
- property :name, as: 'name'
1002
- collection :path_nodes, as: 'pathNodes', class: Google::Apis::SecuritycenterV1beta1::PathNode, decorator: Google::Apis::SecuritycenterV1beta1::PathNode::Representation
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
1003
984
 
985
+ property :display_name, as: 'displayName'
986
+ property :enablement_state, as: 'enablementState'
987
+ property :name, as: 'name'
1004
988
  end
1005
989
  end
1006
990
 
@@ -1039,6 +1023,15 @@ module Google
1039
1023
  end
1040
1024
  end
1041
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
+
1042
1035
  class GoogleCloudSecuritycenterV1Resource
1043
1036
  # @private
1044
1037
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1054,18 +1047,10 @@ module Google
1054
1047
  end
1055
1048
  end
1056
1049
 
1057
- class GoogleCloudSecuritycenterV1ResourceValueConfig
1050
+ class GoogleCloudSecuritycenterV1ResourceSelector
1058
1051
  # @private
1059
1052
  class Representation < Google::Apis::Core::JsonRepresentation
1060
- property :create_time, as: 'createTime'
1061
- property :description, as: 'description'
1062
- property :name, as: 'name'
1063
- hash :resource_labels_selector, as: 'resourceLabelsSelector'
1064
- property :resource_type, as: 'resourceType'
1065
- property :resource_value, as: 'resourceValue'
1066
- property :scope, as: 'scope'
1067
- collection :tag_values, as: 'tagValues'
1068
- property :update_time, as: 'updateTime'
1053
+ collection :resource_types, as: 'resourceTypes'
1069
1054
  end
1070
1055
  end
1071
1056
 
@@ -1077,6 +1062,20 @@ module Google
1077
1062
  end
1078
1063
  end
1079
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
+
1080
1079
  class GoogleCloudSecuritycenterV1beta1Finding
1081
1080
  # @private
1082
1081
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1387,13 +1386,6 @@ module Google
1387
1386
  end
1388
1387
  end
1389
1388
 
1390
- class OrgPolicyConstraint
1391
- # @private
1392
- class Representation < Google::Apis::Core::JsonRepresentation
1393
- property :name, as: 'name'
1394
- end
1395
- end
1396
-
1397
1389
  class OrganizationSettings
1398
1390
  # @private
1399
1391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1404,17 +1396,6 @@ module Google
1404
1396
  end
1405
1397
  end
1406
1398
 
1407
- class PathNode
1408
- # @private
1409
- class Representation < Google::Apis::Core::JsonRepresentation
1410
- collection :associated_findings, as: 'associatedFindings', class: Google::Apis::SecuritycenterV1beta1::AssociatedFinding, decorator: Google::Apis::SecuritycenterV1beta1::AssociatedFinding::Representation
1411
-
1412
- property :display_name, as: 'displayName'
1413
- property :resource, as: 'resource'
1414
- property :resource_type, as: 'resourceType'
1415
- end
1416
- end
1417
-
1418
1399
  class Pod
1419
1400
  # @private
1420
1401
  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.49.0
4
+ version: 0.51.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-16 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.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.51.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: []