GET
/
waap
/
v1
/
domains
/
{domain_id}
/
insights
curl --request GET \
  --url https://api.gcore.com/waap/v1/domains/{domain_id}/insights \
  --header 'APIKey: <api-key>'
{
  "limit": 123,
  "offset": 123,
  "count": 123,
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "insight_type": "high-risk-ip-allowed",
      "labels": {},
      "first_seen": "2023-11-07T05:31:56Z",
      "last_seen": "2023-11-07T05:31:56Z",
      "last_status_change": "2023-11-07T05:31:56Z",
      "status": "OPEN",
      "description": "A request originated from a high-risk IP: 1.2.3.4, but it was allowed by rule: 'my custom rule' the description of the insight",
      "recommendation": "disable or delete rule \"my-custom-rule\""
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

domain_id
integer
required

The domain ID

Query Parameters

ordering
enum<string>
default:-last_seen

Sort the response by given field.

Available options:
id,
-id,
insight_type,
-insight_type,
first_seen,
-first_seen,
last_seen,
-last_seen,
last_status_change,
-last_status_change,
status,
-status
limit
integer
default:100

Number of items to return

Required range: 0 <= x <= 100
offset
integer
default:0

Number of items to skip

Required range: 0 <= x <= 100000
id
string[] | null

The ID of the insight

insight_type
string[] | null

The type of the insight

status
enum<string>[] | null

The status of the insight

description
string | null

The description of the insight. Supports '*' as a wildcard.

Maximum length: 450

Response

200
application/json

Successful Response

The response is of type object.