v50

latestOpenAPI 3.0.0Commercialraw.githubusercontent.com2022-08-0911645127.8 KB
Splunk

Exports the asset inventory in a sync-friendly manner using created_at as a checkpoint. Requires the Splunk entitlement.

get/export/org/assets/sync/created/assets.json

Query parameters

searchstring

an optional search string for filtering results

fieldsstring

an optional list of fields to export, comma-separated

sinceinteger
Example:1576300370

an optional unix timestamp to use as a checkpoint

Response

filtered asset results with a checkpoint wrapper

sinceinteger required

Example response

{
  "since": 1576300370,
  "assets": [
    {
      "id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
      "created_at": 1576300370,
      "updated_at": 1576300370,
      "organization_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
      "site_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
      "alive": true,
      "first_seen": 1576300370,
      "last_seen": 1576300370,
      "detected_by": "icmp",
      "type": "Server",
      "os": "Ubuntu Linux",
      "hw": "Dell PowerEdge 2500",
      "addresses": [
        "192.168.0.1"
      ],
      "addresses_extra": [
        "192.168.100.1"
      ],
      "macs": [
        "11:22:33:44:55:66"
      ],
      "mac_vendors": [
        "Dell"
      ],
      "names": [
        "www"
      ],
      "domains": [
        "www"
      ],
      "service_count": 10,
      "service_count_tcp": 7,
      "service_count_udp": 1,
      "service_count_arp": 1,
      "service_count_icmp": 1,
      "lowest_rtt": 1,
      "last_agent_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
      "last_task_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
      "newest_mac": "11:22:33:44:55:66",
      "newest_mac_vendor": "Intel Corporate",
      "newest_mac_age": 1304035200000000000,
      "comments": "File Server",
      "service_ports_protocols": [
        "ssh"
      ],
      "service_ports_products": [
        "bind"
      ],
      "org_name": "Test Labs",
      "site_name": "Primary",
      "agent_name": "LAPTOP-F4P1R6"
    }
  ]
}