Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save GauntletWizard/f4efb51ec71de21c64d927d012876bc3 to your computer and use it in GitHub Desktop.

Select an option

Save GauntletWizard/f4efb51ec71de21c64d927d012876bc3 to your computer and use it in GitHub Desktop.
PCI Tools
CREDS=$(aws sts assume-role --role-arn "arn:aws:iam::${ACCOUNT}:role/${ROLE}" --role-session-name="${USER}")
docker run -ti --rm --name prowler --env "AWS_ACCESS_KEY_ID=$(echo $CREDS | jq -r .Credentials.AccessKeyId)" --env "AWS_SECRET_ACCESS_KEY=$(echo $CREDS | jq -r .Credentials.SecretAccessKey)" --env "AWS_SESSION_TOKEN=$(echo $CREDS | jq -r .Credentials.SessionToken)" toniblyx/prowler:latest -f us-west-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment