Skip to content

Querying Assets

Retrieve the list of all inventoried assets.

GET /api/assets

Query Parameters

  • type (optional): Filter by asset type (e.g., server, plc).
  • zone (optional): Filter by security zone ID.
  • vulnerable (optional): If true, returns only assets with known CVEs.

Response Example

json
{
  "total": 150,
  "data": [
    {
      "id": 1,
      "ip": "10.0.0.1",
      "name": "FW-Core",
      "risk_score": 8.5
    }
  ]
}

CoreSight Documentation