devguard

App policy

Name the apps every company computer must have, such as a password manager, and the apps none may have, and see on each device whether it follows the list.

The App policy is two lists for all devices in your organization. Required apps must be installed on every computer, for example a password manager. Forbidden apps must not be installed on any computer, for example a remote access tool that IT does not support. The agent checks each list at every check-in. It only answers whether these apps are present. It never sends a list of all installed apps.

The tasks below follow the order of the work:

Scripts and integrations: see API below.

Add an app

  1. In the sidebar, under Devices, choose App Policy.
  2. Go to the empty row under Required apps or Forbidden apps.
  3. In App name, enter a name that helps you recognize the entry. The agent does not use it to search.
  4. Choose the Match type and enter the Match value, the text the agent looks for:
    • App name: the name the app shows, such as 1Password. Upper and lower case, spaces and punctuation are ignored. For a required app, a name that contains the value also counts.
    • Bundle id: the macOS identifier, such as com.1password.1password. Upper and lower case are ignored.
    • Package name: a Linux package or a Windows Store package, such as 1password. For other Windows programs, use App name.
  5. If you want, write a Remediation note. The employee sees it when the device fails this entry.
  6. Choose the + button to add the entry.
The App policy page of Acme AG: 1Password under Required apps and AnyDesk under Forbidden apps, each matched by app name and with a short remediation note, and an empty row under each list for the next entry.
Each list ends with an empty row for the next entry, and the remediation note tells the employee what to do.

Change or remove an app

  1. Change a field in the row. The change is saved when you leave the field.
  2. To remove an entry, choose the trash icon at the end of its row.

Every computer picks up the change at its next check-in, within about an hour.

Check the results

  1. Open a device from the Devices list.
  2. The App policy panel lists each entry with Must be installed or Must not be installed, and the result: Pass, Fail or Not reported.
David's Surface Laptop, marked Compliant with 8 of 8 checks passing. Below its Security policy, the App policy panel shows 1Password failed because it is missing and AnyDesk failed because it is installed.
David's Surface Laptop is Compliant and still fails both App policy entries.

Watch out: the App policy results do not change a device's status. A device can be Compliant and still fail an App policy entry. Check the panel, or ask the employee to follow the note.

In the employee portal, the employee sees the same list for each computer, with your remediation note on each failed entry.


Reference

Fields

FieldRequiredNotes
App nameyesA label for you. 2 to 255 characters.
Match typeyesApp name, Bundle id or Package name. Starts as App name.
Match valueyesThe text the agent looks for. Up to 255 characters.
Remediation notenoShown to the employee when the entry fails. Up to 1000 characters.

The same match type and value can appear only once in each list. Phones are not checked against the App policy.

Permissions and limits

Owners and admins can change the lists. Members and auditors can read them. An organization token can read them over the API. The App policy is not part of the Free plan.

API

  • Endpoint: GET /devices/app-policy/ with organizationId in the query. The lists can be changed in the app only.
  • Response: an array of entries, each with id, organizationId, createdAt, updatedAt, name, policyType (REQUIRED or FORBIDDEN), matchType (NAME, BUNDLE_ID or PACKAGE), matchValue and remediationNote.
List the required apps
curl -sS -G "https://app.devguard.ch/api/devices/app-policy/" \
  -H "Authorization: Bearer $DG_TOKEN" \
  --data-urlencode "organizationId=$DG_ORG" \
  | jq '.[] | select(.policyType == "REQUIRED") | .name'

The other calls for devices are on the Devices page.

How is this guide?

On this page