Allow pinning Bandit version as an action input parameter?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start with action.yml around line 80, where pip install currently allows Bandit to float. Trace the action input definitions and installation command, then verify that a supplied version such as 1.8.3 is used while the existing floating behavior remains the default.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Currently we let pip install float:
https://github.com/PyCQA/bandit-action/blob/b44244a5ce8d5c4963550acfc922273f6a89e97f/action.yml#L80
However, we'd like to have a precise control over the bandit version in use for security purposes.
Describe the solution you'd like
Allow it to be set as an action input:
- name: Perform Bandit Analysis
uses: PyCQA/bandit-action@v1
with:
version: 1.8.3
It is fine to keep the current behavior (i.e. default to let it float if not set).
Describe alternatives you've considered
n/a
Additional context
n/a
- Dominant language
- No language data
- Stars
- 32
- Forks
- 16
- Avg merge
- 2h 23m
- Merged PRs (30d)
- 4
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PyCQA/bandit-action
-
Python 3.9 is no longer in ubuntu-latestPossibly taken @zachsplat claimed this 23 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PyCQA/bandit-action#48 · 3 reactions ·
-
New tag/releaseOpenenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PyCQA/bandit-action#31 ·
-
Action dependencies not pinned to full-length commit SHAsPossibly taken @lhoupert claimed this 243 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
PyCQA/bandit-action#28 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
PyCQA/bandit-action#27 · 2 comments · 2 reactions ·
-
Bandit errors are masked as problems uploading the SARIF filePossibly taken @noqt claimed this 90 days ago. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
PyCQA/bandit-action#16 · 2 comments · 5 reactions ·
All issues in PyCQA/bandit-action
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
hivecommons/hive#19912 ·
Maintainers usually reply within 1 day
-
bug root-cause:found
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
openchamber/openchamber#7620 · 1 comment ·
Maintainers usually reply within 2 days
-
distribution testing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
josluimg/unboringspec#7 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
tenstorrent/tt-umd#4082 ·
Maintainers usually reply within 5 days
-
enhancement priority:low status:queued
Difficulty 1/5 Under an hour Newbie friendliness 78/100
isaaclins/freesnitch#580 ·
Maintainers usually reply within 1 day