Asset Data - AssetDataContainer Retrieve, Update, and Delete Methods

URI

https://164.99.19.131:8443/SentinelRESTServices/objects/asset-data-container/{Id}

Supported Methods

GET
PUT
DELETE
GET

Authentication

Authentication Types
Sentinel Permissions Needed

Supported Formats

Response

URL Parameters

None.

Success Codes

Fault Codes

Response Data

Object type: asset-data-container
An Asset Data object contains identification and location information about enterprise assets.
FieldDescription
assetsA list of asset objects, generated as the result of an executed asset report. Definition
eventsThe list of AssetEventData objects used to locate AssetData objects when executing an asset report. Definition
idUnique identifier for asset container.
metaThe metadata for an object, including the object type name and the URL reference to the object. Definition
Object type: meta
The metadata for an object, including the object type name and the URL reference to the object.
FieldDescription
@hrefThe URL reference to the object.
typeThe name of the object type
Object type: asset-data
An Asset Data object contains identification and location information about an enterprise assets.
FieldDescription
address-line1The primary address of the asset.
address-line2The secondary address of the asset, such as a suite or appartment number.
asset-categoryThe category or grouping for the asset. Must be one of the values from the asset category table. Default values include: "UNKNOWN", "DESKTOP", "OS". "SERVICE".
asset-nameThe human readable name given to the asset.
asset-valueThe monitary or relative value assigned to the asset.
buildingThe building where the asset is located.
cityThe city were the asset is located.
contactsA contact or responsible party list for the asset. Definition
countryThe country where the asset is located.
criticalityA value indicating how critical the asset is in the enterprise.
customer-idA unique ID assigned to a specific customer. For example an MSSP will assign their customers a unique ID.
hostnameThe host name assigned to the asset.
ipThe IP address assigned to the asset.
ip-addressesA list of IP addresses assigned to the asset. Definition
mac-addressThe MAC Address of the asset.
product-nameThe asset product name.
product-versionThe aset product version.
rack-numberThe number used to identify a specific rack or shelve where the asset is located.
roomThe room number where the asset is located.
sensitivityNeeds description.
soft-assetsA list of software assets installed or registered to the asset. Definition
stateThe state were the asset is located.
vendorThe vendor or manufacturer of the asset.
zipcodeThe zip code of the city where the asset is located.
Object type: asset-event-data
An Asset Event Data object contains event information required to search for assets in the system such as host names, IP addresses as well as event IDs and event times.
FieldDescription
customer-nameSearch for assets from a specific customer.
dhnSearch for assets containing the given target host name event field value.
dipSearch for assets containing the given target IP event field value.
shnSearch for assets containing the given source host name event field value.
sipSearch for assets containing the given source IP event field value.
timeUsed to find assets associated with a given event ID and time.
uuidUsed to find assets associated with a given event ID and time.

Sample Request

GET https://164.99.19.131:8443/SentinelRESTServices/objects/asset-data-container/Wildebeest
Sample Response for application/json
Status: 200
{
   "meta":{
      "type":"asset-data-container",
      "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/asset-data-container/Wildebeest"
   },
   "id":"Wildebeest",
   "assets":[
      {
         "building":"Main",
         "product-name":"Windows",
         "sensitivity":"Wildebeest",
         "vendor":"Company",
         "zipcode":"84606",
         "asset-name":"HR Server1",
         "state":"Utah",
         "asset-category":"DESKTOP",
         "hostname":"server1.company.com",
         "address-line1":"1800 North Place",
         "mac-address":"Wildebeest",
         "address-line2":"Suite 22",
         "ip":"167.54.1.12",
         "city":"Provo",
         "country":"USA",
         "criticality":"High",
         "customer-id":"101001",
         "asset-value":"$1000",
         "rack-number":"A3-3",
         "product-version":"v1.0.0",
         "room":"H363",
         "ip-addresses":[
            {
               "ip-address":"167.51.2.11",
               "id":"79600390-9B73-102E-A3E2-001676E4A757",
               "hostname":"server.company.com"
            }
         ],
         "soft-assets":[
            {
               "id":"79600390-9B73-102E-A3E2-001676E4A757",
               "category":"OS",
               "product-name":"Windows 7",
               "vendor":"Company",
               "name":"Windows 7",
               "product-version":"v1.0.0"
            }
         ],
         "contacts":[
            {
               "id":"79600390-9B73-102E-A3E2-001676E4A757",
               "name":"Joe Smith",
               "seq":"Wildebeest",
               "role":"IT Manager",
               "email-address":"joe@company.com",
               "phone-number":"555-555-7000"
            }
         ]
      }
   ],
   "events":[
      {
         "shn":"server.company.com",
         "time":"2012-04-25T13:33:44.675Z",
         "dip":"167.52.1.12",
         "sip":"167.52.1.12",
         "uuid":"79600390-9B73-102E-A3E2-001676E4A757",
         "customer-name":"Company A",
         "dhn":"server.company.com"
      }
   ]
}
PUT

Authentication

Authentication Types
Sentinel Permissions Needed

