-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create OWASP security scan of Docker container #69
base: main
Are you sure you want to change the base?
Conversation
Based on https://github.com/PrivateBin/docker-nginx-fpm-alpine/blob/master/.github/workflows/owasp.yml Fixes the security part of Ravinou#67 Note the results may include some false-positives. You can later ignore these via [creating a `rules.tsv` file](https://github.com/PrivateBin/docker-nginx-fpm-alpine/blob/master/.github/rules.tsv), but I've commented this for now. See https://github.com/zaproxy/action-full-scan
* You can start it as usual, `.env` file is automatically used. * IMHO easier and cleaner to configure. * Also removed the `<host>` as it makes this not-runnable out-of-the-box. I need this for Ravinou#69 and this was the initial idea of making this PR. * The `${:?}` syntax is a bash-like thing to produce a proper error message if the variable is not provided. I checked the setup should basically start (just got a permission error as the UID/GID is wrong).
Don't get the error, the |
.env.sample
Outdated
UID=1001 | ||
GID=1001 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UID=1001 | |
GID=1001 | |
UID=$USER | |
GID=$USER |
Could also use $USER
here, which would make it runnable more out-of-the-box?
a92b9e9
to
2900455
Compare
@Ravinou any review or action needed here? |
Based on https://github.com/PrivateBin/docker-nginx-fpm-alpine/blob/master/.github/workflows/owasp.yml
Fixes the security part of #67
Note the results may include some false-positives. You can later ignore these via creating a
rules.tsv
file, but I've commented this for now.See https://github.com/zaproxy/action-full-scan