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

Counts issues per issue type (filter by severity, sort with ordering).

Authentication

Send your API key in the apikey request header.

Query Parameters

ParameterRequiredDescription
severityOptional
Severity to filter by: critical, high, medium, low or info.
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).
orderingOptional
Sort order: a field name, with - in front for descending (e.g. -added_date). Measured on DEMO, this endpoint accepts severity, affected_asset_count.

Response Fields

An array of objects:

FieldTypeDescription
severitystring
Severity of the finding: critical, high, medium, low or info. One of Critical, High, Medium, Low, Information
typeobject
The record's type; the values are listed in the endpoint's description.
affected_asset_countinteger
How many of your assets use the technology.

Response Schema

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

FieldTypeExample
[].severitystring"Critical"
[].typeobject
[].type.idstring"000000000000000e16fe0001"
[].type.namestring"Expired SSL certificate"
[].type.categoryobject
[].type.category.idstring"000000000000000e1c170001"
[].type.category.namestring"SSL/TLS"
[].type.severitystring"Critical"
[].affected_asset_countnumber13

Examples

The request and response panels show this example.

  • OKGET/easm/issues/stats/type200 OK

Reference updated