Skip to content
Start here

Leaked Credential Checks

Get Leaked Credential Checks Status
client.leakedCredentialChecks.get(LeakedCredentialCheckGetParams { zone_id } params, RequestOptionsoptions?): LeakedCredentialCheckGetResponse { enabled }
GET/zones/{zone_id}/leaked-credential-checks
Set Leaked Credential Checks Status
client.leakedCredentialChecks.create(LeakedCredentialCheckCreateParams { zone_id, enabled } params, RequestOptionsoptions?): LeakedCredentialCheckCreateResponse { enabled }
POST/zones/{zone_id}/leaked-credential-checks
ModelsExpand Collapse
LeakedCredentialCheckGetResponse { enabled }

Defines the overall status for Leaked Credential Checks.

enabled?: boolean

Determines whether or not Leaked Credential Checks are enabled.

LeakedCredentialCheckCreateResponse { enabled }

Defines the overall status for Leaked Credential Checks.

enabled?: boolean

Determines whether or not Leaked Credential Checks are enabled.

Leaked Credential ChecksDetections

List Leaked Credential Checks Custom Detections
client.leakedCredentialChecks.detections.list(DetectionListParams { zone_id } params, RequestOptionsoptions?): SinglePage<DetectionListResponse { id, password, username } >
GET/zones/{zone_id}/leaked-credential-checks/detections
Create Leaked Credential Checks Custom Detection
client.leakedCredentialChecks.detections.create(DetectionCreateParams { zone_id, password, username } params, RequestOptionsoptions?): DetectionCreateResponse { id, password, username }
POST/zones/{zone_id}/leaked-credential-checks/detections
Get Leaked Credential Checks Custom Detection
client.leakedCredentialChecks.detections.get(stringdetectionId, DetectionGetParams { zone_id } params, RequestOptionsoptions?): DetectionGetResponse { id, password, username }
GET/zones/{zone_id}/leaked-credential-checks/detections/{detection_id}
Update Leaked Credential Checks Custom Detection
client.leakedCredentialChecks.detections.update(stringdetectionId, DetectionUpdateParams { zone_id, password, username } params, RequestOptionsoptions?): DetectionUpdateResponse { id, password, username }
PUT/zones/{zone_id}/leaked-credential-checks/detections/{detection_id}
Delete Leaked Credential Checks Custom Detection
client.leakedCredentialChecks.detections.delete(stringdetectionId, DetectionDeleteParams { zone_id } params, RequestOptionsoptions?): DetectionDeleteResponse
DELETE/zones/{zone_id}/leaked-credential-checks/detections/{detection_id}
ModelsExpand Collapse
DetectionListResponse { id, password, username }

Defines a custom set of username/password expressions to match Leaked Credential Checks on.

id?: string

Defines the unique ID for this custom detection.

maxLength32
password?: string

Defines ehe ruleset expression to use in matching the password in a request.

username?: string

Defines the ruleset expression to use in matching the username in a request.

DetectionCreateResponse { id, password, username }

Defines a custom set of username/password expressions to match Leaked Credential Checks on.

id?: string

Defines the unique ID for this custom detection.

maxLength32
password?: string

Defines ehe ruleset expression to use in matching the password in a request.

username?: string

Defines the ruleset expression to use in matching the username in a request.

DetectionGetResponse { id, password, username }

Defines a custom set of username/password expressions to match Leaked Credential Checks on.

id?: string

Defines the unique ID for this custom detection.

maxLength32
password?: string

Defines ehe ruleset expression to use in matching the password in a request.

username?: string

Defines the ruleset expression to use in matching the username in a request.

DetectionUpdateResponse { id, password, username }

Defines a custom set of username/password expressions to match Leaked Credential Checks on.

id?: string

Defines the unique ID for this custom detection.

maxLength32
password?: string

Defines ehe ruleset expression to use in matching the password in a request.

username?: string

Defines the ruleset expression to use in matching the username in a request.

DetectionDeleteResponse = unknown