Spaces method and path for this operation:
Refer to Spaces for more information.
Create a new entity record in the Entity Store for the specified entity type.
[Required authorization] Route required privileges: securitySolution.
Body
object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Additional properties are NOT allowed.
Hide asset attributes Show asset attributes object
-
Additional properties are NOT allowed.
Hide entity attributes Show entity attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide lifecycle attributes Show lifecycle attributes object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide relationships attributes Show relationships attributes object
-
Additional properties are NOT allowed.
Hide accesses_frequently attributes Show accesses_frequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide accesses_infrequently attributes Show accesses_infrequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide administers attributes Show administers attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide communicates_with attributes Show communicates_with attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide depends_on attributes Show depends_on attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns attributes Show owns attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns_inferred attributes Show owns_inferred attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide resolution attributes Show resolution attributes object
-
Additional properties are NOT allowed.
Hide supervises attributes Show supervises attributes object
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide event attribute Show event attribute object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are allowed.
-
Additional properties are NOT allowed.
Hide user attributes Show user attributes object
-
Additional properties are NOT allowed.
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Additional properties are NOT allowed.
Hide asset attributes Show asset attributes object
-
Additional properties are NOT allowed.
Hide entity attributes Show entity attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide lifecycle attributes Show lifecycle attributes object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide relationships attributes Show relationships attributes object
-
Additional properties are NOT allowed.
Hide accesses_frequently attributes Show accesses_frequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide accesses_infrequently attributes Show accesses_infrequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide administers attributes Show administers attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide communicates_with attributes Show communicates_with attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide depends_on attributes Show depends_on attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns attributes Show owns attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns_inferred attributes Show owns_inferred attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide resolution attributes Show resolution attributes object
-
Additional properties are NOT allowed.
Hide supervises attributes Show supervises attributes object
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide event attribute Show event attribute object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide host attributes Show host attributes object
-
Additional properties are allowed.
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Additional properties are NOT allowed.
Hide asset attributes Show asset attributes object
-
Additional properties are NOT allowed.
Hide entity attributes Show entity attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide lifecycle attributes Show lifecycle attributes object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide relationships attributes Show relationships attributes object
-
Additional properties are NOT allowed.
Hide accesses_frequently attributes Show accesses_frequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide accesses_infrequently attributes Show accesses_infrequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide administers attributes Show administers attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide communicates_with attributes Show communicates_with attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide depends_on attributes Show depends_on attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns attributes Show owns attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns_inferred attributes Show owns_inferred attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide resolution attributes Show resolution attributes object
-
Additional properties are NOT allowed.
Hide supervises attributes Show supervises attributes object
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide event attribute Show event attribute object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are allowed.
-
Additional properties are NOT allowed.
Hide service attributes Show service attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Additional properties are NOT allowed.
Hide asset attributes Show asset attributes object
-
Additional properties are NOT allowed.
Hide cloud attributes Show cloud attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide entity attributes Show entity attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide lifecycle attributes Show lifecycle attributes object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide relationships attributes Show relationships attributes object
-
Additional properties are NOT allowed.
Hide accesses_frequently attributes Show accesses_frequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide accesses_infrequently attributes Show accesses_infrequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide administers attributes Show administers attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide communicates_with attributes Show communicates_with attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide depends_on attributes Show depends_on attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns attributes Show owns attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns_inferred attributes Show owns_inferred attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide resolution attributes Show resolution attributes object
-
Additional properties are NOT allowed.
Hide supervises attributes Show supervises attributes object
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide event attribute Show event attribute object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are allowed.
-
Additional properties are NOT allowed.
Hide orchestrator attributes Show orchestrator attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
curl -X POST -H "kbn-xsrf: true" -H "Authorization: ApiKey ${API_KEY}" \
-H "Content-Type: application/json" \
-d '{"entity":{"id":"host:web-server-prod-01","name":"web-server-prod-01","type":"host","source":["manual"],"attributes":{"asset":true}},"host":{"name":"web-server-prod-01","ip":["10.0.1.42"]}}' \
"${KIBANA_URL}/api/security/entity_store/entities/host"
POST kbn://api/security/entity_store/entities/host
{
"entity": {
"id": "host:web-server-prod-01",
"name": "web-server-prod-01",
"type": "host",
"source": ["manual"],
"attributes": { "asset": true }
},
"host": {
"name": "web-server-prod-01",
"ip": ["10.0.1.42"]
}
}
{
"asset": {
"business_unit": "Engineering",
"criticality": "high_impact",
"environment": "production"
},
"entity": {
"attributes": {
"asset": true,
"managed": true
},
"id": "host:web-server-prod-01",
"name": "web-server-prod-01",
"source": [
"manual"
],
"type": "host"
},
"host": {
"hostname": [
"web-server-prod-01.example.com"
],
"ip": [
"10.0.1.42"
],
"name": "web-server-prod-01"
}
}
{
"ok": true
}
{
"error": "Bad Request",
"message": "Bad request: Supplied ID my-custom-id does not match generated EUID host:web-server-prod-01",
"statusCode": 400
}
{
"error": "Conflict",
"message": "Entity ID 'host:web-server-prod-01' already exists",
"statusCode": 409
}