dt_automate/README.md
2025-03-06 22:07:39 +08:00

55 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# dt_automate
#### 介绍
**这是一个自动截图并生成巡检文档的程序
#### 软件架构
#### 安装教程
直接在windows系统里面的命令行模式下执行程序是二进制文件不需要安装部署直接允许就可以需要几个关键的配置文件
#### 使用说明
Usage of C:\Temp\go-build2722998210\b001\exe\main.exe: `<br>`
-v 查看授权状态 `<br>`
-run 开始执行 `<br>`
-info 没有授权请根据电脑序列号去和管理员申请KEY `<br>`
![1741269981656](image/README/1741269981656.png)
```go
//可执行程序位置
// // 互联网区截图
// method.HW_FAC1() //截取流量清洗的图片
// method.HW_FW1() //截取防火墙的图片
// method.HW_TSGZ() //截取态势感知的图片
// method.HW_DTCLOUD() //截取运维中心的图片
// method.HW_BAOLJ() //截取堡垒机的图片
//政务网区截图
// method.ZWW_FW1() //截取防火墙的图片
// method.ZWW_TSGZ() //截取态势感知的图片
// method.ZWW_DTCLOUD() //截取运维中心的图片
// method.ZWWW_BAOLJ() //截取堡垒机的图片
// 互联网区运维巡检文档生成
// wps.HW_SYS_Word() //运维平台word文档生成
//政务网区运维巡检文档生成
// wps.ZWW_SYS_Word() //运维平台word文档生成
//安全巡检文档生成
// wps.SAFET_Word() //安全巡检文档生成
//安全事件表格生成(需要先执行互联网区防火墙截图)
// attackevent.Fw_event(attackevent.HW_fw1_cookie()) //将防火墙安全事件存放到xlsx文件中
//nessus的csv文件生成docx报告(进行中)
// wps.CSV_damo()
//翻译模块调用腾讯xt翻译月500万字限制
// log.Println(wps.Translate("hello"))
//周报生成(画图表)进行中
// wps.Weekly_word()
//调用云平台接口
// dtcloud.EcsList() //获取ecs列表及其详情(完成)
// dtcloud.Process() //获取单ecs进程使用情况
// dtcloud.Memory() //获取单个ecs的memory使用情况
// dtcloud.Cpu() //获取单个ecs的cpu使用情况
// dtcloud.TenantList() //获取租户列表(完成)
```