Skip to content

Commit f47c375

Browse files
committed
fix: Fixing license in project toml
Also made bandit output a report file.
1 parent 1ba2c46 commit f47c375

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/actions/py-vulnerability-scan/action.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@ inputs:
1212
description: 'Output format (txt, csv, json, xml, yaml). Default: json'
1313
required: false
1414
default: 'json'
15+
output-file:
16+
description: 'Output file name. Default: bandit-report.json'
17+
required: false
18+
default: 'bandit-report.json'
1519
runs:
1620
using: 'docker'
1721
image: 'Dockerfile'
1822
args:
1923
- ${{ inputs.format }}
2024
- ${{ inputs.bandit-config }}
21-
- ${{ inputs.input-dir }}
25+
- ${{ inputs.input-dir }}
26+
- ${{ inputs.output-file }}

.github/actions/py-vulnerability-scan/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ if [ -z "$2" ]; then
99
CFG = ""
1010
fi
1111

12-
bandit -f "$1" ${CFG} -r "$3"
12+
bandit -f "$1" ${CFG} -r "$3" -o "$4"
1313
exit 0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.1"
44
description = "A simple helper to create and execute Cypher queries for Neo4j"
55
authors = ["Trayan Azarov <trayan.azarov@amikos.tech>"]
66
readme = "README.md"
7-
license = "LICENSE"
7+
license = "MIT"
88
packages = [{ include = "cypher_ai_helper" }]
99

1010
[tool.poetry.dependencies]

0 commit comments

Comments
 (0)