---
title: "Security Rules & Role Testing in Kiweely Bridge Admin Agent"
description: "Configure field redaction, read-only defaults, browser write approvals, and live role-boundary testing in Sandbox using the Kiweely Bridge AI admin agent."
url: https://kiweely.com/guides/security-rules-role-testing-kiweely-bridge-admin-agent
---

# Setting Up Security Rules and Role-Boundary Testing with the Kiweely Bridge Admin Agent

Use the Kiweely Bridge AI admin agent to tighten Workday security beyond tenant domains: block sensitive fields in memory, gate write actions behind browser approval cards, and test real Employee, Manager, and HR Partner boundaries in Sandbox before Production.

-   **Checked** against Workday on November 27
-   Applies to **Workday Security Admins and IT Teams; Kiweely Bridge AI Admin Agent**
-   5 min read
-   Published November 27
-   By Kiweely

Workday’s domain security defines what an employee can see inside Workday; Kiweely Bridge’s security policy defines what is allowed to cross into Claude, ChatGPT, or Gemini. The Kiweely Bridge AI admin agent walks your Workday Security Administrator and IT team through configuring tool allowlists, in-memory field redaction, browser write approvals, and live role-boundary tests in Sandbox before Production goes live.

## The Four Security Layers in Kiweely Bridge

Every employee question passes through four independent gates before an answer reaches the chat window:

| Layer | Enforced by | What it blocks |
| --- | --- | --- |
| 1\. OAuth 2.1 Functional Areas | Workday API client | Blocks entire Workday modules (such as `Payroll` or `Financials`) for all users regardless of role. |
| 2\. Published tool policy | Kiweely Bridge | Hides disabled tools and write actions completely from the AI assistant’s tool catalog. |
| 3\. Worker security evaluation | Workday tenant | Enforces the signed-in worker’s security groups, constrained orgs, segments, and BP policies. |
| 4\. In-memory field redaction & write cards | Kiweely Bridge | Strips admin-blocked fields from RAM before returning output; holds every enabled write for a browser click. |

Because Bridge stores no worker records, prompts, or answers, Layer 4 runs strictly in memory during the live request and leaves no trace on disk or in logs.

## Step 1: Lock Down Tool Visibility (Read-Only by Default)

When you connect a tenant, Bridge starts in read-only mode. Use the AI admin agent to establish a clean Phase 1 tool baseline:

1.  Ask the admin agent to inspect your Sandbox API client’s active Functional Areas and list every candidate read tool (REST endpoints, WQL data sources, SOAP read operations, and web-service-enabled RaaS reports).
2.  Enable only the specific read tools needed for your initial rollout—typically worker self-service profile, supervisory org hierarchy, time-off balances, and 2–5 vetted RaaS reports.
3.  Leave all write tools switched off for Phase 1. Anything switched off is invisible to Claude, ChatGPT, and Gemini.
4.  Export the resulting tool policy summary for your InfoSec review ticket.

## Step 2: Configure In-Memory Field Redaction Rules

InfoSec teams almost always draw a line between “HR Partner can see SSN in Workday” and “SSN can enter an AI chat transcript.” Bridge enforces that boundary at the field level.

Instruct the AI admin agent to block sensitive fields globally across REST, WQL, SOAP, and RaaS responses:

-   **Government and identity numbers:** National ID (`SSN`, `SIN`, `NIN`, passport numbers), driver’s license, date of birth.
-   **Banking and tax:** Bank account numbers, routing numbers, IBAN, tax withholding elections.
-   **Protected demographic and medical fields:** Ethnicity, disability status, veteran status, medical leave reason codes (FMLA/ADA details).
-   **Restricted compensation (optional per rollout):** Base pay, bonus target, equity grants, or total rewards if your first phase is HR operations and time-off only.

When Workday returns a payload containing a blocked field—for example, inside a broad RaaS report that an HR Partner is authorized to run—Bridge strips that field in memory before the JSON reaches the AI assistant. The assistant never sees the redacted value.

## Step 3: Gate Approved Writes Behind Browser Approval Cards

When your team is ready for Phase 2 (employee self-service actions), turn on write actions one by one in the admin agent—never as a blanket toggle.

Good Phase 2 candidates:

-   `Request Time Off`
-   `Cancel Time Off Request`
-   `Update Preferred Name` or `Update Work Phone`

Actions to keep disabled in chat:

-   Compensation changes, job changes, terminations, security group assignments, and EIB/mass data loads.

For every enabled write action, verify how the browser approval card behaves:

