google-apis-securitycenter_v1 0.70.0 → 0.71.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: 28e37721ca086b75ab237189a99ebe07079847f079e835825bd9993a7670ff36
4
- data.tar.gz: 3ca70ac499abd223d4821f44f956ca961fc9cef47a52614b14cfdcb048c4ad17
3
+ metadata.gz: b5b319bfc7956d0df0fc445db5733cec2900267e88ac16d05215c8cfa72db6e3
4
+ data.tar.gz: 0e1fc7f896210e44ba8bbbb1edb25efd447b0fd13f873da5467538101cb3ff32
5
5
  SHA512:
6
- metadata.gz: 5f3ff5dbf2b672b56a488595918ace4194fd37912c24bd2f686cfff04754cbeeb4a9b7369b4a73b0cd6f52e3d144729059e1e0ec3c0bc0481538eb922dc685a4
7
- data.tar.gz: df4349a746e938ff8431dd89b43f2fec13180e8b13633561bec388e549048fb35eab8ed05cc7cc9ea4809eb222052da13920a34cdc955fd5ad588fe896105a19
6
+ metadata.gz: 514ba4f2fb42f8f91c1442bd56ecc4c763f939c633985b6b3a71bc9a89665eccf8212c608abf85d103059547984bd1b6a3467118e581f09e570096259441f332
7
+ data.tar.gz: 85ae41137756f2a24c0561d22604bc84e02b764bd6db4ebfec7a19fc6c0b73a6ae6dbda236b44f673af5f0e6392d16a24493cbdb07a16182b441fd3d89a37655
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.71.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231208
6
+
3
7
  ### v0.70.0 (2023-12-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20231128
@@ -1480,6 +1480,68 @@ module Google
1480
1480
  end
1481
1481
  end
1482
1482
 
1483
+ # An EffectiveEventThreatDetectionCustomModule is the representation of an Event
1484
+ # Threat Detection custom module at a specified level of the resource hierarchy:
1485
+ # organization, folder, or project. If a custom module is inherited from a
1486
+ # parent organization or folder, the value of the `enablement_state` property in
1487
+ # EffectiveEventThreatDetectionCustomModule is set to the value that is
1488
+ # effective in the parent, instead of `INHERITED`. For example, if the module is
1489
+ # enabled in a parent organization or folder, the effective `enablement_state`
1490
+ # for the module in all child folders or projects is also `enabled`.
1491
+ # EffectiveEventThreatDetectionCustomModule is read-only.
1492
+ class EffectiveEventThreatDetectionCustomModule
1493
+ include Google::Apis::Core::Hashable
1494
+
1495
+ # Output only. Config for the effective module.
1496
+ # Corresponds to the JSON property `config`
1497
+ # @return [Hash<String,Object>]
1498
+ attr_accessor :config
1499
+
1500
+ # Output only. The description for the module.
1501
+ # Corresponds to the JSON property `description`
1502
+ # @return [String]
1503
+ attr_accessor :description
1504
+
1505
+ # Output only. The human readable name to be displayed for the module.
1506
+ # Corresponds to the JSON property `displayName`
1507
+ # @return [String]
1508
+ attr_accessor :display_name
1509
+
1510
+ # Output only. The effective state of enablement for the module at the given
1511
+ # level of the hierarchy.
1512
+ # Corresponds to the JSON property `enablementState`
1513
+ # @return [String]
1514
+ attr_accessor :enablement_state
1515
+
1516
+ # Output only. The resource name of the effective ETD custom module. Its format
1517
+ # is: * "organizations/`organization`/eventThreatDetectionSettings/
1518
+ # effectiveCustomModules/`module`". * "folders/`folder`/
1519
+ # eventThreatDetectionSettings/effectiveCustomModules/`module`". * "projects/`
1520
+ # project`/eventThreatDetectionSettings/effectiveCustomModules/`module`".
1521
+ # Corresponds to the JSON property `name`
1522
+ # @return [String]
1523
+ attr_accessor :name
1524
+
1525
+ # Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.
1526
+ # Corresponds to the JSON property `type`
1527
+ # @return [String]
1528
+ attr_accessor :type
1529
+
1530
+ def initialize(**args)
1531
+ update!(**args)
1532
+ end
1533
+
1534
+ # Update properties of this object
1535
+ def update!(**args)
1536
+ @config = args[:config] if args.key?(:config)
1537
+ @description = args[:description] if args.key?(:description)
1538
+ @display_name = args[:display_name] if args.key?(:display_name)
1539
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
1540
+ @name = args[:name] if args.key?(:name)
1541
+ @type = args[:type] if args.key?(:type)
1542
+ end
1543
+ end
1544
+
1483
1545
  # A generic empty message that you can re-use to avoid defining duplicated empty
