fix: 修复detection的range参数传递错误的问题

This commit is contained in:
chenjinsong
2023-10-24 20:58:03 +08:00
parent b4fcbd260b
commit 3daa875a25
2 changed files with 5 additions and 8 deletions

View File

@@ -734,7 +734,7 @@ export default {
const newUrl = urlParamsHandler(window.location.href, this.$route.query, { const newUrl = urlParamsHandler(window.location.href, this.$route.query, {
startTime: this.timeFilter.startTime, startTime: this.timeFilter.startTime,
endTime: this.timeFilter.endTime, endTime: this.timeFilter.endTime,
range: this.dateRangeValue, range: this.timeFilter.dateRangeValue,
q: urlQ, q: urlQ,
mode: mode mode: mode
}) })

View File

@@ -3,14 +3,11 @@
<div class="overview__left"> <div class="overview__left">
<div class="overview__title">{{ $t('overall.remark') }}</div> <div class="overview__title">{{ $t('overall.remark') }}</div>
<div class="overview__row"> <div class="overview__row">
<div class="row__content1" v-if="detection.eventType === 'Command and Control' && detection.eventName === 'Cobalt Strike'"> <div class="row__content1" v-if="detection.eventType === 'Command and Control' && detection.isBuiltin === 1">
<span class="row__content--link">{{detection.victimIp}}</span>&nbsp;&nbsp;communicated with&nbsp;<span class="row__content--link">{{detection.offenderIp}}</span>&nbsp;&nbsp;that was associated with the indicator of Cobalt Strike activity, {{$_.get(detection, 'eventInfoObj.ioc_value', '') || ''}}. <span class="row__content--link">{{detection.victimIp}}</span>&nbsp;&nbsp;communicated with&nbsp;<span class="row__content--link">{{detection.offenderIp}}</span>&nbsp;&nbsp;that was associated with the indicator of {{detection.eventName}} activity, {{$_.get(detection, 'eventInfoObj.ioc_value', '') || ''}}.
</div> </div>
<div class="row__content1" v-else-if="detection.eventType === 'Command and Control' && detection.eventName === 'Mirai'"> <div class="row__content1" v-else-if="detection.eventType === 'Anonymity' && detection.isBuiltin === 1">
<span class="row__content--link">{{detection.victimIp}}</span>&nbsp;&nbsp;communicated with&nbsp;<span class="row__content--link">{{detection.offenderIp}}</span>&nbsp;&nbsp;that was associated with the indicator of Mirai attacks, {{$_.get(detection, 'eventInfoObj.ioc_value', '') || ''}}. <span class="row__content--link">{{detection.victimIp}}</span>&nbsp;&nbsp;communicated with&nbsp;<span class="row__content--link">{{detection.offenderIp}}</span>&nbsp;&nbsp;that was associated with the indicator of {{detection.eventName}}.
</div>
<div class="row__content1" v-else-if="detection.eventType === 'Anonymity'">
<span class="row__content--link">{{detection.victimIp}}</span>&nbsp;&nbsp;communicated with&nbsp;<span class="row__content--link">{{detection.offenderIp}}</span>&nbsp;&nbsp;that was associated with the indicator of Tor/I2P/MTProxy/Obfs4/Snowflake/GeneralBridge, {{$_.get(detection, 'eventInfoObj.ioc_value', '') || ''}}.
</div> </div>
<div class="row__content1" v-else> <div class="row__content1" v-else>
{{basicInfo.ruleDescription || '-'}} {{basicInfo.ruleDescription || '-'}}