Skip to content

Add new make secscan target to security scan our python code with bandit - #617

Merged
jonasbardino merged 1 commit into
nextfrom
add/make-secscan-for-security-scan-with-bandit
Jul 29, 2026
Merged

Add new make secscan target to security scan our python code with bandit#617
jonasbardino merged 1 commit into
nextfrom
add/make-secscan-for-security-scan-with-bandit

Conversation

@jonasbardino

Copy link
Copy Markdown
Contributor

Add new make secscan target with make python-secscan alias to enable easy inline security scanning of our python code.
Reuses the existing lint model with scanning of files in LINT_ENFORCE_DIRS. Example use to scan all code in the mig/lib/ folder:

make secscan-python LINT_ENFORCE_DIRS=mig/lib/

Might be used in conjunction with or in a future replacement for #394.

Updated the Makefile inline help and polished some details to make sure local dependencies are automatically installed on first use.

…ble easy

inline security scanning of our python code.
Reuses the existing lint model with scanning of files in `LINT_ENFORCE_DIRS`.
Example use to scan all code in the `mig/lib/` folder:
```
make secscan-python LINT_ENFORCE_DIRS=mig/lib/
```

Might be used in conjunction with or in a future replacement for #394.

Updated the Makefile inline help and polished some details to make sure
local dependencies are automatically installed on first use.
@jonasbardino jonasbardino self-assigned this Jul 23, 2026
@jonasbardino jonasbardino added enhancement New feature or request test-only Improvements or additions solely for better test coverage - without functionality changes labels Jul 23, 2026
@jonasbardino
jonasbardino marked this pull request as ready for review July 23, 2026 08:58
@jonasbardino
jonasbardino requested a review from a team July 23, 2026 08:58

@Martin-Rehr Martin-Rehr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved

@jonasbardino
jonasbardino merged commit 2402cd4 into next Jul 29, 2026
23 checks passed
@jonasbardino
jonasbardino deleted the add/make-secscan-for-security-scan-with-bandit branch July 29, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request test-only Improvements or additions solely for better test coverage - without functionality changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants