Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
389 changes: 319 additions & 70 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

19 changes: 10 additions & 9 deletions lib/datadog_api_client/v2/api/security_monitoring_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ def activate_content_pack(content_pack_id, opts = {})

# Activate content pack.
#
# Activate a Cloud SIEM content pack. This operation configures the necessary
# Activate a security monitoring content pack. This operation configures the necessary
# log filters or security filters depending on the pricing model and updates the content
# pack activation state.
#
# @param content_pack_id [String] The ID of the content pack to activate (for example, `aws-cloudtrail`).
# @param content_pack_id [String] The ID of the content pack to activate.
# @param opts [Hash] the optional parameters
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def activate_content_pack_with_http_info(content_pack_id, opts = {})
Expand Down Expand Up @@ -76,7 +76,7 @@ def activate_content_pack_with_http_info(content_pack_id, opts = {})
return_type = opts[:debug_return_type]

# auth_names
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]

new_options = opts.merge(
:operation => :activate_content_pack,
Expand Down Expand Up @@ -1587,10 +1587,10 @@ def deactivate_content_pack(content_pack_id, opts = {})

# Deactivate content pack.
#
# Deactivate a Cloud SIEM content pack. This operation removes the content pack's
# Deactivate a security monitoring content pack. This operation removes the content pack's
# configuration from log filters or security filters and updates the content pack activation state.
#
# @param content_pack_id [String] The ID of the content pack to deactivate (for example, `aws-cloudtrail`).
# @param content_pack_id [String] The ID of the content pack to deactivate.
# @param opts [Hash] the optional parameters
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def deactivate_content_pack_with_http_info(content_pack_id, opts = {})
Expand Down Expand Up @@ -1629,7 +1629,7 @@ def deactivate_content_pack_with_http_info(content_pack_id, opts = {})
return_type = opts[:debug_return_type]

# auth_names
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]

new_options = opts.merge(
:operation => :deactivate_content_pack,
Expand Down Expand Up @@ -2629,8 +2629,9 @@ def get_content_packs_states(opts = {})

# Get content pack states.
#
# Get the activation state, integration status, and log collection status
# for all Cloud SIEM content packs.
# Get the activation and configuration states for all security monitoring content packs.
# This endpoint returns status information about each content pack including activation state,
# integration status, and log collection status.
#
# @param opts [Hash] the optional parameters
# @return [Array<(SecurityMonitoringContentPackStatesResponse, Integer, Hash)>] SecurityMonitoringContentPackStatesResponse data, response status code and response headers
Expand Down Expand Up @@ -2666,7 +2667,7 @@ def get_content_packs_states_with_http_info(opts = {})
return_type = opts[:debug_return_type] || 'SecurityMonitoringContentPackStatesResponse'

# auth_names
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]

new_options = opts.merge(
:operation => :get_content_packs_states,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
# The activation status of a content pack.
# The activation status of a content pack
class SecurityMonitoringContentPackActivation
include BaseEnumModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
# The installation status of the related integration.
# The installation status of the related integration
class SecurityMonitoringContentPackIntegrationStatus
include BaseEnumModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,22 @@ class SecurityMonitoringContentPackStateAttributes
# Whether the cloud SIEM index configuration is incorrect (only applies to certain pricing models)
attr_reader :cloud_siem_index_incorrect

# The activation status of a content pack.
# The activation status of a content pack
attr_reader :cp_activation

# Whether filters (Security Filters or Index Query depending on the pricing model) are
# present and correctly configured to route logs into Cloud SIEM.
# Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
attr_reader :filters_configured_for_logs

# The installation status of the related integration.
# The installation status of the related integration
attr_accessor :integration_installed_status

# Timestamp bucket indicating when logs were last collected.
# Timestamp bucket indicating when logs were last collected
attr_reader :logs_last_collected

# Whether logs for this content pack have been seen in any Datadog index within the last 72 hours.
# Whether logs have been seen from any index
attr_reader :logs_seen_from_any_index

# The current operational status of a content pack.
# The current status of a content pack
attr_reader :state

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SecurityMonitoringContentPackStateMeta
# Whether the cloud SIEM index configuration is incorrect at the organization level
attr_reader :cloud_siem_index_incorrect

# The Cloud SIEM pricing model (SKU) for the organization.
# The SIEM pricing model (SKU) for the organization
attr_reader :sku

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
# The current operational status of a content pack.
# The current status of a content pack
class SecurityMonitoringContentPackStatus
include BaseEnumModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
# Timestamp bucket indicating when logs were last collected.
# Timestamp bucket indicating when logs were last collected
class SecurityMonitoringContentPackTimestampBucket
include BaseEnumModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
# The Cloud SIEM pricing model (SKU) for the organization.
# The SIEM pricing model (SKU) for the organization
class SecurityMonitoringSKU
include BaseEnumModel

Expand Down
Loading