Keep payroll and compensation data out of an agent's reach
An HR connector exposes salaries, bank details, and terminations. Fence the sensitive reads to HR, freeze the writes, and mask financial identifiers.
For: HR and people-ops teams piloting an agent against payroll systems
Payroll is the textbook case for identity-gated access. The connector exposes compensation, pay registers, bank and routing numbers, and employment actions like terminations — data that most of the company should never see through an agent, and that a broad "summarize our team" prompt would happily surface.
The controls narrow the agent channel to need-to-know. fence-comp-payroll-reads denies the highest-sensitivity reads — salary, pay register, contractor payments, terminations — unless the caller is in the HR-payroll group, and fails closed when the claim is missing. freeze-payroll-writes blocks mutations so an agent can't run or alter payroll. redact-financial-ids-egress masks SSNs and bank details in any response, and cap-roster-export throttles full-roster pulls.
These group names are placeholders — map hr-payroll-admins to your own IdP group at import, and the fence enforces your real org boundary on the agent's path.
Policies in this guide
Fence Gusto Compensation & Payroll Reads
Denies the highest-sensitivity Gusto read tools unless the caller's IdP-asserted groups include the placeholder group hr-payroll-admins.
gustofence-hr-and-credit-scopecompensationpayrollingresssoc2gdpr-ccpa
Freeze Payroll Writes in Gusto
Freezes every write and delete operation on a Gusto pipeline.
Gusto: Redact Financial IDs in Responses
Instantiates PF-02 (redact-pii-egress) on the Gusto read path.
gustoredact-pii-egressredact-piipiifinancial-piidlpredactionegresssoc2gdpr-ccpa
Gusto Cap Roster Export
Throttles full-roster exfiltration on Gusto's two broad outbound list tools — list company employees and list company contractors — by rewriting their…
gustocap-bulk-exportpiidata-minimisationingressgdpr-ccpasoc2