Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52651,6 +52651,9 @@ components:
modifiedAt:
description: Last modification time of the job.
type: string
signalOutput:
description: Whether the job outputs signals.
type: boolean
type: object
ThreatHuntingJobResponseData:
description: Threat hunting job response data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
ThreatHuntingJobResponseAttributes.JSON_PROPERTY_JOB_DEFINITION,
ThreatHuntingJobResponseAttributes.JSON_PROPERTY_JOB_NAME,
ThreatHuntingJobResponseAttributes.JSON_PROPERTY_JOB_STATUS,
ThreatHuntingJobResponseAttributes.JSON_PROPERTY_MODIFIED_AT
ThreatHuntingJobResponseAttributes.JSON_PROPERTY_MODIFIED_AT,
ThreatHuntingJobResponseAttributes.JSON_PROPERTY_SIGNAL_OUTPUT
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand Down Expand Up @@ -55,6 +56,9 @@ public class ThreatHuntingJobResponseAttributes {
public static final String JSON_PROPERTY_MODIFIED_AT = "modifiedAt";
private String modifiedAt;

public static final String JSON_PROPERTY_SIGNAL_OUTPUT = "signalOutput";
private Boolean signalOutput;

public ThreatHuntingJobResponseAttributes createdAt(String createdAt) {
this.createdAt = createdAt;
return this;
Expand Down Expand Up @@ -224,6 +228,27 @@ public void setModifiedAt(String modifiedAt) {
this.modifiedAt = modifiedAt;
}

public ThreatHuntingJobResponseAttributes signalOutput(Boolean signalOutput) {
this.signalOutput = signalOutput;
return this;
}

/**
* Whether the job outputs signals.
*
* @return signalOutput
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SIGNAL_OUTPUT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getSignalOutput() {
return signalOutput;
}

public void setSignalOutput(Boolean signalOutput) {
this.signalOutput = signalOutput;
}

/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
Expand Down Expand Up @@ -290,6 +315,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.jobName, threatHuntingJobResponseAttributes.jobName)
&& Objects.equals(this.jobStatus, threatHuntingJobResponseAttributes.jobStatus)
&& Objects.equals(this.modifiedAt, threatHuntingJobResponseAttributes.modifiedAt)
&& Objects.equals(this.signalOutput, threatHuntingJobResponseAttributes.signalOutput)
&& Objects.equals(
this.additionalProperties, threatHuntingJobResponseAttributes.additionalProperties);
}
Expand All @@ -305,6 +331,7 @@ public int hashCode() {
jobName,
jobStatus,
modifiedAt,
signalOutput,
additionalProperties);
}

Expand All @@ -320,6 +347,7 @@ public String toString() {
sb.append(" jobName: ").append(toIndentedString(jobName)).append("\n");
sb.append(" jobStatus: ").append(toIndentedString(jobStatus)).append("\n");
sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n");
sb.append(" signalOutput: ").append(toIndentedString(signalOutput)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-10-24T14:24:01.707Z
2025-11-11T21:36:52.314Z
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"071b3516-4072-44d9-9288-d4adaa1db921\",\"type\":\"historicalDetectionsJob\"}}",
"body": "{\"data\":{\"id\":\"66896986-212c-4e6c-9890-14e5cfd0fc19\",\"type\":\"historicalDetectionsJob\"}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -33,12 +33,12 @@
"httpRequest": {
"headers": {},
"method": "GET",
"path": "/api/v2/siem-threat-hunting/jobs/071b3516-4072-44d9-9288-d4adaa1db921",
"path": "/api/v2/siem-threat-hunting/jobs/66896986-212c-4e6c-9890-14e5cfd0fc19",
"keepAlive": false,
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"071b3516-4072-44d9-9288-d4adaa1db921\",\"type\":\"historicalDetectionsJob\",\"attributes\":{\"createdAt\":\"2025-10-24 14:24:02.057923+00\",\"createdByHandle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"createdByName\":\"CI Account\",\"jobDefinition\":{\"from\":1730387522611,\"to\":1730387532611,\"index\":\"main\",\"name\":\"Excessive number of failed attempts.\",\"cases\":[{\"name\":\"Condition 1\",\"status\":\"info\",\"notifications\":[],\"condition\":\"a \\u003e 1\"}],\"queries\":[{\"query\":\"source:non_existing_src_weekend\",\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"distinctFields\":[],\"aggregation\":\"count\",\"name\":\"\",\"dataSource\":\"logs\"}],\"options\":{\"evaluationWindow\":900,\"detectionMethod\":\"threshold\",\"maxSignalDuration\":86400,\"keepAlive\":3600},\"message\":\"A large number of failed login attempts.\",\"tags\":[],\"type\":\"log_detection\"},\"jobName\":\"Excessive number of failed attempts.\",\"jobStatus\":\"pending\",\"modifiedAt\":\"2025-10-24 14:24:02.057923+00\"}}}",
"body": "{\"data\":{\"id\":\"66896986-212c-4e6c-9890-14e5cfd0fc19\",\"type\":\"historicalDetectionsJob\",\"attributes\":{\"createdAt\":\"2025-11-11 21:36:52.581297+00\",\"createdByHandle\":\"frog@datadoghq.com\",\"createdByName\":\"frog\",\"jobDefinition\":{\"from\":1730387522611,\"to\":1730387532611,\"index\":\"main\",\"name\":\"Excessive number of failed attempts.\",\"cases\":[{\"name\":\"Condition 1\",\"status\":\"info\",\"notifications\":[],\"condition\":\"a \\u003e 1\"}],\"queries\":[{\"query\":\"source:non_existing_src_weekend\",\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"distinctFields\":[],\"aggregation\":\"count\",\"name\":\"\",\"dataSource\":\"logs\"}],\"options\":{\"evaluationWindow\":900,\"detectionMethod\":\"threshold\",\"maxSignalDuration\":86400,\"keepAlive\":3600},\"message\":\"A large number of failed login attempts.\",\"tags\":[],\"type\":\"log_detection\"},\"jobName\":\"Excessive number of failed attempts.\",\"jobStatus\":\"pending\",\"modifiedAt\":\"2025-11-11 21:36:52.581297+00\",\"signalOutput\":false}}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -53,6 +53,6 @@
"timeToLive": {
"unlimited": true
},
"id": "08901fdd-0425-df60-dbde-e039f0e4a4dc"
"id": "288fd23d-8d2d-2972-e670-accb59b90273"
}
]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-10-24T14:24:02.188Z
2025-11-11T21:36:57.169Z
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"e935c6c8-ba76-4ebf-8770-bb772a5ec1ed\",\"type\":\"historicalDetectionsJob\"}}",
"body": "{\"data\":{\"id\":\"c3564eed-ff70-43e1-ab6f-593de95bd21f\",\"type\":\"historicalDetectionsJob\"}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -36,14 +36,14 @@
"path": "/api/v2/siem-threat-hunting/jobs",
"queryStringParameters": {
"filter[query]": [
"id:e935c6c8-ba76-4ebf-8770-bb772a5ec1ed"
"id:c3564eed-ff70-43e1-ab6f-593de95bd21f"
]
},
"keepAlive": false,
"secure": true
},
"httpResponse": {
"body": "{\"data\":[{\"id\":\"e935c6c8-ba76-4ebf-8770-bb772a5ec1ed\",\"type\":\"historicalDetectionsJob\",\"attributes\":{\"createdAt\":\"2025-10-24 14:24:02.256887+00\",\"createdByHandle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"createdByName\":\"CI Account\",\"jobDefinition\":{\"from\":1730387522611,\"to\":1730387532611,\"index\":\"main\",\"name\":\"Excessive number of failed attempts.\",\"cases\":[{\"name\":\"Condition 1\",\"status\":\"info\",\"notifications\":[],\"condition\":\"a \\u003e 1\"}],\"queries\":[{\"query\":\"source:non_existing_src_weekend\",\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"distinctFields\":[],\"aggregation\":\"count\",\"name\":\"\",\"dataSource\":\"logs\"}],\"options\":{\"evaluationWindow\":900,\"detectionMethod\":\"threshold\",\"maxSignalDuration\":86400,\"keepAlive\":3600},\"message\":\"A large number of failed login attempts.\",\"tags\":[],\"type\":\"log_detection\"},\"jobName\":\"Excessive number of failed attempts.\",\"jobStatus\":\"pending\",\"modifiedAt\":\"2025-10-24 14:24:02.256887+00\"}}],\"meta\":{\"totalCount\":1}}",
"body": "{\"data\":[{\"id\":\"c3564eed-ff70-43e1-ab6f-593de95bd21f\",\"type\":\"historicalDetectionsJob\",\"attributes\":{\"createdAt\":\"2025-11-11 21:36:57.303304+00\",\"createdByHandle\":\"frog@datadoghq.com\",\"createdByName\":\"frog\",\"jobDefinition\":{\"from\":1730387522611,\"to\":1730387532611,\"index\":\"main\",\"name\":\"Excessive number of failed attempts.\",\"cases\":[{\"name\":\"Condition 1\",\"status\":\"info\",\"notifications\":[],\"condition\":\"a \\u003e 1\"}],\"queries\":[{\"query\":\"source:non_existing_src_weekend\",\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"distinctFields\":[],\"aggregation\":\"count\",\"name\":\"\",\"dataSource\":\"logs\"}],\"options\":{\"evaluationWindow\":900,\"detectionMethod\":\"threshold\",\"maxSignalDuration\":86400,\"keepAlive\":3600},\"message\":\"A large number of failed login attempts.\",\"tags\":[],\"type\":\"log_detection\"},\"jobName\":\"Excessive number of failed attempts.\",\"jobStatus\":\"pending\",\"modifiedAt\":\"2025-11-11 21:36:57.303304+00\",\"signalOutput\":false}}],\"meta\":{\"totalCount\":1}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -58,6 +58,6 @@
"timeToLive": {
"unlimited": true
},
"id": "4f7ef994-a9ff-2d13-c407-4a6f863a4781"
"id": "090b338f-d46d-e262-2121-9c7100f90835"
}
]
Loading