1484
1546
  # messages in your APIs. A typical example is to use it as the request or the
1485
1547
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1524,10 +1586,19 @@ module Google
1524
1586
 
1525
1587
  # Represents an instance of an Event Threat Detection custom module, including
1526
1588
  # its full module name, display name, enablement state, and last updated time.
1527
- # You can create a custom module at the organization level only.
1589
+ # You can create a custom module at the organization, folder, or project level.
1590
+ # Custom modules that you create at the organization or folder level are
1591
+ # inherited by child folders and projects.
1528
1592
  class EventThreatDetectionCustomModule
1529
1593
  include Google::Apis::Core::Hashable
1530
1594
 
1595
+ # Output only. The closest ancestor module that this module inherits the
1596
+ # enablement state from. The format is the same as the
1597
+ # EventThreatDetectionCustomModule resource name.
1598
+ # Corresponds to the JSON property `ancestorModule`
1599
+ # @return [String]
1600
+ attr_accessor :ancestor_module
1601
+
1531
1602
  # Config for the module. For the resident module, its config value is defined at
1532
1603
  # this level. For the inherited module, its config value is inherited from the
1533
1604
  # ancestor module.
@@ -1580,6 +1651,7 @@ module Google
1580
1651
 
1581
1652
  # Update properties of this object
1582
1653
  def update!(**args)
1654
+ @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
1583
1655
  @config = args[:config] if args.key?(:config)
1584
1656
  @description = args[:description] if args.key?(:description)
1585
1657
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -6621,6 +6693,33 @@ module Google
6621
6693
  end
6622
6694
  end
6623
6695
 
6696
+ # Response for listing current and descendant resident Event Threat Detection
6697
+ # custom modules.
6698
+ class ListDescendantEventThreatDetectionCustomModulesResponse
6699
+ include Google::Apis::Core::Hashable
6700
+
6701
+ # Custom modules belonging to the requested parent.
6702
+ # Corresponds to the JSON property `eventThreatDetectionCustomModules`
6703
+ # @return [Array<Google::Apis::SecuritycenterV1::EventThreatDetectionCustomModule>]
6704
+ attr_accessor :event_threat_detection_custom_modules
6705
+
6706
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
6707
+ # field is omitted, there are no subsequent pages.
6708
+ # Corresponds to the JSON property `nextPageToken`
6709
+ # @return [String]
6710
+ attr_accessor :next_page_token
6711
+
6712
+ def initialize(**args)
6713
+ update!(**args)
6714
+ end
6715
+
6716
+ # Update properties of this object
6717
+ def update!(**args)
6718
+ @event_threat_detection_custom_modules = args[:event_threat_detection_custom_modules] if args.key?(:event_threat_detection_custom_modules)
6719
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6720
+ end
6721
+ end
6722
+
6624
6723
  # Response message for listing descendant Security Health Analytics custom
6625
6724
  # modules.
6626
6725
  class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
@@ -6647,6 +6746,32 @@ module Google
6647
6746
  end
6648
6747
  end
6649
6748
 
