Skip to main content
GET
Get issue statistics

Query Parameters

include_suppressed
boolean
default:false

Include suppressed findings that were dismissed as false positives or accepted risks in the counts. Other deleted findings remain excluded.

severity
enum<string>[]

Filter by severity (OR within)

Available options:
critical,
high,
medium,
low,
info,
unknown
status
enum<string>[]

Filter by status (OR within)

out_of_scope is reserved and no issue uses it; creating or editing an issue with it is refused.

Available options:
unverified,
open,
confirmed,
in_progress,
resolved,
false_positive,
accepted_risk,
duplicate,
out_of_scope
type
enum<string>[]

Filter by type (OR within)

Available options:
vulnerability,
misconfiguration,
exposure,
information,
compliance,
other
source
string[]

Filter by source (OR within, any string value)

priority
enum<string>[]

Filter by priority (OR within)

Available options:
critical,
high,
medium,
low,
none
confidence
enum<string>[]

Filter by confidence (OR within)

Available options:
confirmed,
firm,
tentative
host
string

Filter by host (partial match)

ip_address
string

Filter by IP address (partial match)

template_id
string

Filter by template ID (partial match)

component
string

Filter by component (partial match)

assignee
string

Filter by assignee (partial match)

port
integer

Filter by port (exact match)

tags
string[]

Filter by tags (must have ALL)

Full-text search across title, description, host, template

ticket_id
string

Filter by external ticket id (exact match)

fingerprint
string

Filter by content-stable fingerprint (exact match)

created_after
string<date-time>

Filter issues created after this timestamp

created_before
string<date-time>

Filter issues created before this timestamp

target
string

Filter by target field (partial match)

target_type
string

Filter by target_type (exact match)

domain
string[]

Filter by root domain of the host, for example example.com for www.example.com (exact match, OR within)

scan_id
string

Filter to issues found by this scan

repo
string

Filter to issues filed by a review of this repository (owner/name, exact). Kept in step with the list endpoint so the counts match the rows.

affected_host
string

Count only issues that include an affected asset with this host

min_affected
integer

Count only issues with at least this many affected assets

cve_id
string

Count only issues that contain this CVE ID in their cve_ids array (exact match)

cwe_id
string

Count only issues that contain this CWE ID in their cwe_ids array (exact match)

min_cvss
number<float>

Count only issues with CVSS score >= this value

max_cvss
number<float>

Count only issues with CVSS score <= this value

has_ticket
boolean

Count only issues that have (true) or don't have (false) a linked ticket

project_id
string<uuid>

Scope statistics to a specific project

task_id
string

Scope statistics to a specific task

created_by
string<email>

Filter by creator email (exact match). An email that matches no user yields zero counts.

facets
enum<string>[]

Counts to compute. Omitted computes all of them. Each facet is a separate count over the matching issues, so ask only for what you show. A facet not asked for comes back as an empty list, and total as 0.

Available options:
total,
severity,
status,
source,
priority,
type,
target_type

Response

Issue statistics

by_priority
object[]
required
by_severity
object[]
required
by_source
object[]
required
by_status
object[]
required
by_type
object[]
required
total
integer
required
by_target_type
object[]