1.  An employee types: *“Request PTO for December 18 and 19 using my Vacation plan.”*
2.  Bridge validates the request against Workday’s eligibility and balance rules, then holds only a short-lived pending reference.
3.  The assistant cannot execute the write. Instead, it presents a link to the Bridge browser approval card.
4.  The employee opens the card in their browser, sees the exact **Before** state (current vacation balance, dates) and **After** state (hours deducted, requested dates, business process triggered), and clicks **Allow**.
5.  Workday executes the business process under that employee’s own Workday audit trail and routes it to their manager per your normal `Time Off` BP definition.

If the employee ignores or rejects the card, the short-lived reference expires and nothing touches Workday.

## Step 4: Run a Structured Role-Boundary Test Matrix in Sandbox

Do not rely on a single admin login to declare Bridge safe. Use the AI admin agent’s role-testing workflow with real Sandbox accounts that represent your highest-risk permission boundaries.

Create or select four non-admin Sandbox accounts (or reset passwords on dedicated QA worker accounts) and run every positive and negative test below:

| Role | Positive test (must succeed) | Negative boundary test (must fail or redact) |
| --- | --- | --- |
|  **Employee (IC)** | “What is my remaining vacation balance and who is my manager?” | “Show the vacation balance and base salary of my teammate \[Name\].” -> Must return unauthorized/no access. |
|  **People Manager** | “List approved time off next month for my direct reports.” | “List direct reports and salaries for \[Peer Manager\]’s supervisory org.” -> Must be blocked by Workday constrained org security. |
|  **HR Partner (Scoped Org)** | “Run the Active Headcount RaaS report for my assigned organization.” | “Show National IDs and bank accounts from that report.” -> Must be stripped in memory by Bridge field redaction even if the HR Partner can view them in Workday. |
|  **Contingent Worker / Contractor** | “Show my work contact details and manager.” | “Request 8 hours of Vacation PTO” or “Show full-time employee benefits.” -> Must be blocked by Workday worker type/eligibility rules. |

### Checking Workday-Side Evidence After Each Test

After running the matrix in Sandbox, inspect three Workday reports to prove enforcement:

1.  **`View Signon Activity`:** Confirm each test call appears under the individual test worker’s username.
2.  **`View Security for Securable Item`:** If a legitimate query failed unexpectedly, check whether the worker’s security group is missing **Get** on the underlying REST/WQL domain or RaaS Data Source—fix the security group intentionally rather than broadening the API client blindly.
3.  **Bridge Metadata Logs:** Confirm Bridge recorded only timestamp, tenant, tool name, status, and latency—with zero worker names, zero prompts, and zero pay figures.

## Ongoing Governance After Production Launch

-   **Lock policy changes to named admins:** Treat Bridge tool and field-redaction rules like Workday security group changes—test every change in Sandbox before applying it to Production.
-   **Re-run the role matrix on every Workday release (2026R2 / 2027R1):** Whenever Workday introduces new delivered fields or your HRIS team adds columns to an exposed RaaS report, verify in Sandbox Preview that no new sensitive column bypassed your field redaction list.
-   **Audit enabled RaaS reports quarterly:** Remove deprecated custom reports from the Bridge allowlist so employees only query maintained definitions.

