GEThttps://api.deepinfo.com/v1/easm/issues/stats/state

Counts issues per state.

Authentication

Send your API key in the apikey request header.

Query Parameters

ParameterRequiredDescription
assetOptional
Limit the statistics to one asset (its asset_id).
type_idOptional
Limit the result to one issue type (issue_type_id).
type_category_idOptional
Limit the result to one issue category (issue_type_category_id).

Response Fields

An array of objects:

FieldTypeDescription
statestring
The record's state; the values are listed in the endpoint's description. One of newly_detected, reappeared, unresolved, marked_as_resolved, risk_accepted, ignored, marked_as_false_positive, not_applicable, verified_resolved
countinteger
How many records the number counts; see the endpoint's description for what is being counted.

Response Schema

The response body is an array; [] marks its elements.

FieldTypeExample
[].statestring"newly_detected"
[].countnumber29

Examples

The request and response panels show this example.

  • OKGET/easm/issues/stats/state200 OK

Reference updated