Repository navigation
CloakDLP v0.7.2 - Fix stale policy id after pairing
Patch release. Fixes a real bug: editing or disabling a policy after a client had already paired had no effect on it, ever.
Fix
Both the desktop agent and browser extension self-register once and cache whatever policy id they get back at that moment - with no way to ever learn it changed later. Disable a policy, edit it, or create a new default after initial pairing, and an already-paired client just kept using whatever it got at first registration. This could look like blocking (or risk-based blocking) silently not working, when what was actually happening is the client was reporting against a completely different, possibly-disabled policy the whole time.
Every heartbeat response now carries the console's current default credit-card policy id, and both clients update their cached copy whenever it changes - within one heartbeat cycle (about 2 minutes for the desktop agent, up to 5 for the browser extension), no reinstall or reconfiguration needed. An operator who manually configured policy ids by hand in the agent's appsettings.json is unaffected; this only applies to the zero-config self-registered path.
Verified live against a real installed service: disabled the active policy, created a new one, and watched the running Windows Service pick up the change on its own and log it.
Installing
Upgrading from any earlier version: just run the new MSI, it replaces the install in place.
Full notes on the blocking feature this patches are in the v0.7.0 release.