/* * @Description: 威胁告警 * @Author: tqh * @Date: 2023-6-3 */ import { http } from '@/utils/https'; /** * @description: 获取列表 */ export const getPage = (data) => { return http.get('/alarmCenter/alarmEvent/page', data); }; /** * @description: 事件类型 */ export const getAttackType = (data) => { return http.get('/alarmCenter/alarmEvent/attackType ', data); }; /** * @description: 源IP TOP10 */ export const getSrcIpTop10 = (data) => { return http.get('/alarmCenter/alarmEvent/srcIpTop10', data); }; /** * @description: 目的IP TOP10 */ export const getDestIpTop10 = (data) => { return http.get('/alarmCenter/alarmEvent/destIpTop10', data); }; /** * @description:事件名称TOP10 */ export const getEventNameTop10 = (data) => { return http.get('/alarmCenter/alarmEvent/eventNameTop10', data); }; /** * @description:事件类型TOP10 */ export const getEventTypeTop10 = (data) => { return http.get('/alarmCenter/alarmEvent/eventTypeTop10', data); }; /** * @description: 威胁等级分布 */ export const getThreatLevel = (data) => { return http.get('/alarmCenter/alarmEvent/threatLevel', data); }; /** * @description: 攻击链分布 */ export const getKillChain = (data) => { return http.get('/alarmCenter/alarmEvent/killChain', data); }; /** * @description: 批量导出 */ export const postExport = (data) => { return http.post('/alarmCenter/alarmEvent/export', data, { responseType: 'blob', }); }; /** * @description: 全部导出 */ export const postAllExport = (data) => { return http.post('/alarmCenter/alarmEvent/exportAll', data); }; /** * @description: 研判 */ export const postJudge = (params) => { return http.post('/alarmCenter/alarmEvent/judge', params); }; /** * @description 研判文件上传 */ export const postUpload = (data) => { return http.post('/alarmCenter/alarmEvent/upload', data, { responseType: 'blob', }); }; /** * @description 研判文件下载 */ export const getDownload = (params) => { return http.get('/alarmCenter/alarmEvent/download', params, { responseType: 'blob', }); }; /** * @description 研判文件下载 */ export const getPcap = (params) => { return http.get('/alarmCenter/alarmEvent/pcap', params, { responseType: 'blob', }); }; /** * @description 获取下发人列表 */ export const getIssuePerson = (data) => { return http.get('/alarmCenter/alarmEvent/issuePerson', data); }; /** * @description: 下发 */ export const postIssue = (params) => { return http.post('/alarmCenter/alarmEvent/issue', params); }; /** * @description: 基本信息 */ export const getBasicInfo = (data) => { return http.get('/alarmCenter/alarmEvent/basicInfo', data); }; /** * @description: IP关联事件 */ export const getIpCorrelationInfo = (data) => { return http.get('/alarmCenter/alarmEvent/ipCorrelationInfo', data); }; /** * @description: 危害描述和处置建议 */ export const getDisposalSugg = (data) => { return http.get('/alarmCenter/alarmEvent/disposalSugg', data); }; /** * @description: 处置历史 */ export const getDisposalInfo = (data) => { return http.get('/alarmCenter/alarmEvent/disposalInfo', data); }; /** * @description: 详情页翻页 */ export const getNext = (data) => { return http.get('/alarmCenter/alarmEvent/next', data); }; /** * @description: 关联事件-攻击者列表 */ export const getAttack = (data) => { return http.get('/alarmCenter/alarmEvent/ipCorrelationInfo/attack', data); }; /** * @description: 关联事件-统计 */ export const getStatistics = (data) => { return http.get('/alarmCenter/alarmEvent/ipCorrelationInfo/statistics', data); }; /** * @description: 关联事件-时间线 */ export const getTimeLine = (data) => { return http.get('/alarmCenter/alarmEvent/ipCorrelationInfo/timeLine', data); }; /** * @description: 关联事件-受害者列表 */ export const getVictim = (data) => { return http.get('/alarmCenter/alarmEvent/ipCorrelationInfo/victim', data); };