Sha256: e4391ed51bf164b49043e330eb4cba41c0a4bff36f6930b739164cfb1d953a44
Contents?: true
Size: 712 Bytes
Versions: 29
Compression:
Stored size: 712 Bytes
Contents
# Get a list of security signals returns "OK" response with pagination require "datadog_api_client" api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new body = DatadogAPIClient::V2::SecurityMonitoringSignalListRequest.new({ filter: DatadogAPIClient::V2::SecurityMonitoringSignalListRequestFilter.new({ from: (Time.now + -15 * 60), query: "security:attack status:high", to: Time.now, }), page: DatadogAPIClient::V2::SecurityMonitoringSignalListRequestPage.new({ limit: 2, }), sort: DatadogAPIClient::V2::SecurityMonitoringSignalsSort::TIMESTAMP_ASCENDING, }) opts = { body: body, } api_instance.search_security_monitoring_signals_with_pagination(opts) { |item| puts item }
Version data entries
29 entries across 29 versions & 1 rubygems