Plugin packs and the marketplace
Install, update and remove signed plugin packs without a restart, check for updates, and manage trust and revocation.
What a pack is
Every platform is also available as an installable, signed plugin pack. A pack is a file with the extension .iccplugin. The name is historical. Packs install, update, enable, disable and remove while the product is running, with no service restart. The web and poller processes follow the change within about 30 seconds.
A pack can replace a built-in platform of the same id. The installers bundle three packs, NetBackup, Nutanix and Proxmox, so those can be picked at install without a network.
The marketplace
The FarWatch marketplace is a catalog of packs. The marketplace address is set under Global Settings > Platforms, on the Install tab, with a check interval. The web process asks the marketplace for the list of pack versions two minutes after it starts and then every 6 hours by default. The interval is a setting. Nothing else is sent to the marketplace beyond that request and the download of a pack you choose to install. FarWatch has no telemetry and no crash reporting.
Global Settings > Platforms shows a Marketplace line with the time of the last check and a Check now button. A pack that has a newer marketplace version shows an Update available label and an Update button.
You can turn the marketplace off. Off means no version check, no download from a URL and no update labels. See Outbound connections and offline installs.
Install a pack
From the marketplace or a URL: Global Settings > Platforms > Install. Install from a URL accepts an https address on an allowed host.
From a file, for an install without marketplace access:
icc-cli install-plugin <path|https url> [--tenant default] [--allow-downgrade]
After installing, switch the platform on from the Platforms page, then add a source on the platform's Settings page. See Adding a platform.
An install over a newer version is refused unless you pass --allow-downgrade.
Update and remove
Press Update beside a pack, or install a newer file. The new version is staged and then promoted to the live folder at the next load. A staged folder that fails verification is removed and logged.
Remove from the Platforms page, or from the command line:
icc-cli remove-plugin <id> [--purge] [--tenant default]If a built-in platform has the same id, removal brings the built-in back. With --purge the pack's collected data is deleted.
When you upgrade FarWatch itself, packs already installed carry over. A carried pack replaces the built-in platform of the same id on the product build, so update older packs from the Platforms page after you upgrade.
Who can manage packs
Install, update, remove, enable, disable, the marketplace settings and the trust settings need a global administrator, on top of the plugin manage permission. On a single-tenant install, members of the Admin group count. Reading the list needs only the plugin view permission. Every install, upgrade, removal, enable, disable and refusal writes a row to the global audit log.
Signing and trust
A pack is a zip file with manifest.json, manifest.sig and the files listed in the manifest. The manifest.sig file holds an Ed25519 signature over the exact bytes of manifest.json. FarWatch verifies:
- at install, the signature with the key named in the manifest, the key and pack revocation lists, a SHA-256 for every file, path safety, a 50 MB package cap and a 200 MB total decompressed cap;
- at boot and on every reconcile, the pack folder again before anything is loaded. A revoked or tampered pack is not loaded. The Platforms page shows it with a status of revoked or tampered and the reason, and a built-in platform of the same id keeps serving.
Packs installed by older builds that carry no key id load under a legacy key, with a warning in the log.
The trust set is the keys built into the release, plus keys a global administrator saves, plus keys in a read-only file named by ICC_PLUGIN_TRUSTED_KEYS, minus revoked keys. A revoked key stays revoked even if a setting lists it. Setting plugin_require_key_id to 1 turns the legacy-key grace off.
Revocation
A revocation list names keys and packs. A pack entry can withdraw one pack, one version, or everything older than a minimum version. Import a list from a file, which is the route for an install without marketplace access:
icc-cli plugin-revocations import <file>A running pack's timers and listeners cannot be torn down. Restart the services to be certain a revoked pack has stopped. A signed revocation feed from the marketplace is not built.
Tradeoffs
Packs are minified JavaScript, not bytecode, so they carry the same visibility as any web application bundle.