List
List the endpoint groups this binary has.
osapi dsl endpoint list
Examples
osapi dsl endpoint list
osapi dsl endpoint list --json
Result
The command prints:
$ osapi dsl endpoint list Endpoint groups (2): NAME AREA METHODS DESCRIPTION agent fleet status, list, get, drain, undrain Manage the agents in the fleet: discovery, drain and PKI enrollment audit audit list, export, get Read the audit log
With --json, the command prints:
{
"items": [
{
"name": "agent",
"area": "fleet",
"methods": ["status", "list", "get", "drain", "undrain"],
"doc": "Manage the agents in the fleet: discovery, drain and PKI enrollment"
},
{
"name": "audit",
"area": "audit",
"methods": ["list", "export", "get"],
"doc": "Read the audit log"
}
]
}
Global flags
| Flag | Description | Default |
|---|---|---|
-d, --debug | Enable or disable debug mode | |
-j, --json | Enable JSON output | |
-f, --osapi-file | Path to config file; without one at the default path, osapi runs on the defaults | /etc/osapi/osapi.yaml |
Output tells how the result is printed, and what --json
gives.