-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/added filter by severity option (#295)
* severity field on json output and option to filter results by severity * fix type in option filter severity * generate new example report * add new dependencies to setup * -f option on scan_policy_file and scan_multi_account and "critical" and "none" as options * remove added dependencies * removed js dependencies, fixed unit tests for new output format * revert package-lock and fix mypy issues * fix typo
- Loading branch information
Melânia Pereira
authored
Jul 1, 2023
1 parent
2be95c0
commit 996ef75
Showing
31 changed files
with
53,920 additions
and
18,721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM --platform=linux/amd64 alpine:3.17.2 | ||
|
||
COPY . ./app | ||
|
||
WORKDIR /app | ||
### install prerequesites | ||
|
||
RUN apk add --update --no-cache python3==3.10.11-r0 && ln -sf python3 /usr/bin/python | ||
RUN python3 -m ensurepip | ||
RUN pip3 install --no-cache --upgrade pip setuptools==67.6.0 | ||
RUN apk add nodejs==18.16.0-r0 | ||
RUN apk add npm==9.1.2-r0 | ||
RUN apk add make==4.3-r1 | ||
###### install requirements.txt | ||
RUN python3 -m pip install -r requirements.txt | ||
### remove unnecassary | ||
RUN rm -rf dist/ | ||
RUN rm -rf build/ | ||
RUN rm -rf *.egg-info | ||
RUN find . -name '*.pyc' -delete | ||
RUN find . -name '*.pyo' -delete | ||
RUN find . -name '*.egg-link' -delete | ||
RUN find . -name '*.pyc' -exec rm --force {} + | ||
RUN find . -name '*.pyo' -exec rm --force {} + | ||
#### seorate requirements | ||
RUN python3 -m pip install --upgrade setuptools==67.6.0 wheel==0.40.0 | ||
RUN python3 -m setup -q sdist bdist_wheel | ||
RUN python3 -m pip install -q ./dist/cloudsplaining*.tar.gz | ||
######## NPM installation | ||
RUN npm install | ||
|
||
ENTRYPOINT ["cloudsplaining"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.