Skip to content

Scanner

Gets the Scanner Audit Logs

GEThttps://api.entro.security/v1/scan/auditLogs

Authorizations

AuthorizationstringRequired

Query parameters

fromstringOptional

Date format dd/mm/yyyy

tostringOptional

Date format dd/mm/yyyy

Responses

200Successful response
GET/v1/scan/auditLogs
GET /v1/scan/auditLogs HTTP/1.1
Host: api.entro.security
Authorization: YOUR_API_KEY
Accept: */*
200Successful response
[
  {
    "request_id": "5ae363e4-0661-46cc-a56b-133b7fda1e9b",
    "secrets": [],
    "timestamp": 1741510628000,
    "date": "2025-03-09T08:57:08.000Z"
  },
  {
    "request_id": "b14b4819-e055-47bc-a4a5-2d6881211009",
    "secrets": [
      {
        "secret_type": "GITHUB_API_TOKEN",
        "exposed_value": "ghp_BT*******************ffv32CiUiw1R82UC7vz",
        "line_number": 1
      }
    ],
    "timestamp": 1741510053000,
    "date": "2025-03-09T08:47:33.000Z"
  }
]

Scan Content for Exposed Secrets

POSThttps://api.entro.security/v2/scan

Authorizations

AuthorizationstringRequired

Query parameters

genericbooleanOptional

Allow generic secret type

redactbooleanOptional

Redact secrets from the response

Body

anyOptional

Responses

200Successful response
POST/v2/scan
POST /v2/scan HTTP/1.1
Host: api.entro.security
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "data": "ghp_BTqLYdZxZZt40adNxffv32CiUiw1R82UC7vz"
}
200Successful response
{
  "requestId": "9752d9bd-58c4-4e98-9ab2-df5a50c79ccf",
  "totalCount": 1,
  "results": [
    {
      "origin": "GITHUB_API_TOKEN",
      "value": "ghp_BTqLYdZxZZt40adNxffv32CiUiw1R82UC7vz",
      "line": 1
    }
  ]
}