Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@ jobs:
with:
arguments: -p="./" --ignore="**/.vscode/**, **/*.env, **/.mypy_cache/**, **/tests/**"
```
By default Horusec returns 0 as error code in any case. This means that your pipeline will not Fail in case of vulnerabilites are found. To change that behaviour you hace to pass the argument -e=true.

Here is an example of how you can use the flag.

```yml
on: [push]

jobs:
checking_code:
runs-on: ubuntu-latest
name: Horusec Scan
steps:
- name: Run Horusec
id: run_horusec
uses: fike/horusec-action@v0.1
with:
arguments: -e=true -p="./"
```

## Known Issue

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

horusec version

sh -c "horusec start -D -e=true $*"
sh -c "horusec start -D $*"