Supported Formats

Request

URL Parameters

None.

Success Codes

Fault Codes

Request Data

Object type: asset-data-container
An Asset Data object contains identification and location information about enterprise assets.
FieldRequiredDescription
assetsfalseA list of asset objects, generated as the result of an executed asset report. Definition
eventsfalseThe list of AssetEventData objects used to locate AssetData objects when executing an asset report. Definition
idfalseUnique identifier for asset container.

Object type: meta
The metadata for an object, including the object type name and the URL reference to the object.
FieldRequiredDescription
@hreffalseThe URL reference to the object.
typefalseThe name of the object type

Object type: asset-data
An Asset Data object contains identification and location information about an enterprise assets.
FieldRequiredDescription
address-line1falseThe primary address of the asset.
address-line2falseThe secondary address of the asset, such as a suite or appartment number.
asset-categoryfalseThe category or grouping for the asset. Must be one of the values from the asset category table. Default values include: "UNKNOWN", "DESKTOP", "OS". "SERVICE".
asset-namefalseThe human readable name given to the asset.
asset-valuefalseThe monitary or relative value assigned to the asset.
buildingfalseThe building where the asset is located.
cityfalseThe city were the asset is located.
contactsfalseA contact or responsible party list for the asset. Definition
countryfalseThe country where the asset is located.
criticalityfalseA value indicating how critical the asset is in the enterprise.
customer-idfalseA unique ID assigned to a specific customer. For example an MSSP will assign their customers a unique ID.
hostnamefalseThe host name assigned to the asset.
ipfalseThe IP address assigned to the asset.
ip-addressesfalseA list of IP addresses assigned to the asset. Definition
mac-addressfalseThe MAC Address of the asset.
product-namefalseThe asset product name.
product-versionfalseThe aset product version.
rack-numberfalseThe number used to identify a specific rack or shelve where the asset is located.
roomfalseThe room number where the asset is located.
sensitivityfalseNeeds description.
soft-assetsfalseA list of software assets installed or registered to the asset. Definition
statefalseThe state were the asset is located.
vendorfalseThe vendor or manufacturer of the asset.
zipcodefalseThe zip code of the city where the asset is located.

Object type: asset-event-data
An Asset Event Data object contains event information required to search for assets in the system such as host names, IP addresses as well as event IDs and event times.
FieldRequiredDescription
customer-namefalseSearch for assets from a specific customer.
dhnfalseSearch for assets containing the given target host name event field value.
dipfalseSearch for assets containing the given target IP event field value.
shnfalseSearch for assets containing the given source host name event field value.
sipfalseSearch for assets containing the given source IP event field value.
timefalseUsed to find assets associated with a given event ID and time.
uuidfalseUsed to find assets associated with a given event ID and time.

Sample Request

PUT https://164.99.19.131:8443/SentinelRESTServices/objects/asset-data-container/Wildebeest
{
   "id":"Wildebeest",
   "assets":[
      {
         "building":"Main",
         "product-name":"Windows",
         "sensitivity":"Wildebeest",
         "vendor":"Company",
         "zipcode":"84606",
         "asset-name":"HR Server1",
         "state":"Utah",
         "asset-category":"DESKTOP",
         "hostname":"server1.company.com",
         "address-line1":"1800 North Place",
         "mac-address":"Wildebeest",
         "address-line2":"Suite 22",
         "ip":"167.54.1.12",
         "city":"Provo",
         "country":"USA",
         "criticality":"High",
         "customer-id":"101001",
         "asset-value":"$1000",
         "rack-number":"A3-3",
         "product-version":"v1.0.0",
         "room":"H363",
         "ip-addresses":[
            {
               "ip-address":"167.51.2.11",
               "id":"79600390-9B73-102E-A3E2-001676E4A757",
               "hostname":"server.company.com"
            }
         ],
         "soft-assets":[
            {
               "id":"79600390-9B73-102E-A3E2-001676E4A757",
               "category":"OS",
               "product-name":"Windows 7",
               "vendor":"Company",
               "name":"Windows 7",
               "product-version":"v1.0.0"
            }
         ],
         "contacts":[
            {
               "id":"79600390-9B73-102E-A3E2-001676E4A757",
               "name":"Joe Smith",
               "seq":"Wildebeest",
               "role":"IT Manager",
               "email-address":"joe@company.com",
               "phone-number":"555-555-7000"
            }
         ]
      }
   ],
   "events":[
      {
         "shn":"server.company.com",
         "time":"2012-04-25T13:33:44.675Z",
         "dip":"167.52.1.12",
         "sip":"167.52.1.12",
         "uuid":"79600390-9B73-102E-A3E2-001676E4A757",
         "customer-name":"Company A",
         "dhn":"server.company.com"
      }
   ]
}
Sample Response for application/json
Status: 200

DELETE

Authentication

Authentication Types
Sentinel Permissions Needed

URL Parameters

None.

Success Codes

Fault Codes

Sample Request

DELETE https://164.99.19.131:8443/SentinelRESTServices/objects/asset-data-container/Wildebeest