数据脱敏处理

<p class="shortdesc">数据库审计服务支持对银行卡号、手机号码、身份证号码等敏感数据进行脱敏处理。本文介绍如何配置脱敏规则。</p> <section class="section prereq" id="dataMask__prereq_upv_h14_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="dataMask__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 class="keyword wintitle">数据脱敏</span>页签。</span> <div class="itemgroup info"> <img class="image" id="dataMask__image_n1y_ml5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1b1a6c0e9b7c.png" width="700"> </div> </li><li class="li step stepexpand"> <span class="ph cmd">单击<span class="ph uicontrol">新增</span>,在弹出的<span class="keyword wintitle">新增数据脱敏</span>对话框中,根据以下信息新增数据脱敏规则。</span> <div class="itemgroup info"> <img class="image" id="dataMask__image_ohf_wn5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-157569669225.png" width="500"> <table class="table" id="dataMask__table_tj2_xn5_psb"><caption></caption><colgroup><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="dataMask__table_tj2_xn5_psb__entry__1"> <p class="p">配置项</p> </th> <th class="entry" id="dataMask__table_tj2_xn5_psb__entry__2"> <p class="p">说明</p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__1 "> <p class="p">名称</p> </td> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__2 "> <p class="p">长度不超过64字符,只能包含中文、字母、数字、下划线“_”、点“.”或短横“-”。</p> </td> </tr> <tr class="row"> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__1 "> <p class="p">状态</p> </td> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__2 "> <p class="p">选择是否启用该规则。</p> </td> </tr> <tr class="row"> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__1 "> <p class="p">正则表达式</p> </td> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__2 "> <p class="p">正则表达式用于检索、替换符合特定模式(规则)的文本,例如“([^d]|530)”。</p> </td> </tr> <tr class="row"> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__1 "> <p class="p">开始位置</p> </td> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__2 "> <p class="p">开始替换的字符位置。</p> </td> </tr> <tr class="row"> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__1 "> <p class="p">截取长度</p> </td> <td class="entry" headers="dataMask__table_tj2_xn5_psb__entry__2 "> <p class="p">数据串中被替换的字符长度。</p> </td> </tr> </tbody></table> </div> </li><li class="li step stepexpand"> <span class="ph cmd">单击<span class="ph uicontrol">保存</span>。</span> </li></ol></section>
以上内容是否解决了您的问题?
请补全提交信息!
联系我们

电话咨询

400-151-8800

邮件咨询

fincloud@ocft.com

在线客服

工单支持

解决云产品相关技术问题