Skip to content

Commit b20e444

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add OpenAPI documentation for list and get indicators of compromise endpoints (#3232)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent dca489d commit b20e444

31 files changed

Lines changed: 2800 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 423 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-14T18:22:17.027Z

cassettes/features/v2/security_monitoring/Get-an-indicator-of-compromise-returns-Not-Found-response.yml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-14T18:22:29.733Z

cassettes/features/v2/security_monitoring/Get-an-indicator-of-compromise-returns-OK-response.yml

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-14T18:22:40.711Z

cassettes/features/v2/security_monitoring/List-indicators-of-compromise-returns-Bad-Request-response.yml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-14T18:22:48.392Z

cassettes/features/v2/security_monitoring/List-indicators-of-compromise-returns-OK-response.yml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Get an indicator of compromise returns "OK" response
2+
3+
require "datadog_api_client"
4+
DatadogAPIClient.configure do |config|
5+
config.unstable_operations["v2.get_indicator_of_compromise".to_sym] = true
6+
end
7+
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
8+
p api_instance.get_indicator_of_compromise("masscan/1.3 (https://github.com/robertdavidgraham/masscan)")

0 commit comments

Comments
 (0)