Shield

Shield summary for an environment

Changed on

The mode the environment runs in and where it is set, requests by verdict and by source, what selective would have blocked or challenged, and challenge solve times, over the last hour, day or week.

get/projects/{project_id}/environments/{environment_id}/shield/summary

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

environment_idinteger required

Environment ID

Query parameters

window'1h' | '24h' | '7d'

The window a summary covers.

1h, 24h (the default) or 7d.

Response

Shield summary

endstring date-time required
environment_idinteger required
mode'off' | 'log' | 'selective' | 'attack' required

The mode the environment runs in.

mode_source'environment' | 'project' required

Where an environment's mode is set.

project_idinteger required
project_mode'off' | 'log' | 'selective' | 'attack' required

The project's mode, which an inheriting environment runs in.

startstring date-time required
storagestring required

clickhouse or postgres: where the counts come from.

window'1h' | '24h' | '7d' required

The window a summary covers.

Example response

{
  "sources": [
    {
      "source": "spamhaus_drop"
    }
  ]
}

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    1 more change in this revision