Create a HIP object
POST/hip-objects
Create a new HIP object.
Request
- application/json
Body
Created
- folder
- snippet
- device
- contains
- is
- is_not
- contains
- Microsoft
- Apple
- Linux
- Other
- contains
- is
- is_not
- contains
- is
- is_not
- contains
- is
- is_not
- contains
- is
- is_not
- is
- is_not
- wifi
- mobile
- unknown
- wifi
- mobile
- ethernet
- unknown
- greater_equal
- greater_than
- is
- is_not
- less_equal
- less_than
- Array [
- ]
- Array [
- ]
- Array [
- ]
- within
- not_within
- days
- versions
- days
- versions
- greater_equal
- greater_than
- is
- is_not
- less_equal
- less_than
- contains
- within
- not_within
- not_available
- within
- not_within
- days
- hours
- days
- hours
- Array [
- ]
- not_available
- within
- not_within
- days
- hours
- days
- hours
- Array [
- ]
- Array [
- is
- is_not
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
- within
- not_within
- contains
- is
- is_not
- contains
- is
- is_not
- contains
- is
- is_not
- contains
- is
- is_not
- no
- yes
- Array [
- ]
- Array [
- ]
- Array [
- ]
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The folder in which the resource is defined
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The snippet in which the resource is defined
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The device in which the resource is defined
Possible values: <= 31 characters
, Value must match regular expression ^[ a-zA-Z\d.-_]+$
The name of the HIP object
Possible values: <= 255 characters
host_info object
criteria objectrequired
domain object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
os object
contains object required
Possible values: <= 255 characters
Default value: All
Microsoft vendor
Possible values: <= 255 characters
Default value: All
Apple vendor
Possible values: <= 255 characters
Default value: All
Google vendor
Possible values: <= 255 characters
Default value: All
Linux vendor
Possible values: <= 255 characters
Other vendor
client_version object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
host_name object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
host_id object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
If device is managed
serial_number object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
network_info object
criteria object
network object
is object
wifi object
Possible values: <= 1023 characters
, Value must match regular expression .*
SSID
mobile object
Possible values: <= 1023 characters
, Value must match regular expression .*
is_not object
wifi object
Possible values: <= 1023 characters
, Value must match regular expression .*
SSID
mobile object
Possible values: <= 1023 characters
, Value must match regular expression .*
patch_management object
criteria object
Default value: true
Is Installed
Possible values: [no
, yes
, not-available
]
is enabled
missing_patches object
severity object
Possible values: <= 100000
Possible values: <= 100000
Possible values: <= 100000
Possible values: <= 100000
Possible values: <= 100000
Possible values: <= 100000
Possible values: <= 1023 characters
, Value must match regular expression .*
Possible values: [has-any
, has-none
, has-all
]
Default value: has-any
vendor object[]
Vendor name
Possible values: <= 103 characters
Possible values: <= 1023 characters
, Value must match regular expression .*
Product name
data_loss_prevention object
criteria object
Default value: true
Is Installed
Possible values: [no
, yes
, not-available
]
is enabled
vendor object[]
Vendor name
Possible values: <= 103 characters
Possible values: <= 1023 characters
, Value must match regular expression .*
Product name
firewall object
criteria object
Default value: true
Is Installed
Possible values: [no
, yes
, not-available
]
is enabled
vendor object[]
Vendor name
Possible values: <= 103 characters
Possible values: <= 1023 characters
, Value must match regular expression .*
anti_malware object
criteria object
virdef_version object
within object required
Possible values: >= 1
and <= 65535
Default value: 1
specify time in days
Possible values: >= 1
and <= 65535
Default value: 1
specify versions range
not_within object required
Possible values: >= 1
and <= 65535
Default value: 1
specify time in days
Possible values: >= 1
and <= 65535
Default value: 1
specify versions range
product_version object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
within objectrequired
Possible values: >= 1
and <= 65535
Default value: 1
versions range
not_within objectrequired
Possible values: >= 1
and <= 65535
Default value: 1
versions range
Default value: true
Is Installed
Possible values: [no
, yes
, not-available
]
real time protection
last_scan_time object
within object required
Possible values: >= 1
and <= 65535
Default value: 1
specify time in days
Possible values: >= 1
and <= 65535
Default value: 24
specify time in hours
not_within object required
Possible values: >= 1
and <= 65535
Default value: 1
specify time in days
Possible values: >= 1
and <= 65535
Default value: 24
specify time in hours
vendor object[]
Vendor name
Possible values: <= 103 characters
Possible values: <= 1023 characters
, Value must match regular expression .*
disk_backup object
criteria object
Default value: true
Is Installed
last_backup_time object
within object required
Possible values: >= 1
and <= 65535
Default value: 1
specify time in days
Possible values: >= 1
and <= 65535
Default value: 24
specify time in hours
not_within object required
Possible values: >= 1
and <= 65535
Default value: 1
specify time in days
Possible values: >= 1
and <= 65535
Default value: 24
specify time in hours
vendor object[]
Vendor name
Possible values: <= 103 characters
Possible values: <= 1023 characters
, Value must match regular expression .*
disk_encryption object
criteria object
Encryption locations
Default value: true
Is Installed
encrypted_locations object[]
Possible values: <= 1023 characters
Encryption location
encryption_state object
Possible values: [encrypted
, unencrypted
, partial
, unknown
]
Default value: encrypted
Possible values: [encrypted
, unencrypted
, partial
, unknown
]
Default value: encrypted
vendor object[]
Vendor name
Possible values: <= 103 characters
Possible values: <= 1023 characters
, Value must match regular expression .*
custom_checks object
criteria objectrequired
process_list object[]
Possible values: <= 1023 characters
Process Name
Default value: true
registry_key object[]
Possible values: <= 1023 characters
Registry key
Possible values: <= 1024 characters
, Value must match regular expression .*
Registry key default value data
Key does not exist or match specified value data
registry_value object[]
Possible values: <= 1023 characters
Registry value name
Possible values: <= 1024 characters
, Value must match regular expression .*
Registry value data
Value does not exist or match specified value data
plist object[]
Possible values: <= 1023 characters
Preference list
Plist does not exist
key object[]
Possible values: <= 1023 characters
Key name
Possible values: <= 1024 characters
, Value must match regular expression .*
Key value
Value does not exist or match specified value data
mobile_device object
criteria object
If device is by rooted/jailbroken
If device's disk is encrypted
If device's passcode is present
last_checkin_time object
within objectrequired
Possible values: >= 1
and <= 365
Default value: 30
specify time in days
not_within objectrequired
Possible values: >= 1
and <= 365
Default value: 30
specify time in days
imei object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
model object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
phone_number object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
tag object
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
applications object
has_malware object
yes object
excludes object[]
Possible values: <= 31 characters
Possible values: <= 1024 characters
, Value must match regular expression .*
application package name
Possible values: <= 1024 characters
, Value must match regular expression .*
application hash
Has apps that are not managed
includes object[]
Possible values: <= 31 characters
Possible values: <= 1024 characters
, Value must match regular expression .*
application package name
Possible values: <= 1024 characters
, Value must match regular expression .*
application hash
certificate object
criteria object
Profile for authenticating client certificates
certificate_attributes object[]
Attribute Name
Possible values: <= 1024 characters
, Value must match regular expression .*
Key value
Responses
- 201
- 400
- 401
- 403
- 409
- default
Created
Bad Request
- application/json
- Schema
- Example (from schema)
- input_format_mismatch
- output_format_mismatch
- missing_query_parameter
- invalid_query_parameter
- missing_body
- invalid_object
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E003",
"message": "Input Format Mismatch: input-format=json",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Output Format Mismatch: output-format=json Accept=xml",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Missing Query Parameter: name",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Query Parameter: location=invalid",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Missing Body",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Object",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- auth_not_authenticated
- invalid_credential
- key_too_long
- key_expired
- need_password_change
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E016",
"message": "Not Authenticated",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Invalid Credential",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Key Too Long",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Key Expired",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "The password needs to be changed.",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- auth_unauthorized
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E007",
"message": "Unauthorized",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Conflict
- application/json
- Schema
- Example (from schema)
- object_not_unique
- name_not_unique
- reference_not_zero
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E016",
"message": "Object Not Unique",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E006",
"message": "Name Not Unique",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E009",
"message": "Reference Not Zero",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
General Errors
- application/json
- Schema
- Example (from schema)
- version_not_supported
- method_not_allowed
- action_not_supported
- bad_xpath
- invalid_command
- malformed_command
- session_timeout
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E012",
"message": "Version Not Supported",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E012",
"message": "Method Not Supported",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E012",
"message": "Action Not Supported: move",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E013",
"message": "Bad XPath",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Command",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Malformed Command",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "4",
"message": "Session Timeout",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}