@corsair-dev/abuseipdb 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/package.json +9 -3
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @corsair-dev/abuseipdb
|
|
2
|
+
|
|
3
|
+
AbuseIPDB plugin for Corsair.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @corsair-dev/abuseipdb
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Endpoints
|
|
12
|
+
|
|
13
|
+
| Operation | Operation ID | Risk | Description |
|
|
14
|
+
|-----------|--------------|------|-------------|
|
|
15
|
+
| `address.clear` | `abuseipdb.api.address.clear` | `destructive` | Remove all reports for an IP address from your account and return the number deleted |
|
|
16
|
+
| `blacklist.get` | `abuseipdb.api.blacklist.get` | `read` | Download the blacklist of most-reported IPs, optionally filtered by confidence minimum, country, and IP version |
|
|
17
|
+
| `block.check` | `abuseipdb.api.block.check` | `read` | Check a CIDR network block and list the reported addresses within it |
|
|
18
|
+
| `check.ip` | `abuseipdb.api.check.ip` | `read` | Look up an IP address and get its abuse confidence score, country, ISP, usage type, and optionally recent reports |
|
|
19
|
+
| `report.ip` | `abuseipdb.api.report.ip` | `write` | Submit an abuse report for an IP address with one or more abuse category IDs |
|
|
20
|
+
| `reports.list` | `abuseipdb.api.reports.list` | `read` | Get a paginated list of abuse reports filed against a single IP address |
|
|
21
|
+
|
|
22
|
+
## Auth
|
|
23
|
+
|
|
24
|
+
Auth: API key. Corsair prompts your tenant for credentials on first use.
|
|
25
|
+
|
|
26
|
+
## Webhooks
|
|
27
|
+
|
|
28
|
+
No webhooks.
|
|
29
|
+
|
|
30
|
+
## Reference
|
|
31
|
+
|
|
32
|
+
Full docs, types, and examples: https://docs.corsair.dev/plugins/abuseipdb
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corsair-dev/abuseipdb",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "AbuseIPDB plugin for Corsair",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,18 +24,24 @@
|
|
|
24
24
|
"tsup": "^8.0.1",
|
|
25
25
|
"typescript": "^5.9.3",
|
|
26
26
|
"zod": "^4.1.13",
|
|
27
|
-
"corsair": "0.1.
|
|
27
|
+
"corsair": "0.1.129"
|
|
28
28
|
},
|
|
29
29
|
"keywords": [
|
|
30
30
|
"corsair",
|
|
31
31
|
"abuseipdb",
|
|
32
32
|
"plugin"
|
|
33
33
|
],
|
|
34
|
-
"author": "",
|
|
34
|
+
"author": "Corsair (https://corsair.dev)",
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
36
|
"files": [
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "git+https://github.com/corsairdev/corsair.git",
|
|
42
|
+
"directory": "packages/abuseipdb"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://docs.corsair.dev/plugins/abuseipdb",
|
|
39
45
|
"scripts": {
|
|
40
46
|
"build": "rm -rf dist && tsc --build --force && tsup",
|
|
41
47
|
"typecheck": "tsc --noEmit",
|