feat: 对接MeshSafe文件安全检测(上传/解包自动送检+轮询回写,不通过禁止分享传输,文件夹确认后仅分享通过内容,人工复核/重新检测,meshsafe.enabled总开关)
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
package com.senmesh.sfile.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 文件安全检测分享预检DTO
|
||||
*/
|
||||
@ApiModel("文件安全检测分享预检")
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class FileSecurityShareCheckDTO {
|
||||
|
||||
@ApiModelProperty("用户文件ID")
|
||||
private Long userFileId;
|
||||
|
||||
@ApiModelProperty("文件大类:1文件/2文件夹")
|
||||
private String fileType;
|
||||
|
||||
@ApiModelProperty("目录内文件总数(不含目录)")
|
||||
private Integer totalFileCount;
|
||||
|
||||
@ApiModelProperty("检测不通过数量")
|
||||
private Integer blockedCount;
|
||||
|
||||
@ApiModelProperty("检测中数量")
|
||||
private Integer scanningCount;
|
||||
|
||||
@ApiModelProperty("检测失败数量")
|
||||
private Integer failedCount;
|
||||
|
||||
@ApiModelProperty("检测不通过文件名列表")
|
||||
private List<String> blockedFileNames;
|
||||
|
||||
@ApiModelProperty("检测中文件名列表")
|
||||
private List<String> scanningFileNames;
|
||||
|
||||
@ApiModelProperty("检测失败文件名列表")
|
||||
private List<String> failedFileNames;
|
||||
|
||||
@ApiModelProperty("确认跳过时需排除的用户文件ID列表(不通过+检测中,fail-closed时含检测失败)")
|
||||
private List<Long> excludeFileIds;
|
||||
}
|
||||
Reference in New Issue
Block a user