...
Request Method | ID | Action | Resulting Function | Permission Required | URL Example | Notes | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GET | n | create | create_form | {collection}::create | /{collection}/create | Displays a standard web form for submission to POST /{collection}. | |||||||
GET | yn | updateimport | updateimport_form | {collection}::updatecreate | /{collection}/ | {id}/updateShow the script details with the option to update attributes using PATCH toimport | Displays a standard web form for submission to POST /{collection}/ | {id}GETimport. | |||||
POST | n | import | import_form | {collection}::create | /{collection}/import | Displays a standard web form for submission to POST /{collection}/import. | POST | n | import | import | {collection}::create | /{collection}/import | Import multiple {collection} using a CSV.Import multiple {collection} using a CSV. |
GET | y | execute | execute | (collection)::see below | /{collection}/{id}/execute | Some collections can be executed - queries, tasks, discoveries |
Execute permissions required per endpoint
Endpoint | Permission |
---|---|
baselines | read |
clouds | read |
dashboards | read |
database | update |
discovery | update |
groups | read |
queries | read |
summaries | read |
tasks | read |
Sort
To sort by a database column, user "sort={attribute}". To reverse sort, insert a minus, thus "sort=-{attribute}".
...
Requested properties should be in a comma-separated list. Properties should be fully qualified - ie, system.hostname (not just hostname).
Code Block |
---|
properties=system.id,system.name,system.status |
You can also specify properties using the below format.
Code Block |
---|
properties=["system.id","system.name","system.status"] |
Filter
To filter by a property value, use the property name. Operators that should precede the value are !=, >, >=, <, <=, 'like' and '!like'. If no operator is specified, the default is =. Properties should be fully qualified - ie, system.hostname (not just hostname).
...
NAME | NAME | NAME |
---|---|---|
audit_log | netstat | service |
...