-
Notifications
You must be signed in to change notification settings - Fork 94
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
Bandit #4405
Bandit #4405
Conversation
# NOTE: At present Bandit does *not* automatically source the .bandit | ||
# configuration file, invoke like so: | ||
# $ bandit -r --ini .bandit | ||
# For development it may be convenient to use flake8-bandit. |
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.
☝️
Maybe it would be worth adding ZAP (https://www.zaproxy.org/) to the UI for dynamic OWASP analysis? From the looks of things its a little bit of an effort to get setup but I could check it out next training day if it would be helpful. |
I used it with Jenkins, we had it enabled for a Java project at NIWA for a while. Works well, but requires devs to create the tests and update when necessary, but it was ~4 years ago so things might be simpler (there might even exist a GH actions out there?). I'm keen to use it if others want it too. |
Yeah, create a cylc-ui/uis issue for it. It might be possible to automate ZAP tests with Cypress which would make the process less manual (although it looks very fiddly at the moment). |
Will do, I know the implementation of it is not necessarily a quick job but possibly worth the time investment. I'll raise an issue. |
2a8eb7d
to
a0621ac
Compare
a0621ac
to
f375872
Compare
Rebased, note the flake8 tests will fail. |
f375872
to
e2c2367
Compare
Seems to be some genuine functional test failures. |
e2c2367
to
36f4494
Compare
Found a rogue quote in an SQL statement, fixed and rebased, 🤞. |
c598a8c
to
8556ecd
Compare
Only running bandit on Python 3.7 because of PyCQA/bandit#658 |
8556ecd
to
5d4cc31
Compare
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.
Nice to have. Thanks @oliver-sanders.
I have read the code and checked out the branch, bandit is running smoothly locally and remotely.
built on #4343Add the Bandit static security analyser to GH actions.