Skip to content

Commit

Permalink
Update AWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dafthack authored Nov 22, 2022
1 parent 9a5b243 commit 092a552
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cheatsheets/AWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,17 @@ done < regions.txt
sort -u rds-public-dns.txt -o rds-public-dns.txt
```

List all RDS Snapshots
```bash
aws rds describe-db-snapshots --region us-east-1 --snapshot-type manual --query=DBSnapshots[*].DBSnapshotIdentifier
```

List RDS Snapshot Attributes (If AttributeValues field is set to "all" then the snapshot is publicly available for any account to restore)
```bash
aws rds describe-db-snapshot-attributes --db-snapshot-identifier <db identifier from last command> --region us-east-1 --query=DBSnapshotAttributesResult.DBSnapshotAttributes
```
List all S3 buckets

```bash
Expand Down

0 comments on commit 092a552

Please sign in to comment.