Shield

Add a Shield entry to a project

Changed on

One address, CIDR range or JA4 fingerprint, with the verdict it gets. It applies from the next snapshot, within minutes.

post/projects/{project_id}/shield/entries

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

Request body

expires_atstring date-time nullable

When the entry stops applying; omit for never.

ja4string nullable

A JA4 fingerprint; exactly one of network and ja4.

networkstring nullable

An address or CIDR range; exactly one of network and ja4.

notestring nullable
verdict'allow' | 'log' | 'challenge' | 'block' required

The verdict an operator entry gives what it matches.

Response

Entry added

created_atstring date-time required
created_byinteger nullable
expires_atstring date-time nullable

After this the entry no longer applies; null for never.

idinteger required
ja4string nullable

The fingerprint, when the entry names one.

networkstring nullable

The address range, when the entry names one.

notestring nullable
project_idinteger nullable
scope'platform' | 'project' required

Whose entries: the platform's, or one project's.

verdict'allow' | 'log' | 'challenge' | 'block' required

The verdict an operator entry gives what it matches.

Example response

{
  "network": "185.93.89.0/24"
}

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

    3 more changes in this revision