Skip to content
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

Add bandit security checker #32

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Add bandit security checker #32

merged 1 commit into from
Nov 5, 2024

Conversation

msom
Copy link
Contributor

@msom msom commented Oct 23, 2024

I previously had good experience using bandit for security checks and would suggest to use it here as well (probably best in the pipeline).

What are your thoughts on this @boecklic @schtibe @asteiner-swisstopo @adk-swisstopo @ltshb @benschs (feel free to include more people to the discussion)

@msom msom marked this pull request as draft October 23, 2024 08:14
@msom msom added the RFC Request for comment label Oct 23, 2024
Copy link

@ltshb ltshb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've nothing against it, but after a very quick check at the https://bandit.readthedocs.io/en/latest/plugins/index.html some of the issues will already be found by pylint, so I'm not sure it will add a plus.

NOTE: regarding the PR labels you can manually create them when missing, but I've created a draft here https://github.com/geoadmin/infra-terraform-github-bgdi/pull/118 to manage them via terraform

@asteiner-swisstopo
Copy link
Contributor

asteiner-swisstopo commented Oct 24, 2024

Nice initiative! Never heard of it but seems legit to me.

It is made by PYCQA who also houses the more popular pylint and flake8. So less concerned about the overlap with pylint as @ltshb .

How about showing this in the next tech talk session?

@msom msom marked this pull request as ready for review November 5, 2024 13:10
@msom msom merged commit b93e327 into develop Nov 5, 2024
3 checks passed
@msom msom deleted the feat-bandit branch November 5, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature RFC Request for comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants