Sub topic 11
Monitoring and governing installed apps over time
Installing an app is not the end of your risk review. Apps change through upgrades, users change how they use them, and publishers change ownership or priorities. This chapter covers how to keep watching an installed package after it goes live.
This chapter assumes you can navigate Setup, you understand profiles and permission sets, and you have already installed and verified at least one package in a sandbox.
Why governance continues after install
The trust model for third-party apps is shared. The publisher maintains the code, and you control who can use it and what data it can reach. That second part drifts over time. Common causes:
- A new package version adds objects, fields, or permission set changes.
- An admin assigns a broad permission set "temporarily" and never removes it.
- The person who championed the app leaves, and no one owns it.
- The publisher stops supporting the product, but the package stays installed.
Governance means checking for these on a schedule, not only when something breaks.
What to monitor
Build a short checklist and review it on a fixed rhythm, such as quarterly. Each item below maps to a place in Setup or the CLI.
| Area | What to check | Where to look |
|---|---|---|
| Installed version | Is the version current and supported? | Setup, Installed Packages, or `sf package installed list` |
| Access | Who holds the app's permission sets? | Setup, Permission Sets, Manage Assignments |
| Usage | Are the licenses being used? | Installed Packages, Manage Licenses |
| Limits | Does the app consume API calls or storage unexpectedly? | Setup, System Overview |
| Connections | Are there new Remote Site Settings, Named Credentials, or connected apps? | Setup, Remote Site Settings, Named Credentials, Connected Apps OAuth Usage |
| Errors | Are there new Apex errors or failed jobs from the package? | Setup, Apex Jobs, Apex Exception Email, Event Monitoring if licensed |
Listing what is installed
Start every review with the current inventory. This command lists each installed package with its version.
sf package installed list --target-org my-sandboxRun it against production for the real review. Compare the output with your last review. A version that changed without a planned upgrade is a signal to investigate who installed it and when. Setup Audit Trail shows recent installs, uninstalls, and permission changes made in the past 180 days, so check it for the matching entries.
Reviewing access over time
Permission sets assigned at install time are a snapshot. Review assignments each cycle.
- Open the app's permission sets and select Manage Assignments.
- Remove users who have left the team or changed roles.
- Check that admin-level permission sets are held only by named administrators.
- Confirm that no profile was modified directly to give wide access to the app's objects.
Keeping access in permission sets, instead of profiles, makes this review a short list instead of a profile-by-profile search.
Reading changes in a new version
When the publisher releases an upgrade, treat it like a new install. Read the release notes and look for new permissions, new external endpoints, and changed objects. Install the new version in a sandbox first, repeat your verification tests, and only then upgrade production. Diagram the flow so the team follows it every time.
Assigning ownership
Every installed app needs a named business owner and a named technical owner. Record these in a simple register:
- App name, publisher, and installed version
- Business owner and technical owner
- Data the app can read or write
- External systems it connects to
- Date of last review and date of next review
- Renewal date and license count
An app without an owner is the first candidate for removal, because nobody can say whether it is still needed.
Deciding when to remove an app
Retire an app when any of these is true:
- Almost no one has used it for two review cycles.
- The publisher no longer releases updates or answers support requests.
- A newer version requests access you cannot justify.
- Another tool you already own covers the same job.
Rehearse the removal in a sandbox first, as covered in the previous chapter on uninstalling, so the production change has no surprises.
Exercise
During a quarterly review, sf package installed list shows that an app is on a newer version than your register records, and nobody on the team remembers upgrading it. What do you do first, and why?
Show answer
Check Setup Audit Trail for the install or upgrade entry to find who made the change and when. Then read the release notes for that version for new permissions and external connections, and compare the app's access and connections with your register. Reproduce the check in a sandbox if the change is unclear. This establishes whether the change was authorized and whether it widened the app's access before you decide to keep it or roll back.