-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathDockerfile
45 lines (38 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM python:3.7-slim as aws-sec-toolbox
LABEL maintainer="Victor GRENU - https://github.com/z0ph/"
LABEL Project="https://github.com/z0ph/aws-security-toolbox"
WORKDIR /opt/secops
RUN apt-get update -y && \
apt-get install --no-install-recommends -y \
bash \
build-essential \
autoconf \
automake \
libtool \
python3.7-dev \
python3-tk \
jq \
vim \
curl \
file \
netcat \
git
RUN pip --no-cache-dir install \
pipenv \
ansi2html \
detect-secrets \
boto3 \
awscli \
cloudtracker \
scoutsuite \
principalmapper
# CloudMapper
RUN git clone https://github.com/duo-labs/cloudmapper.git /opt/secops/cloudmapper && \
cd /opt/secops/cloudmapper && \
pipenv install --skip-lock
# Enumerate IAM
RUN git clone https://github.com/andresriancho/enumerate-iam.git /opt/secops/enumerate-iam && \
cd /opt/secops/enumerate-iam/ && \
pip install -r requirements.txt
# prowler
RUN git clone https://github.com/toniblyx/prowler /opt/secops/prowler