ClamAV Malware Scanner
ClamAV Malware Scanner - Reusable Workflow
Runs the ClamAV scanner via the argus Python CLI. Equivalent to: python -m argus scan clamav
For GHES users: Use the composite action directly instead of this workflow. See: examples/github-enterprise/all-scanners.yml
uses: huntridge-labs/argus/.github/workflows/scanner-clamav.yml@1.8.1
Triggers
- Manual dispatch
- Reusable (called by other workflows)
Permissions
| Scope | Access |
|---|---|
contents |
read |
security-events |
write |
actions |
read |
pull-requests |
write |
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
post_pr_comment |
Whether to post PR comments boolean | No | True |
enable_code_security |
Whether GitHub Code Security is enabled for this repository boolean | No | False |
scan_path |
Path to scan (file, directory, or archive). Defaults to repository root. string | No | . |
fail_on_severity |
Fail the job if malware is found. ClamAV does not support severity-based filtering - any value other than "none" will... string | No | none |
Jobs
clamav-scan โ ClamAV Malware Scan
Runs on: ubuntu-latest ยท Timeout: 30 minutes ยท Continue on error: Yes
Steps:
- Checkout repository โ
actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 - Set up Python โ
actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 - Install Argus โ
huntridge-labs/argus/.github/actions/setup-argus@1.8.1 - Run scan
- Upload artifacts โ
actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a - Upload SARIF โ
github/codeql-action/upload-sarif@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a - Comment PR with results โ
huntridge-labs/argus/.github/actions/comment-pr@1.8.1