Docker File

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

FROM centos:latest

ARG USERNAME=prowler
ARG USERID=34000

RUN groupadd -g ${USERID} ${USERNAME} && \


adduser -g ${USERNAME} -u ${USERID} ${USERNAME} && \
yum install -y python3 bash curl jq file && \
pip3 install --upgrade pip && \
pip install awscli boto3 detect-secrets && \
yum install -y git
WORKDIR /prowler

COPY . ./

RUN chown -R prowler .

USER ${USERNAME}

ENTRYPOINT ["./run-prowler-reports.sh"]
~

role/ProwlerXA-Role

"Action": "sts:AssumeRole",
"Condition": {
"StringLike": {
"aws:PrincipalArn": "arn:aws:iam::224233068863:role/ProwlerEC2-Role"
}

You might also like