Skip to content

Commit

Permalink
documenting the path attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Lerer committed Oct 20, 2021
1 parent 82107b4 commit cbcb888
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ Default Value: __false__
### `url`
**Optional** - specify a remote repository URL for scanning. It will not scan the current repository in which the workflow is running

### `path`
__Optional__ - a relative path for the scan to start.
This attribute is useful in scenarios where the actual code is not in the root of the repository. An example would be mono repo where the repository is home for multiple projects

Default Value: __`.`__ (repository root folder)

> :exclamation: This attribute is ignored if a __`url`__ attribute is also in use
### `quick`
__Optional__ - run the Veracode SCA scan with the `--quick` flag

Expand All @@ -67,7 +75,7 @@ jobs:
- name: Run Veracode SCA
env:
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
uses: lerer/[email protected].0
uses: lerer/[email protected].1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
url: "https://github.com/Lerer/veracode-pipeline-scan-results-to-sarif"
Expand Down Expand Up @@ -99,11 +107,22 @@ jobs:
- name: Run Veracode SCA
env:
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
uses: lerer/[email protected].0
uses: lerer/[email protected].1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
quick: true
create-issues: true
fail-on-cvss: 1
min-cvss-for-issue: 1
```
## User Interface
### Issues List
<p align="center">
<img src="/media/issues-list.png" width="700px" alt="Issues List"/>
</p>
### Individual Issue
<p align="center">
<img src="/media/issue.png" width="700px" alt="Individual issues ticket content"/>
</p>
Binary file added media/issue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/issues-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cbcb888

Please sign in to comment.