按IP过滤
<p class="shortdesc">本文介绍如何新增按IP过滤规则。</p>
<section class="section attention" id="dc_DBAudit_cfg_0052__zzg_gm2_psb"><div class="tasklabel"><h2 class="doc-tairway">注意事项</h2></div>
<p class="p">按IP过滤规则中添加的不审计的IP默认对全部资产有效。即添加后,全部资产中的客户端IP或服务端IP与添加的不审计IP相同时,均不做任何审计,请谨慎添加。</p>
</section>
<section class="section limitation" id="dc_DBAudit_cfg_0052__a1h_gm2_psb"><div class="tasklabel"><h2 class="doc-tairway">使用限制</h2></div>
<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="dc_DBAudit_cfg_0052__d23e47" 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">按IP过滤</span>页签,单击<span class="ph uicontrol">添加</span>进入<span class="keyword wintitle">新增IP过滤</span>页面。</span>
<div class="itemgroup info">
<img class="image" id="dc_DBAudit_cfg_0052__image_wqt_jl2_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1cdefd1e930f.png" width="700">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">输入名称和不审计的IP,单击<span class="ph uicontrol">保存</span>。</span>
<div class="itemgroup info">
<img class="image" id="dc_DBAudit_cfg_0052__image_e3z_pn2_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1ab0d9f19261.png" width="500">
<table class="table" id="dc_DBAudit_cfg_0052__table_plh_sn2_psb"><caption></caption><colgroup><col style="width:32.467532467532465%"><col style="width:67.53246753246754%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="dc_DBAudit_cfg_0052__table_plh_sn2_psb__entry__1">
<p class="p">配置项</p>
</th>
<th class="entry" id="dc_DBAudit_cfg_0052__table_plh_sn2_psb__entry__2">
<p class="p">说明</p>
</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="dc_DBAudit_cfg_0052__table_plh_sn2_psb__entry__1 ">
<p class="p">名称</p>
</td>
<td class="entry" headers="dc_DBAudit_cfg_0052__table_plh_sn2_psb__entry__2 ">
<p class="p">IP过滤规则名称,长度为1-64字符,并且只能包含中文、字母、数字、下划线“_”、点“.”或短横“-”。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="dc_DBAudit_cfg_0052__table_plh_sn2_psb__entry__1 ">
<p class="p">不审计的IP</p>
</td>
<td class="entry" headers="dc_DBAudit_cfg_0052__table_plh_sn2_psb__entry__2 ">
<p class="p">格式为“IP/掩码长度”,可配置多个,用英文逗号“,”隔开。例如“1.2.3.4/32,1.1.0.0/8”。</p>
</td>
</tr>
</tbody></table>
</div>
</li></ol></section>
<section class="section result" id="dc_DBAudit_cfg_0052__result_pq1_vn2_psb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">在<span class="ph uicontrol">IP过滤管理</span>列表中,可以看到刚刚新增的规则。</p>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!