Fix credentials

This commit is contained in:
Nimrod Kor committed 2019-12-26 16:41:25 +02:00
1 parent 4f721cf243
commit 8393383830
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
mkdir ~/.aws
cat << AWS_CREDS > ~/.aws/credentials
[default]
[${ACCOUNT_ID}]
credential_source = EcsContainer
role_arn = ${ROLE_ARN}
external_id = ${EXTERNAL_ID}
@@ -10,7 +10,7 @@ external_id = ${EXTERNAL_ID}
AWS_CREDS
echo "Running prowler on ${ACCOUNT_ID}"
./prowler -p default "${CHECKS}" -M json > output.json
./prowler -p "${ACCOUNT_ID}" "${CHECKS}" -M json > output.json
echo "Results:"
cat output.json