@waftester/cli 2.8.1 → 2.8.3
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 +15 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -163,15 +163,28 @@ Add to Cursor MCP settings:
|
|
|
163
163
|
|
|
164
164
|
## CI/CD Integration
|
|
165
165
|
|
|
166
|
+
### GitHub Actions (Recommended)
|
|
167
|
+
|
|
168
|
+
Use the official [WAFtester Action](https://github.com/marketplace/actions/waftester-waf-security-testing) for zero-install CI/CD:
|
|
169
|
+
|
|
170
|
+
```yaml
|
|
171
|
+
- uses: waftester/waftester-action@v1
|
|
172
|
+
with:
|
|
173
|
+
target: ${{ env.TARGET_URL }}
|
|
174
|
+
scan-type: scan
|
|
175
|
+
format: sarif
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Alternative: npx in GitHub Actions
|
|
179
|
+
|
|
166
180
|
```yaml
|
|
167
|
-
# GitHub Actions
|
|
168
181
|
- name: WAF Security Assessment
|
|
169
182
|
run: |
|
|
170
183
|
npx -y @waftester/cli scan -u ${{ env.TARGET_URL }} \
|
|
171
184
|
-format sarif -o results.sarif
|
|
172
185
|
|
|
173
186
|
- name: Upload SARIF
|
|
174
|
-
uses: github/codeql-action/upload-sarif@
|
|
187
|
+
uses: github/codeql-action/upload-sarif@v3
|
|
175
188
|
with:
|
|
176
189
|
sarif_file: results.sarif
|
|
177
190
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waftester/cli",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "WAFtester — the most comprehensive WAF testing CLI & MCP server",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"repository": {
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"node": ">=16"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {
|
|
46
|
-
"@waftester/darwin-x64": "2.8.
|
|
47
|
-
"@waftester/darwin-arm64": "2.8.
|
|
48
|
-
"@waftester/linux-x64": "2.8.
|
|
49
|
-
"@waftester/linux-arm64": "2.8.
|
|
50
|
-
"@waftester/win32-x64": "2.8.
|
|
51
|
-
"@waftester/win32-arm64": "2.8.
|
|
46
|
+
"@waftester/darwin-x64": "2.8.3",
|
|
47
|
+
"@waftester/darwin-arm64": "2.8.3",
|
|
48
|
+
"@waftester/linux-x64": "2.8.3",
|
|
49
|
+
"@waftester/linux-arm64": "2.8.3",
|
|
50
|
+
"@waftester/win32-x64": "2.8.3",
|
|
51
|
+
"@waftester/win32-arm64": "2.8.3"
|
|
52
52
|
}
|
|
53
53
|
}
|