Search Policy Gateway
Apply an external access policy to Confluence, Jira and Bitbucket search.
Overview
A family of plugins that adds an organization-specific access layer to Atlassian search. Each sends the user, email, client IP and query of a search to an external hook, then applies the hook’s decisions to the response. Editions for Confluence, Jira and Bitbucket share the same design.
Queries are never rewritten; the plugin post-processes the results the product produces. Unauthorized results can keep their title and URL with the body and excerpt masked, or be removed entirely. The Confluence edition covers four REST search APIs plus Advanced Search; the Bitbucket edition covers code search and keeps only results from projects the hook allows.
How it works
Instead of public screens, here is how it works.
- 1A user searches
- 2User, IP and query sent to the hook
- 3Hook decides what is allowed
- 4Masked or filtered results returned
Highlights
Three products, one policy
Confluence, Jira and Bitbucket call the same hook contract, so one policy service governs document, issue and code search.
Resilient hook calls
Timeouts, fail-open or fail-closed, allow and deny caches, a circuit breaker and a concurrency limit keep a hook outage from stalling search.
Operator diagnostics
The admin page offers a hook connection test, an offline policy simulator, latency, cache and failure metrics, and a ten-minute debug log with secrets masked.