Skip to content

Commit fdb4829

Browse files
committed
docs: fix links
1 parent e79b1ae commit fdb4829

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ All inputs are defined in `action.yml`:
166166
- `release-asset-id` - GitHub release asset ID
167167

168168
### Optional
169-
- `api-endpoint` - Default: `https://eu.developer.attachmentav.com`
170169
- `token` - GitHub token for private resources
171170
- `timeout` - Default: 300 seconds, max: 3600, min: 1
172171
- `polling-interval` - Default: 5 seconds, max: 3600, min: 1

README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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
1717
2. **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

215202
For large files (≥200MB), adjust timeout and polling interval:

0 commit comments

Comments
 (0)