v50

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

Exports the asset inventory as JSON

get/export/org/assets.servicenow.json

Response

filtered asset results

asset_idstring uuid required
organizationstring
sitestring
detected_bystring
typestring
sys_class_namestring
os_vendorstring
os_productstring
os_versionstring
hw_vendorstring
hw_productstring
hw_versionstring
ip_addressstring
addresses_scopestring
addresses_extrastring
mac_addressstring mac
mac_manufacturerstring
newest_mac_agestring
macsstring mac
mac_vendorsstring
namestring
tagsstring
domainsstring
service_countinteger
service_count_tcpinteger
service_count_udpinteger
service_count_arpinteger
service_count_icmpinteger
lowest_ttlinteger
lowest_rttinteger
aliveboolean
first_discoveredstring
last_discoveredstring
last_updatedstring
commentsstring

Example response

[
  {
    "asset_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
    "organization": "Headquarters",
    "site": "Primary",
    "detected_by": "icmp",
    "type": "Server",
    "sys_class_name": "cmdb_ci_iot",
    "os_vendor": "Microsoft",
    "os_product": "Windows 10",
    "hw_vendor": "Dell",
    "hw_product": "PowerEdge",
    "ip_address": "192.168.0.1",
    "addresses_scope": "192.168.100.1;192.168.100.2",
    "addresses_extra": "192.168.0.5;192.168.0.3",
    "mac_address": "11:22:33:44:55:66",
    "mac_manufacturer": "Dell",
    "newest_mac_age": "2020-01-01",
    "macs": "11:22:33:44:55:66",
    "mac_vendors": "Dell",
    "name": "www;server",
    "tags": "owner=IT;location=Austin",
    "domains": "rumble.run;rumble.local.lan",
    "service_count": 10,
    "service_count_tcp": 7,
    "service_count_udp": 1,
    "service_count_arp": 1,
    "service_count_icmp": 1,
    "lowest_rtt": 1,
    "alive": true,
    "first_discovered": "2006-01-02 15:04:05",
    "last_discovered": "2006-01-02 15:04:05",
    "last_updated": "2006-01-02 15:04:05",
    "comments": "File Server"
  }
]