应用身份识别
<p class="shortdesc">添加应用身份识别规则后,数据库审计服务会自动生成jar包,下载该jar包并安装到应用服务器之后,当有用户对应用的数据库进行操作时,数据库审计服务会审计该用户访问应用的URL以及使用的IP。</p>
<section class="section prereq" id="identification__prereq_s5d_314_psb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已购买数据库审计实例。</p>
</section>
<section class="section context"><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="identification__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="identification__image_ohf_wn5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-12afd47e96f9.png" width="700">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">添加</span>,在弹出的对话框中,根据以下信息新增应用身份识别规则。</span>
<div class="itemgroup info">
<img class="image" id="identification__image_nql_vr5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-190508ec9d88.png" width="500">
<table class="table" id="identification__table_ycr_xr5_psb"><caption></caption><colgroup><col style="width:37.03703703703704%"><col style="width:62.962962962962955%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="identification__table_ycr_xr5_psb__entry__1">
<p class="p">配置项</p>
</th>
<th class="entry" id="identification__table_ycr_xr5_psb__entry__2">
<p class="p">说明</p>
</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__1 ">
<p class="p">应用名称</p>
</td>
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__2 ">
<p class="p">长度不超过64字符,且只能包含中文、字母、数字、下划线“_”、点“.”或短横“-”。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__1 ">
<p class="p">中间件类型</p>
</td>
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__2 ">
<p class="p">选择中间件类型,包括Weblogic、Tomcat和Jboss。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__1 ">
<p class="p">中间件版本</p>
</td>
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__2 ">
<p class="p">选择中间件使用的版本。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__1 ">
<p class="p">JDK版本</p>
</td>
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__2 ">
<p class="p">选择JDK(Java语言软件开发工具包)版本。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__1 ">
<p class="p">数据库类型</p>
</td>
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__2 ">
<p class="p">选择数据库类型,请根据应用的实际情况进行选择。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__1 ">
<p class="p">登录URL关键字</p>
</td>
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__2 ">
<p class="p">用户登录应用服务器的URL关键字。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="identification__table_ycr_xr5_psb__entry__1 ">
<p class="p">登录用户关键字</p>
</td>
<td class="entry" headers="identification__table_ycr_xr5_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><li class="li step stepexpand">
<span class="ph cmd">系统自动生成jar包后,单击<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">下载</span>按钮,下载jar包。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">下载说明文档</span>查看安装方法,跟据说明书将jar包安装至应用服务器。
当有用户对应用的数据库进行操作时,系统可审计到用户的用户名、访问的URL以及使用的IP。
您可以在<span class="keyword wintitle">审计日志详情</span>页面的<span class="ph uicontrol">关联信息</span>中查看这些信息。</span>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!