mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-09 02:36:46 +00:00
2. Added service account token and certificate handling, when running as a pod, to try and access resources that are "secured" 3. Added anonymous auth vulnerability detection 4. Changed requirements.txt for compatibility
12 lines
233 B
Docker
12 lines
233 B
Docker
FROM python:2.7.15-jessie
|
|
|
|
WORKDIR /usr/src/kube-hunter
|
|
|
|
RUN apt-get update && apt-get install -y tcpdump
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["python", "kube-hunter.py"] |