@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ThreatIntelligenceApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ThreatIntelligenceApi.AddSTIXThreatIntelOptionalParameters
Manage optional parameters to addSTIXThreatIntel.
|
| Constructor and Description |
|---|
ThreatIntelligenceApi() |
ThreatIntelligenceApi(ApiClient apiClient) |
public ThreatIntelligenceApi()
public ThreatIntelligenceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic STIXIngestResponse addSTIXThreatIntel(String tiVendor, STIXBundleRequest body) throws ApiException
tiVendor - Vendor identifier for the feed. The value must not exceed 10 characters.
Datadog normalizes the accepted value to lowercase, converts non-alphanumeric characters to
underscores, and trims leading and trailing underscores. (required)body - A STIX 2.1 bundle containing indicator objects. The request body must not exceed 50
MB as received or 100 MB after decompression. (required)ApiException - if fails to make API callpublic CompletableFuture<STIXIngestResponse> addSTIXThreatIntelAsync(String tiVendor, STIXBundleRequest body)
tiVendor - Vendor identifier for the feed. The value must not exceed 10 characters.
Datadog normalizes the accepted value to lowercase, converts non-alphanumeric characters to
underscores, and trims leading and trailing underscores. (required)body - A STIX 2.1 bundle containing indicator objects. The request body must not exceed 50
MB as received or 100 MB after decompression. (required)public STIXIngestResponse addSTIXThreatIntel(String tiVendor, STIXBundleRequest body, ThreatIntelligenceApi.AddSTIXThreatIntelOptionalParameters parameters) throws ApiException
tiVendor - Vendor identifier for the feed. The value must not exceed 10 characters.
Datadog normalizes the accepted value to lowercase, converts non-alphanumeric characters to
underscores, and trims leading and trailing underscores. (required)body - A STIX 2.1 bundle containing indicator objects. The request body must not exceed 50
MB as received or 100 MB after decompression. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<STIXIngestResponse> addSTIXThreatIntelAsync(String tiVendor, STIXBundleRequest body, ThreatIntelligenceApi.AddSTIXThreatIntelOptionalParameters parameters)
tiVendor - Vendor identifier for the feed. The value must not exceed 10 characters.
Datadog normalizes the accepted value to lowercase, converts non-alphanumeric characters to
underscores, and trims leading and trailing underscores. (required)body - A STIX 2.1 bundle containing indicator objects. The request body must not exceed 50
MB as received or 100 MB after decompression. (required)parameters - Optional parameters for the request.public ApiResponse<STIXIngestResponse> addSTIXThreatIntelWithHttpInfo(String tiVendor, STIXBundleRequest body, ThreatIntelligenceApi.AddSTIXThreatIntelOptionalParameters parameters) throws ApiException
Non-indicator objects are ignored and are not included in the response counters. Indicator
objects with unsupported STIX versions or patterns that produce no supported observable values
increment the unsupported counter. Patterns that cannot be parsed increment the
invalid counter. Processing is best effort, so valid supported indicators in the
same bundle are still added.
A successful response means ingestion has completed. Reference-table materialization and enrichment happen asynchronously. Requests are limited to 50 MB as received, 100 MB after decompression, and 10 requests per second per API key. Gzip-compressed request bodies are supported.
tiVendor - Vendor identifier for the feed. The value must not exceed 10 characters.
Datadog normalizes the accepted value to lowercase, converts non-alphanumeric characters to
underscores, and trims leading and trailing underscores. (required)body - A STIX 2.1 bundle containing indicator objects. The request body must not exceed 50
MB as received or 100 MB after decompression. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 413 | The request body exceeds 50 MB as received or 100 MB after decompression. | - |
| 429 | Too many requests | - |
| 502 | The STIX ingestion service returned an error while processing the request. | - |
| 503 | The STIX ingestion service is temporarily unavailable. | - |
public CompletableFuture<ApiResponse<STIXIngestResponse>> addSTIXThreatIntelWithHttpInfoAsync(String tiVendor, STIXBundleRequest body, ThreatIntelligenceApi.AddSTIXThreatIntelOptionalParameters parameters)
tiVendor - Vendor identifier for the feed. The value must not exceed 10 characters.
Datadog normalizes the accepted value to lowercase, converts non-alphanumeric characters to
underscores, and trims leading and trailing underscores. (required)body - A STIX 2.1 bundle containing indicator objects. The request body must not exceed 50
MB as received or 100 MB after decompression. (required)parameters - Optional parameters for the request.Copyright © 2026. All rights reserved.