► This repository contain some shell script to list all resources from AWS.
► List all the target groups from Loadbalancers
► List the attached target groups for status
► List DB clusters from RDS
► List DB instances from RDS
► List DB Snapshots from RDS Backup
/
├── README.md
├── aws-scan-oo-resources
│ ├── get_rds-db-clusters.sh
│ ├── get_rds-db-snapshots.sh
│ ├── get_rds_db-instances.sh
│ ├── get_target_groups.sh
│ ├── get_target_healths.sh
│ └── get_target_loadbalancer.sh
└── test-script
└── temp_get_target_healths.sh
aws-scan-oo-resources
File | Summary |
---|---|
get_target_groups.sh | ► Get the Target Group attached to Loadbalancers |
get_target_healths.sh | ► Get the attached of healths on Target Group |
get_rds-db_instances.sh | ► Get the RDS DB Instances from RDS resources |
get_rds-db-clusters.sh | ► Get the clusters from RDS resources |
get_rds-db-snapshots.sh | ► Get the RDS DB Snapshots from resources |
get_target_loadbalancer.sh | ► Get all Load balancers from the resources |
- Clone the repository:
git clone https://github.com/mrfzy00/aws-scan-resource.git
- Change to the project directory:
cd
- Install the dependencies:
chmod +x aws-scan-oo-resources/*.sh
Example:
./get_target_groups.sh
Output:
Load Balancer ARN: arn:aws:elasticloadbalancing:ap-southeast-1:00000000000:loadbalancer/net/sample-nlb/000000000000000
arn:aws:elasticloadbalancing:ap-southeast-1:257034807569:targetgroup/sample-tg-nlb/0000000000000
----------------------