Uh oh!
There was an error while loading. Please reload this page.
Add CodeQL and Bandit Static Analysis Scans - #560
Conversation
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Uh oh!
There was an error while loading. Please reload this page.
kkraus14
commented
Apr 15, 2025
/ok to test b8d0441 |
kkraus14
commented
Apr 15, 2025
/ok to test b8d0441 |
This comment has been minimized.
This comment has been minimized.
cryos
left a comment
There was a problem hiding this comment.
This looks good to me, I added a proposal for concurrency groups that are pretty simple and should work well, choosing something that should work well for both merges to main and PRs.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cryos
commented
Apr 16, 2025
This needs the addition of bandit to the whitelist as noted in slack. |
Uh oh!
There was an error while loading. Please reload this page.
cryos
commented
Apr 16, 2025
Bandit should be allowed to run now if you want to retry it. |
kkraus14
commented
Apr 17, 2025
/ok to test 634f56a |
kkraus14
commented
Apr 17, 2025
@leofang do you want me to add bandit / codeql to pre-commit before we merge this? |
kkraus14
commented
Apr 17, 2025
Do not merge. Needs an internal discussion before moving forward. |
leofang
commented
Apr 17, 2025
I think it is fine to do it in a separate PR, so we only need to resolve the internal discussion before merging. |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
This does pin the version of Bandit to v1.8.3 which could cause mismatches between this and the GitHub workflow.
kkraus14
commented
Apr 17, 2025
An issue here:
I've also temporarily moved the CodeQL action to be manually triggered only until our internal discussion is completed. |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Marcus D. Hanwell <mhanwell@gmail.com>
This reverts commit c529e5f7b848e7ab6076c62708c7666027e29b4e.
kkraus14
commented
Apr 21, 2025
/ok to test 4d7632c |
Uh oh!
There was an error while loading. Please reload this page.
kkraus14
commented
Apr 21, 2025
Merging for now and will create issues for following up on Bandit version pinning for the Action and CodeQL pre-commit hook. |
leofang
commented
Apr 21, 2025
Thanks, Keith! |
|
Description
Resolves#534
Adds scans using both CodeQL and Bandit. Could use some discussion on what level of reporting we wish to have here and when we want to error. I have updated the repo settings to alert on any Security alert severity level and set the Standard alert severity level to "Errors and warnings" as a starting point.
Checklist