Update readme (#55)

This commit is contained in:
Yong Yan 2021-08-29 12:14:20 -07:00 committed by GitHub
parent d9ddc06b7e
commit 0810f732d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -107,8 +107,8 @@ Create a .yml file under .github/workflows with the following contents:
### Basic demo: ### Basic demo:
```yml ```yml
- name: Flawfinder - name: flawfinder_scan
uses: david-a-wheeler/flawfinder@v1.0 uses: david-a-wheeler/flawfinder@2.0.19-alpha1
with: with:
arguments: '--sarif ./' arguments: '--sarif ./'
output: 'flawfinder_results.sarif' output: 'flawfinder_results.sarif'
@ -118,6 +118,9 @@ You can add many other additions to the arguments.
For example, `--error-level=4` will cause an error to be returned if For example, `--error-level=4` will cause an error to be returned if
flawfinder finds a vulnerability of level 4 or higher. flawfinder finds a vulnerability of level 4 or higher.
You can find the action name and version string from [Marketplace](https://github.com/marketplace/actions/flawfinder_scan)
by clicking "Use latest/xxx version" button.
### Input options: ### Input options:
- arguments: [Flawfinder command arguments](ttps://github.com/david-a-wheeler/flawfinder/blob/master/README.md#usage) - arguments: [Flawfinder command arguments](ttps://github.com/david-a-wheeler/flawfinder/blob/master/README.md#usage)