@@ -13,7 +13,7 @@ Supports scanning local repository files, GitHub Actions artifacts, and GitHub r
1313
1414## Prerequisites
1515
16- 1 . ** attachmentAV API Key** : Sign up at [ attachmentAV] ( https://attachmentav.com/subscribe/api / ) to get an API key
16+ 1 . ** attachmentAV API Key** : Sign up at [ attachmentAV] ( https://attachmentav.com/subscribe/github / ) to get an API key
17172 . ** GitHub Token** : Required for downloading artifacts or releases of private repositories; can be
1818 a [ personal access token (PAT)] ( https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens )
1919 or the [ GitHub Actions token] ( https://docs.github.com/en/actions/tutorials/authenticate-with-github_token )
@@ -120,7 +120,6 @@ reliable access.
120120| `release-asset-id` | GitHub release asset ID to scan | No* | - |
121121| `api-key` | attachmentAV API key | **Yes** | - |
122122| `token` | GitHub token for private resources | No** | - |
123- | `api-endpoint` | attachmentAV API endpoint | No | `https://eu.developer.attachmentav.com` |
124123| `timeout` | Timeout in seconds for async scans (1-3600) | No | `300` |
125124| `polling-interval` | Polling interval in seconds for async scans (1-3600) | No | `5` |
126125| `fail-on-infected` | Fail the action if malware is detected | No | `true` |
@@ -198,18 +197,6 @@ jobs:
198197
199198# # Advanced Configuration
200199
201- # ## Custom API Endpoint
202-
203- Use a different attachmentAV API region or endpoint :
204-
205- ` ` ` yaml
206- - uses: widdix/attachmentav-github-action-malware-antivirus-scan@v1
207- with:
208- local-file-path: file.zip
209- api-key: ${{ secrets.ATTACHMENTAV_API_KEY }}
210- api-endpoint: https://us.developer.attachmentav.com
211- ` ` `
212-
213200# ## Async Scan Tuning
214201
215202For large files (≥200MB), adjust timeout and polling interval :
0 commit comments