https://github.com/securesauce/precli-action
GitHub Action to run Precaution SAST
https://github.com/securesauce/precli-action
actions code-scanning github-action sast security security-automation security-tools static-analysis static-code-analysis
Last synced: 7 months ago
JSON representation
GitHub Action to run Precaution SAST
- Host: GitHub
- URL: https://github.com/securesauce/precli-action
- Owner: securesauce
- License: mit
- Created: 2024-03-09T22:38:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T23:20:13.000Z (12 months ago)
- Last Synced: 2024-11-01T00:20:16.558Z (12 months ago)
- Topics: actions, code-scanning, github-action, sast, security, security-automation, security-tools, static-analysis, static-code-analysis
- Homepage: https://www.securesauce.dev/
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Precaution Analysis Action
Analyze your source code using Precaution via [precli](https://github.com/securesauce/precli).
## Usage
Here is a minimal complete example to create a Code Scanning action using Precaution.
```yaml
name: Precaution
on:
workflow_dispatch:
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
steps:
- name: Perform Precaution Analysis
uses: securesauce/precli-action@v1
```
## Inputs
| Name | Description | Required | Default Value |
|--|--|--|--|
| path | The source file(s) or directory(s) to be analyzed | False | `"."` |
| disable | A comma-separated list of rule IDs or names to disable | False | `"DEFAULT"` |