WAF策略增加观察模式和通过模式

This commit is contained in:
GoEdgeLab
2021-09-30 11:30:36 +08:00
parent 2a8846b4be
commit 1477d7e0f8
6 changed files with 50 additions and 5 deletions

View File

@@ -7,9 +7,13 @@
<td>{{firewallPolicy.name}}</td>
</tr>
<tr>
<td>是否启用</td>
<td>状态</td>
<td>
<label-on :v-is-on="firewallPolicy.isOn"></label-on>
<span v-if="!firewallPolicy.isOn" class="red">已停用</span>
<div v-else-if="firewallPolicy.modeInfo != null">
<span :class="{green: firewallPolicy.modeInfo.code == 'defend', blue: firewallPolicy.modeInfo.code == 'observe', grey: firewallPolicy.modeInfo.code == 'pass'}">{{firewallPolicy.modeInfo.name}}</span>
<p class="comment">{{firewallPolicy.modeInfo.description}}</p>
</div>
</td>
</tr>
<tr>