Aws

From Halfface
Jump to navigation Jump to search

amazon

firewall waf (web application firewall)

whoami

aws sts get-caller-identity

list databases

aws rds describe-db-instances

List databases short version

aws rds describe-db-instances --query 'DBInstances[*].[DBInstanceArn,Engine,DBInstanceIdentifier]'

list events

aws rds describe-events
aws rds describe-events --duration 10080
aws rds describe-events --duration 10080 --source-identifier admin-db-test-01 --source-type db-instance

list logfiles

aws rds describe-db-log-files --db-instance-identifier admin-db-test-01