6749
+ # Response for listing EffectiveEventThreatDetectionCustomModules.
6750
+ class ListEffectiveEventThreatDetectionCustomModulesResponse
6751
+ include Google::Apis::Core::Hashable
6752
+
6753
+ # Effective custom modules belonging to the requested parent.
6754
+ # Corresponds to the JSON property `effectiveEventThreatDetectionCustomModules`
6755
+ # @return [Array<Google::Apis::SecuritycenterV1::EffectiveEventThreatDetectionCustomModule>]
6756
+ attr_accessor :effective_event_threat_detection_custom_modules
6757
+
6758
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
6759
+ # field is omitted, there are no subsequent pages.
6760
+ # Corresponds to the JSON property `nextPageToken`
6761
+ # @return [String]
6762
+ attr_accessor :next_page_token
6763
+
6764
+ def initialize(**args)
6765
+ update!(**args)
6766
+ end
6767
+
6768
+ # Update properties of this object
6769
+ def update!(**args)
6770
+ @effective_event_threat_detection_custom_modules = args[:effective_event_threat_detection_custom_modules] if args.key?(:effective_event_threat_detection_custom_modules)
6771
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6772
+ end
6773
+ end
6774
+
6650
6775
  # Response message for listing effective Security Health Analytics custom
6651
6776
  # modules.
6652
6777
  class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
@@ -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.70.0"
19
+ GEM_VERSION = "0.71.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 = "20231128"
25
+ REVISION = "20231208"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,12 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class EffectiveEventThreatDetectionCustomModule
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
223
229
  class Empty
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
@@ -844,12 +850,24 @@ module Google
844
850
  include Google::Apis::Core::JsonObjectSupport
845
851
  end
846
852
 
853
+ class ListDescendantEventThreatDetectionCustomModulesResponse
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
847
859
  class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
848
860
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
861
 
850
862
  include Google::Apis::Core::JsonObjectSupport
851
863
  end
852
864
 
865
+ class ListEffectiveEventThreatDetectionCustomModulesResponse
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
853
871
  class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
854
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
873
 
@@ -1541,6 +1559,18 @@ module Google
1541
1559
  end
1542
1560
  end
1543
1561
 
1562
+ class EffectiveEventThreatDetectionCustomModule
1563
+ # @private
1564
+ class Representation < Google::Apis::Core::JsonRepresentation
1565
+ hash :config, as: 'config'
1566
+ property :description, as: 'description'
1567
+ property :display_name, as: 'displayName'
1568
+ property :enablement_state, as: 'enablementState'
1569
+ property :name, as: 'name'
1570
+ property :type, as: 'type'
1571
+ end
1572
+ end
1573
+
1544
1574
  class Empty
1545
1575
  # @private
1546
1576
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1558,6 +1588,7 @@ module Google
1558
1588
  class EventThreatDetectionCustomModule
1559
1589
  # @private
1560
1590
  class Representation < Google::Apis::Core::JsonRepresentation
1591
+ property :ancestor_module, as: 'ancestorModule'
1561
1592
  hash :config, as: 'config'
1562
1593
  property :description, as: 'description'
1563
1594
  property :display_name, as: 'displayName'
@@ -2772,6 +2803,15 @@ module Google
2772
2803
  end
2773
2804
  end
2774
2805
 
2806
+ class ListDescendantEventThreatDetectionCustomModulesResponse
2807
+ # @private
2808
+ class Representation < Google::Apis::Core::JsonRepresentation
2809
+ collection :event_threat_detection_custom_modules, as: 'eventThreatDetectionCustomModules', class: Google::Apis::SecuritycenterV1::EventThreatDetectionCustomModule, decorator: Google::Apis::SecuritycenterV1::EventThreatDetectionCustomModule::Representation
2810
+
2811
+ property :next_page_token, as: 'nextPageToken'
2812
+ end
2813
+ end
2814
+
2775
2815
  class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
2776
2816
  # @private
2777
2817
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2781,6 +2821,15 @@ module Google
2781
2821
  end
2782
2822
  end
2783
2823
 
2824
+ class ListEffectiveEventThreatDetectionCustomModulesResponse
2825
+ # @private
2826
+ class Representation < Google::Apis::Core::JsonRepresentation
2827
+ collection :effective_event_threat_detection_custom_modules, as: 'effectiveEventThreatDetectionCustomModules', class: Google::Apis::SecuritycenterV1::EffectiveEventThreatDetectionCustomModule, decorator: Google::Apis::SecuritycenterV1::EffectiveEventThreatDetectionCustomModule::Representation
2828
+
2829
+ property :next_page_token, as: 'nextPageToken'
2830
+ end
2831
+ end
2832
+
2784
2833
  class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
2785
2834
  # @private
2786
2835
  class Representation < Google::Apis::Core::JsonRepresentation