Custom Hosts

List detector custom hosts

List the custom hosts configured on the workspace, grouped by secret detector.

Only secret detectors that support custom hosts are returned.

get/v1/detector-custom-hosts

Response

List of secret detectors with their custom hosts

detector_namestring required
checker_default_base_urlstring uri nullable required

Base URL of the default instance used when no custom host applies

Example response

[
  {
    "detector_name": "gitlab_token",
    "checker_default_base_url": "https://gitlab.com",
    "custom_hosts": [
      {
        "base_url": "https://gitlab.acme.com",
        "is_active": true,
        "status": "valid"
      }
    ]
  }
]

Changes

Changed in 1 of the 17 revisions of this API.1