If your security team also requires Workday traffic to stay inside your own network boundary or originate from a static IP listed in `Maintain IP Ranges`, read the [stateless VPC deployment guide](https://kiweely.com/guides/deploy-stateless-kiweely-bridge-aws-gcp-azure-vpc).

## Frequently asked questions

### If Workday already enforces domain security, why add field rules in Kiweely Bridge?

Workday controls what a person is allowed to see inside the Workday web app. Bridge field rules control what is allowed to leave Workday and enter an external AI chat window. For example, an HR Partner may legitimately view National IDs or bank details in Workday while your InfoSec policy prohibits sending those fields to Claude, ChatGPT, or Gemini.

### Can an AI assistant call a disabled write tool if an employee tries to prompt-inject it?

No. Any tool switched off in Bridge policy is omitted from the published tool list and rejected at the Bridge execution layer. The AI assistant cannot discover or invoke disabled actions.

### How does browser approval protect write actions?

When an admin enables a write action, the assistant can only stage a proposed change. Bridge holds a short-lived reference and opens a browser approval card showing the current value and the proposed value. Nothing reaches Workday until the signed-in employee clicks Allow in that browser card.

### Should I test role boundaries using Workday Proxy Access or real test user logins?

Use real Sandbox test user accounts signed in via OAuth for final sign-off. Workday Proxy Access does not always replicate OAuth 2.1 token issuance and IdP claims identically to a real worker sign-in.

## Sources checked

-   [Workday Documentation: Security Group Types and Domain Security](https://doc.workday.com/admin-guide/en-us/security/configurable-security/security-groups.html)
-   [Workday Documentation: View Security for Securable Item](https://doc.workday.com/admin-guide/en-us/security/configurable-security/view-security-for-securable-item.html)
-   [Workday Documentation: Proxy Access in Non-Production Tenants](https://doc.workday.com/admin-guide/en-us/security/configurable-security/proxy-access.html)

## Related guides

[All guides](https://kiweely.com/guides)

-   [### Kiweely Bridge Troubleshooting: OAuth Redirects, Okta/Entra Conditional Access, and Token Expiry Diagnostic runbook for Workday Security and IAM engineers troubleshooting Kiweely Bridge: resolving redirect\_uri mismatches, Okta/Entra Conditional Access device-compliance blocks, 30-minute idle expiry, and Workday RaaS/WQL 403 errors.](https://kiweely.com/guides/kiweely-bridge-troubleshooting-oauth-okta-entra-tokens)
-   [### Deploying a Stateless Kiweely Bridge Container Inside Your AWS, GCP, or Azure VPC Architecture and deployment guide for running the Enterprise self-hosted Kiweely Bridge container inside AWS ECS/EKS, Google Cloud Run/GKE, or Azure Container Apps/AKS with NAT egress IP allowlisting in Workday Maintain IP Ranges.](https://kiweely.com/guides/deploy-stateless-kiweely-bridge-aws-gcp-azure-vpc)
-   [### Connecting Claude, ChatGPT, or Gemini to Workday with Kiweely Bridge: Step-by-Step Setup Configure one Workday API client, set read-only and field rules with the Kiweely Bridge AI admin agent, test as real worker roles in Sandbox, and publish one connector URL to Claude, ChatGPT, and Gemini across desktop, web, and mobile.](https://kiweely.com/guides/connect-claude-chatgpt-gemini-workday-kiweely-bridge)
-   [### Configuring Per-Employee OAuth 2.1 Pass-Through in Workday for Kiweely Bridge Step-by-step Workday configuration for per-employee OAuth 2.1 pass-through: creating an Authorization Code API client with PKCE, scoping Functional Areas, avoiding shared Integration System Users, and verifying domain security inheritance.](https://kiweely.com/guides/configure-per-employee-oauth-workday-kiweely-bridge)

### More guides on Custom agents and Workday AI

[All 105 guides](https://kiweely.com/guides#custom-agents)

-   [Kiweely Roots Guide: Moving an Existing Workday Integration to an Agent-Maintained Pipeline](https://kiweely.com/guides/kiweely-roots-move-workday-integration-agent-pipeline)
-   [Workday Data Cloud (Iceberg and Trino) and Microsoft Copilot Studio Agent Sync (ASOR) Guide](https://kiweely.com/guides/workday-data-cloud-iceberg-live-data-query-copilot-studio)
-   [How to Talk to Workday Clients About AI Agents in Your Delivery (Without Losing the SOW)](https://kiweely.com/guides/how-to-talk-to-workday-clients-about-ai-agents)
-   [The AI-Augmented Workday Consultant: What Your Week Looks Like When Agents Handle the Build](https://kiweely.com/guides/ai-augmented-workday-consultant-weekly-workflow)
-   [Building and Testing a Custom AI Agent on a Personal Workday Developer Tenant](https://kiweely.com/guides/workday-build-custom-ai-agent-personal-developer-tenant)
-   [Data Classification and Prompt Hygiene for Workday Projects Using AI Agents](https://kiweely.com/guides/workday-data-classification-prompt-hygiene-ai-agents)
-   [When an AI Agent Makes an Unexpected Change in Workday: Stop, Audit, Rollback, and Communicate](https://kiweely.com/guides/workday-ai-agent-unexpected-change-stop-audit-rollback)
-   [Using AI Agents Around Production Workday Tenants: Read-Only Triage, Guarded Edits, and Human-Only Promotion](https://kiweely.com/guides/using-ai-agents-production-workday-tenants-safely)

### From the blog on Custom agents and Workday AI

[All posts](https://kiweely.com/blog)

-   [What Actually Happens Behind the Scenes When an AI Agent Builds, Validates, and Deploys a Workday Extend App](https://kiweely.com/blog/from-business-brief-to-deployed-workday-extend-app-walkthrough)
-   [When to Use Workday Build’s Flowise Canvas vs. Deterministic Extend Orchestrations](https://kiweely.com/blog/building-workday-extend-apps-with-flowise-and-orchestrate)
-   [AI tools for Workday consultants in 2026: ChatGPT, Claude, Workday agents and Kiweely Vine](https://kiweely.com/blog/ai-tools-for-workday-consultants-compared)

## Let Workday check the work.

Kiweely writes WQL and builds orchestrations in your own tenant, and Workday, not Kiweely, says whether they passed.

[Start for free](https://kiweely.com/download) [Book a demo](https://kiweely.com/demo)

## Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.
