da-autocompliance-dev / src /main /java /com /dalab /autocompliance /dto /ControlEvaluationRequestDTO.java
Ajay Yadav
Initial deployment of da-autocompliance-dev
688925d
raw
history blame
1.1 kB
package com.dalab.autocompliance.dto;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import jakarta.validation.constraints.NotEmpty;
import java.util.List;
import java.util.Map;
/**
* DTO for requesting the evaluation of a specific compliance control.
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ControlEvaluationRequestDTO {
// Specific assets to target for this evaluation. If empty, might apply to all relevant assets.
private List<String> targetAssetIds;
// Override or provide specific parameters for this evaluation run for the control.
// These would align with or override those in ComplianceControlDTO.evaluationParametersDefinition.
private Map<String, Object> evaluationParameters;
private String triggeredBy; // Optional: User or system that triggered the evaluation
private String notificationEmail; // Optional: Email to notify upon completion/failure
private boolean forceReevaluation; // Optional: If true, re-evaluate even if recent results exist
}