Skip to main content

attack_status

Creates, updates, deletes, gets or lists an attack_status resource.

Overview

Nameattack_status
TypeResource
Idvercel.security.attack_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
owner_idstring (wire: ownerId)
project_idstring (wire: projectId)
affected_host_mapobject (wire: affectedHostMap)
at_minutenumber (wire: atMinute)
end_timenumber (wire: endTime)
start_timenumber (wire: startTime)
statestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectproject_idsince, team_id, slugRetrieve 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.

NameDatatypeDescription
project_idstring (wire: projectId)
sincenumber
slugstringThe Team slug to perform the request on behalf of.
team_idstringThe Team identifier to perform the request on behalf of. (wire: teamId)

SELECT examples

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 }}'
;