设置规则的优先级
<p class="shortdesc">规则的优先级主要是用来设置告警触发的顺序,当资产中存在多条规则时,系统会根据规则优先级从高到低逐一将各条规则与数据库操作行为进行对比,当行为匹配规则时,则会触发告警。</p>
<section class="section prereq" id="setpriority__prereq_ftf_55y_4sb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已创建数据库审计实例。</p>
<p class="p">您已添加资产。</p>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/db-audit" target="_blank" rel="external noopener">数据库审计控制台</a>,进入<span class="keyword wintitle">实例列表</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击目标实例<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">管理</span>,进入数据库审计控制台。</span>
<div class="itemgroup info">
<img class="image" id="setpriority__d66e47" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-12277d5f94d4.png" width="700">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">在菜单栏选择<span class="ph menucascade"><span class="ph uicontrol">规则配置</span><abbr> > </abbr><span class="ph uicontrol">安全规则</span></span>,进入<span class="keyword wintitle">安全规则</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">选择<span class="keyword wintitle">规则使用情况</span>页签,单击<span class="ph uicontrol">操作</span>列<span class="ph uicontrol">配置</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在已启用规则列表中勾选规则,单击<span class="ph uicontrol">优先级</span>,可以选择设置规则优先级为最高或最低(数值越小优先级越高),也可以将规则插到指定规则之前(比指定规则优先级高1)或之后(比指定规则优先级低1)。</span>
<div class="itemgroup info">
<img class="image" id="setpriority__image_qg1_l22_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-119abbe29d45.png" width="700">
</div>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!