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 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 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 }