aws vpc中安全组依赖关系网络的可视化工具。
aws-visualizer的Python项目详细描述
aws vpc中安全组依赖关系网络的可视化工具。
基于vpc内部安全组的依赖关系,它可以生成以下内容:
- 网络组件之间具有所有安全组依赖关系的HTML表。
- 网络组件之间所有安全组依赖关系的点图。
- 按安全组分组的网络组件之间的所有安全组依赖关系的点图。
- 按子网分组的网络组件之间所有安全组依赖关系的点图。
用法
- aws可视化工具[-h][-目录目录][-使用子网]
- [-使用安全组子图] [–排除安全组security-group] [-配置文件][-区域区域] [–扮演角色]
- 可选参数:
-h, --help show this help message and exit --directory DIRECTORY, -d DIRECTORY output directory defaults to . --use-subnets, -n use subnet subgraphs --use-security-group-subgraphs, -s use security group subgraphs --exclude-security-group SECURITY-GROUP, -x SECURITY-GROUP exclude security group --profile PROFILE, -p PROFILE select the AWS profile to use --region REGION, -r REGION select region to graph --assume-role ROLE, -a ROLE ARN of the role to assume
示例
要生成默认图形,请键入:
$ aws-visualizer --directory /tmp/aws-visualizer $ for F in /tmp/aws-visualizer/*.dot; do dot -Tpng -o $(dirname $F)/$(basename $F .dot).png $F; done $ open /tmp/aws-visualizer/*.png
安装
- 要安装,请键入::
- pip安装aws可视化工具