Skip to content

Commit e1c6c82

Browse files
[backend] feat: update request webservice (#3668) (#4324)
1 parent 35befa4 commit e1c6c82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openaev-api/src/main/java/io/openaev/service/detection_remediation/DetectionRemediationRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,21 @@
1313
import org.springframework.http.HttpStatus;
1414
import org.springframework.web.server.ResponseStatusException;
1515

16-
@Getter
1716
public class DetectionRemediationRequest {
1817
private final String TYPE_NOT_IMPLEMENTED_ERROR =
1918
"AI Webservice for FileDrop or Executable File not implemented";
2019
private final String[] TYPE_NOT_IMPLEMENTED = {
2120
FileDrop.FILE_DROP_TYPE, Executable.EXECUTABLE_TYPE
2221
};
2322

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

2929
@Setter
30+
@Getter
3031
@Schema(description = "Client Id and timestamps use to monitored AI usage from webservice")
3132
@JsonProperty("session_id")
3233
private String sessionId;

0 commit comments

Comments
 (0)