Exports information on
- AWS VPC security groups
- inbound/outbound rules for AWS security groups
- peered AWS security groups or IP CIDR ranges
to Prometheus.
python3 -m sg_exporter
will start Prometheus metric exporter server on 10431 port.
python3 -m sg_exporter --interval=60
will make Prometheus metric exporter update security group data with interval of one minute. By default, it is updated once per 5 minutes.
sg-exporter
uses boto3
internally, so its configuration
docs apply to this software.
Pass --assume-role-arn
command line option to assume particular role when retrieving data.
python3 -m unittest
MIT.