neodesk policies
Copy as MarkdownOrganization policies and device attestation.
neodesk policies --help lists the same commands in the terminal. The flags every command takes are in the command reference.
neodesk policies attestation
Show what one device reported about its state.
neodesk policies attestation <deviceId> [flags]| Argument | What it is |
|---|---|
<deviceId> |
The device ID |
Needs an admin role, and a token with all of its account's permissions; only reads. Calls GET /api/panel/attestation/{deviceId}.
neodesk policies attestations
List what devices reported about their state.
neodesk policies attestations [flags]Needs an admin role, and a token with all of its account's permissions; only reads. Calls GET /api/panel/attestation.
neodesk policies audit
List the changes to an organization's policies.
neodesk policies audit <orgId> [flags]| Argument | What it is |
|---|---|
<orgId> |
The organization ID |
Needs an admin role, and a token with all of its account's permissions; only reads. Calls GET /api/panel/policies/{orgId}/audit.
neodesk policies connection-set
Set an organization's connection policy.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk policies connection-set <orgId> [flags]| Argument | What it is |
|---|---|
<orgId> |
The organization ID |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/policies/{orgId}/connection.
neodesk policies effective
Show the policy one device gets.
neodesk policies effective <orgId> <deviceId> [flags]| Argument | What it is |
|---|---|
<orgId> |
The organization ID |
<deviceId> |
The device ID |
Needs an admin role, and a token with all of its account's permissions; only reads. Calls GET /api/panel/policies/{orgId}/effective/{deviceId}.
neodesk policies features-set
Set an organization's feature policy.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk policies features-set <orgId> [flags]| Argument | What it is |
|---|---|
<orgId> |
The organization ID |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/policies/{orgId}/features.
neodesk policies get
Show an organization's policies.
neodesk policies get <orgId> [flags]| Argument | What it is |
|---|---|
<orgId> |
The organization ID |
Needs an admin role, and a token with all of its account's permissions; only reads. Calls GET /api/panel/policies/{orgId}.
neodesk policies network-set
Set an organization's network policy.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk policies network-set <orgId> [flags]| Argument | What it is |
|---|---|
<orgId> |
The organization ID |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/policies/{orgId}/network.
neodesk policies security-set
Set an organization's security policy.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk policies security-set <orgId> [flags]| Argument | What it is |
|---|---|
<orgId> |
The organization ID |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/policies/{orgId}/security.
neodesk policies update-set
Set an organization's update policy.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk policies update-set <orgId> [flags]| Argument | What it is |
|---|---|
<orgId> |
The organization ID |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/policies/{orgId}/update.