Web Scanner Rules
Manage suppression rules attached to a web scanner. Rules tell the scanner to ignore specific cookies, hostnames, or full script URLs during crawl analysis. Scoped to a parent scanner — list, find, create, update, or delete by rule id.
Manage suppression rules attached to a web scanner. Rules tell the scanner to ignore specific cookies, hostnames, or full script URLs during crawl analysis. Rules are scoped to a parent scanner — list, find, create, update, or delete by rule id.
Authorization
apiKey Ours Privacy API key
In: header
Query Parameters
The web scanner whose suppression rules should be returned.
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/web-scanner-rules?scannerId=string"{ "entities": [ { "id": "string", "scannerId": "string", "accountId": "string", "name": "string", "reason": "approved", "notes": "string", "priority": 0, "cookiePatterns": [ "string" ], "domainPatterns": [ "string" ], "scriptPatterns": [ "string" ], "createdAt": "string", "updatedAt": "string", "createdByUserId": "string", "updatedByUserId": "string" } ]}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}Authorization
apiKey Ours Privacy API key
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/rest/v1/web-scanner-rules" \ -H "Content-Type: application/json" \ -d '{ "scannerId": "string", "name": "string", "priority": 1 }'{ "id": "string", "scannerId": "string", "accountId": "string", "name": "string", "reason": "approved", "notes": "string", "priority": 0, "cookiePatterns": [ "string" ], "domainPatterns": [ "string" ], "scriptPatterns": [ "string" ], "createdAt": "string", "updatedAt": "string", "createdByUserId": "string", "updatedByUserId": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}Authorization
apiKey Ours Privacy API key
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/web-scanner-rules/string"{ "id": "string", "scannerId": "string", "accountId": "string", "name": "string", "reason": "approved", "notes": "string", "priority": 0, "cookiePatterns": [ "string" ], "domainPatterns": [ "string" ], "scriptPatterns": [ "string" ], "createdAt": "string", "updatedAt": "string", "createdByUserId": "string", "updatedByUserId": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}Authorization
apiKey Ours Privacy API key
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/rest/v1/web-scanner-rules/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "scannerId": "string", "accountId": "string", "name": "string", "reason": "approved", "notes": "string", "priority": 0, "cookiePatterns": [ "string" ], "domainPatterns": [ "string" ], "scriptPatterns": [ "string" ], "createdAt": "string", "updatedAt": "string", "createdByUserId": "string", "updatedByUserId": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}Authorization
apiKey Ours Privacy API key
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/rest/v1/web-scanner-rules/string"{ "id": "string", "deleted": true}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}{ "error": "string", "details": "string"}How is this guide?

