Sha256: 56e9b88a4941c653c783e406e746e4adacf18bdcaaca3c8ab31911476cb8d594

Contents?: true

Size: 608 Bytes

Versions: 31

Compression:

Stored size: 608 Bytes

Contents

# Change the related incidents of a security signal returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new

body = DatadogAPIClient::V2::SecurityMonitoringSignalIncidentsUpdateRequest.new({
  data: DatadogAPIClient::V2::SecurityMonitoringSignalIncidentsUpdateData.new({
    attributes: DatadogAPIClient::V2::SecurityMonitoringSignalIncidentsUpdateAttributes.new({
      incident_ids: [
        2066,
      ],
    }),
  }),
})
p api_instance.edit_security_monitoring_signal_incidents("AQAAAYG1bl5K4HuUewAAAABBWUcxYmw1S0FBQmt2RmhRN0V4ZUVnQUE", body)

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
datadog_api_client-2.8.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.7.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.6.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.5.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.4.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.3.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.2.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.1.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.0.2 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.0.1 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
datadog_api_client-2.0.0 examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb