oracle工具DBSAT使用

1、采集信息

[oracle@主机名 dbsat]$ ./dbsat collect system/123456@IP:1521/ORCLCDB /tmp/output_local

Database Security Assessment Tool version 2.2.2 (June 2021)
SQL*Plus: Release 19.0.0.0.0 - Production on Sat May 6 14:23:31 2023
Version 19.3.0.0.0
Enter password: 输入压缩密码
Verify password: 
  adding: output_local.json (deflated 88%)
zip completed successfully.

注意:数据库是否已经启动,在/etc/hosts是否写入了"IP地址 主机名"信息

2、生成报告文件

[oracle@ dbsat]$ ./dbsat report output_local
Archive:  output_local.zip
[output_local.zip] output_local.json password: zip密码
  inflating: output_local.json       
DBSAT Reporter ran successfully.

Calling /usr/bin/zip to encrypt the generated reports...

Enter password: 加密密码
Verify password: 
        zip warning: output_local_report.zip not found or empty
  adding: output_local_report.txt (deflated 76%)
  adding: output_local_report.html (deflated 83%)
  adding: output_local_report.xlsx (deflated 3%)
  adding: output_local_report.json (deflated 81%)
zip completed successfully.

需要安装zip工具、依赖Python2.6以上环境

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值