-
Notifications
You must be signed in to change notification settings - Fork 1
add security linter bandit to nox #208
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
Merged
Jannis-Mittenzwei
merged 30 commits into
main
from
feature#74-add-security-linter-to-the-toolbox
Sep 25, 2024
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
8832c69
add security linter bandit to nox
Jannis-Mittenzwei 8b307b9
bandit starting problem solved
Jannis-Mittenzwei 5afccc2
change bandit options
Jannis-Mittenzwei bb62b2d
bandit report
Jannis-Mittenzwei 8a01c78
Merge branch 'main' into feature#74-add-security-linter-to-the-toolbox
Jannis-Mittenzwei 4ad9ac1
add security scoring
Jannis-Mittenzwei 0f0dfeb
new bandit scoring + bandit rating
Jannis-Mittenzwei fdd11fa
typing List
Jannis-Mittenzwei 75fa656
types corrected
Jannis-Mittenzwei 283f368
added a test for bandit_scoring
Jannis-Mittenzwei ce0b1d0
run bandit test
Jannis-Mittenzwei 9a9dff1
Update depdendency constraints (#214)
Nicoretti ad40034
add security linter bandit to nox
Jannis-Mittenzwei 7d4c1eb
problems solved
Jannis-Mittenzwei 700bcf5
Merge branch 'main' into feature#74-add-security-linter-to-the-toolbox
Jannis-Mittenzwei cc06d80
type check
Jannis-Mittenzwei bed13b0
new version of bandit rating and test
Jannis-Mittenzwei f19d66a
Merge branch 'main' into feature#74-add-security-linter-to-the-toolbox
Jannis-Mittenzwei 4d9516d
function split up
Jannis-Mittenzwei 3da401d
remove .security.json from git
Jannis-Mittenzwei d4cfe08
Merge branch 'main' into feature#74-add-security-linter-to-the-toolbox
Jannis-Mittenzwei 706e6cf
Add security-check to Github jobs
Jannis-Mittenzwei acb07bd
Merge branch 'main' into feature#74-add-security-linter-to-the-toolbox
ckunki b28e378
Update exasol/toolbox/nox/_lint.py
ckunki ad7a8bd
Renamed security check to "security" in GitHub workflow, too
ckunki 24c4900
Merge branch 'main' into feature#74-add-security-linter-to-the-toolbox
Jannis-Mittenzwei d2867bb
fix github workflow security-job
Jannis-Mittenzwei 8337ad2
fix github workflow security-job
Jannis-Mittenzwei 26b132a
add security file to github workflow report
Jannis-Mittenzwei 5afd535
Update exasol/toolbox/nox/_lint.py
Nicoretti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,6 +89,34 @@ jobs: | |
| - name: Run type-check | ||
| run: poetry run nox -s type-check | ||
|
|
||
| security-job: | ||
| name: Security Checking (Python-${{ matrix.python-version }}) | ||
| needs: [ version-check-job ] | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| python-version: [ "3.8", "3.9", "3.10", "3.11" ] | ||
|
|
||
| steps: | ||
| - name: SCM Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Python & Poetry Environment | ||
| uses: ./.github/actions/python-environment | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
|
|
||
| - name: Run security | ||
| run: poetry run nox -s security | ||
|
|
||
| - name: Upload Artifacts | ||
| uses: actions/[email protected] | ||
| with: | ||
| name: security-python${{ matrix.python-version }} | ||
| path: .security.json | ||
| include-hidden-files: true | ||
|
|
||
| tests-job: | ||
| name: Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}}) | ||
| needs: [ build-documentation-job, lint-job, type-check-job ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| .lint.json | ||
| .lint.txt | ||
| .security.json | ||
|
|
||
| odbcconfig/odbcinst.ini | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.