Skip to content
Snippets Groups Projects
Commit bb64f96f authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(bandit): fix shell syntax error

parent 680208b7
No related branches found
No related tags found
No related merge requests found
...@@ -739,13 +739,13 @@ py-bandit: ...@@ -739,13 +739,13 @@ py-bandit:
- _pip install bandit - _pip install bandit
# CSV (for SonarQube) # CSV (for SonarQube)
- | - |
if [[ "$SONAR_HOST_URL"]] if [[ "$SONAR_HOST_URL" ]]
then then
_run bandit ${TRACE+--verbose} --exit-zero --format csv --output reports/py-bandit.bandit.csv ${BANDIT_ARGS} _run bandit ${TRACE+--verbose} --exit-zero --format csv --output reports/py-bandit.bandit.csv ${BANDIT_ARGS}
fi fi
# JSON (for DefectDojo) # JSON (for DefectDojo)
- | - |
if [[ "$DEFECTDOJO_BANDIT_REPORTS"]] if [[ "$DEFECTDOJO_BANDIT_REPORTS" ]]
then then
_run bandit ${TRACE+--verbose} --exit-zero --format json --output reports/py-bandit.bandit.json ${BANDIT_ARGS} _run bandit ${TRACE+--verbose} --exit-zero --format json --output reports/py-bandit.bandit.json ${BANDIT_ARGS}
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment