GET
/
api
/
v2
/
posture-stats
{
  "count": 1,
  "skip": 1,
  "limit": 1,
  "start": "2023-11-07T05:31:56Z",
  "end": "2023-11-07T05:31:56Z",
  "data": [
    {
      "id": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "deleted_at": {
        "time": "2023-11-07T05:31:56Z",
        "valid": true
      },
      "domain_sid": "<string>",
      "exposure_index": 123,
      "tier_zero_count": 123,
      "critical_risk_count": 123
    }
  ]
}
Applies to BloodHound Enterprise only

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Headers

Prefer
integer
default:0

Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.

Required range: x >= 0

Query Parameters

sort_by
string

Sortable columns are domain_sid, exposure_index, tier_zero_count, critical_risk_count, id, created_at, updated_at, deleted_at.

from
string<date-time>
deprecated

Lower bound for created_at; to return posture stats starting at a specific date/time

to
string<date-time>
deprecated

Upper bound for created_at; to return posture stats upto a specific date/time

domain_sid
string

Filter results by column string value. Valid filter predicates are eq, ~eq, neq.

exposure_index
integer

Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.

tier_zero_count
integer

Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.

critical_risk_count
integer

Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.

id
integer

Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.

asset_group_tag_id
integer

The asset group tag id of the zone requested. If not supplied, the asset group tag id associated with 'Tier Zero' is used.

Response

200
application/json

OK

The response is of type object.