Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,21 @@
import org.springframework.http.HttpStatus;
import org.springframework.web.server.ResponseStatusException;

@Getter
public class DetectionRemediationRequest {
private final String TYPE_NOT_IMPLEMENTED_ERROR =
"AI Webservice for FileDrop or Executable File not implemented";
private final String[] TYPE_NOT_IMPLEMENTED = {
FileDrop.FILE_DROP_TYPE, Executable.EXECUTABLE_TYPE
};

@Getter
@Schema(
description =
"Concatenated payload string containing: Name, Type, optional Hostname/Command details, Description, Platform, Attack patterns, Architecture, Arguments")
private String payload;

@Setter
@Getter
@Schema(description = "Client Id and timestamps use to monitored AI usage from webservice")
@JsonProperty("session_id")
private String sessionId;
Expand Down