attack_status
Creates, updates, deletes, gets or lists an attack_status resource.
Overview
| Name | attack_status |
| Type | Resource |
| Id | vercel.security.attack_status |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
owner_id | string | (wire: ownerId) |
project_id | string | (wire: projectId) |
affected_host_map | object | (wire: affectedHostMap) |
at_minute | number | (wire: atMinute) |
end_time | number | (wire: endTime) |
start_time | number | (wire: startTime) |
state | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | project_id | since, team_id, slug | Retrieve active attack data within the last N days (default: 1 day) |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
project_id | string | (wire: projectId) |
since | number | |
slug | string | The Team slug to perform the request on behalf of. |
team_id | string | The Team identifier to perform the request on behalf of. (wire: teamId) |
SELECT examples
- get
Retrieve active attack data within the last N days (default: 1 day)
SELECT
owner_id,
project_id,
affected_host_map,
at_minute,
end_time,
start_time,
state
FROM vercel.security.attack_status
WHERE project_id = '{{ project_id }}' -- required
AND since = '{{ since }}'
AND team_id = '{{ team_id }}'
AND slug = '{{ slug }}'
;