Sha256: 67337fc1edbbb78cd7079e1e566ed1685e65ab3942c6f8207e72b1d25413d6b4
Contents?: true
Size: 909 Bytes
Versions: 2
Compression:
Stored size: 909 Bytes
Contents
# Get a list of security signals returns "OK" response require "datadog_api_client" DatadogAPIClient::V2.configure do |config| config.unstable_operations[:search_security_monitoring_signals] = true end api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new body = DatadogAPIClient::V2::SecurityMonitoringSignalListRequest.new({ filter: DatadogAPIClient::V2::SecurityMonitoringSignalListRequestFilter.new({ from: "2019-01-02T09:42:36.320Z", query: "security:attack status:high", to: "2019-01-03T09:42:36.320Z", }), page: DatadogAPIClient::V2::SecurityMonitoringSignalListRequestPage.new({ cursor: "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==", limit: 25, }), sort: DatadogAPIClient::V2::SecurityMonitoringSignalsSort::TIMESTAMP_ASCENDING, }) opts = { body: body, } p api_instance.search_security_monitoring_signals(opts)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.10.0 | examples/v2/security-monitoring/SearchSecurityMonitoringSignals.rb |
datadog_api_client-1.9.0 | examples/v2/security-monitoring/SearchSecurityMonitoringSignals.rb |