POST /zones/{zone_id}/leaked-credential-checks/detections
Create a detection location for credentials that the default scan locations do not cover, using Rules language expressions such as lookup_json_string(http.request.body.raw, "user"). Only the username expression is required, and Leaked Credential Checks must be enabled on the zone.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
zone_id |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | No |
Defines the unique ID for this custom detection. |
username |
String | No |
Defines the ruleset expression to use in matching the username in a request. |
password |
String | No |
Defines ehe ruleset expression to use in matching the password in a request. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.