diff --git a/Dockerfile b/Dockerfile index cc2ac80e0f..c7f5eb5987 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM python +FROM python:3.7-slim MAINTAINER Bridgecrew -RUN apt-get update && apt-get upgrade -y && apt-get install jq -y && pip install awscli detect-secrets boto3 +RUN apt-get update && apt-get upgrade -y && apt-get install jq curl -y && pip install awscli detect-secrets boto3 RUN curl -sL https://github.com/bridgecrewio/prowler/archive/feature/dockerized_prowler.tar.gz | tar xz diff --git a/run.sh b/run.sh index b0d8f699ae..ae134f5cd7 100755 --- a/run.sh +++ b/run.sh @@ -5,4 +5,6 @@ python3 credentials.py $ACCOUNT_ID echo "Running prowler on $ALIAS" ./prowler -c extra741 -M json > output.json +cat output.json + aws s3api put-object --bucket $BUCKET --key prowler/$ACCOUNT_ID/results \ No newline at end of file