Spaces:
Build error
Build error
File size: 1,101 Bytes
688925d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 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
} |