fix: 修改注释

This commit is contained in:
chenjinsong
2023-11-03 15:02:31 +08:00
parent 2bb6c54cab
commit ee57ca4c6c

View File

@@ -431,10 +431,7 @@ export default {
dateFormatByAppearance,
/** 初始化实体详情 */
initEntityDetail () {
// 为完整填充IP信息攻击者ip、受害者ip都进行调用
// 根据detection的eventInfo对象的ioc_type进行判断若为domainmalware信息从domain详情中获取并填充domain信息
// 若ioc_type为ip则调用ip接口填充malware信息
// 最后调用app填充app信息。经上获取完整实体详情则最少需要调用4次接口
// 调接口查询攻击者和受害者IP、Domain、APP的更多信息
if (this.detection.offenderIp) {
axios.get(`${api.detection.securityEvent.ipDetail}?resource=${this.detection.offenderIp}`).then(res => {
if (res.status === 200) {