Skip to content

Commit

Permalink
Merge pull request #3 from disruptops/function_plugin
Browse files Browse the repository at this point in the history
Function plugin
  • Loading branch information
jodybrazil authored Jun 15, 2020
2 parents 912b82d + 95b924f commit 1fa3124
Show file tree
Hide file tree
Showing 64 changed files with 2,000 additions and 2,013 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ LABEL maintainer="https://github.com/jonrau1" \
description="Continuously monitor your AWS services for configurations that can lead to degradation of confidentiality, integrity or availability. All results will be sent to Security Hub for further aggregation and analysis."

COPY requirements.txt /tmp/requirements.txt
COPY audit_controller.py .
# NOTE: this will copy current auditors to container along with the required controller files
COPY ./eeauditor/ ./

RUN pip3 install -r /tmp/requirements.txt

CMD \
aws s3 cp s3://${SH_SCRIPTS_BUCKET}/ ./auditors --recursive && \
python audit_controller.py
python controller.py
1 change: 0 additions & 1 deletion ElectricEye
Submodule ElectricEye deleted from 52e54f
141 changes: 0 additions & 141 deletions audit_controller.py

This file was deleted.

169 changes: 0 additions & 169 deletions auditors/AWS_Lambda_Auditor.py

This file was deleted.

Loading

0 comments on commit 1fa3124

Please sign in to comment.