Security & Data Residency — Clearline Bulk Studio for Confluence
Effective date: December 1, 2026
Architecture at a glance
| Question | Answer |
|---|---|
| Platform | 100% Atlassian Forge (Node.js 24 runtime, UI Kit). No Atlassian Connect, no remote backend. |
| Runs on Atlassian | Yes. There are no external egress permissions in the manifest, and the build fails if any fetch/egress call appears. |
| Where data is stored | Forge Key-Value Store inside your Atlassian site. It follows Atlassian data residency, including pinned realms. |
| Data sent to Clearline Labs | None. We operate no servers. |
| AI / LLM | None. |
| Analytics / tracking | None. |
| Sub-processors | Atlassian only. |
Whose permissions are used
- Every Confluence API call runs as a user, never as the app. The code has no
asApp()calls, and the build fails if one is introduced. - Interactive actions (preview, settings, page lookup) run as the signed-in user.
- Background jobs run as the user who started the job, through Forge's offline user impersonation (
asUser(accountId)). A job can only change pages that user could change by hand. Permission failures are reported per page instead of bypassed. - Admin-only settings are checked against the user's Confluence site-admin status on every save.
Scopes and why they're needed
| Scope | Used for |
|---|---|
search:confluence, read:confluence-content.summary, read:confluence-content.all |
Running the CQL selection, reading labels/ancestors/restrictions |
read:page:confluence, read:hierarchical-content:confluence |
Page status (archive verification), permitted operations, direct children (orphan warnings) |
read:confluence-space.summary, read:space:confluence |
Space picker |
read:confluence-user, read:confluence-groups |
Admin detection, user picker, group picker for restrictions |
write:confluence-content |
Labels, watchers, restrictions, move, archive |
delete:page:confluence |
Move pages/blog posts to trash |
storage:app |
Jobs, results, audit log, settings |
Safety controls
- A dry-run preview is required before any job. Delete requires an acknowledgement and typing the exact page count (configurable by admins).
- A protected label (default
bulk-protected) excludes pages from every job. - A maximum number of pages per job (default 5,000, hard cap 20,000), and at most 3 concurrent jobs per user.
- Delete and archive run deepest-first. Moves send only the top-most selected pages, so trees stay intact.
- Undo for labels, watchers, restrictions and moves. Deletes go to the space trash.
- CSV exports neutralise spreadsheet formula injection.
- Retention: jobs 180 days, audit 365 days (automatic TTL).
Secure development
- TypeScript strict mode, ESLint, and unit tests covering selection, planning, every operation, undo, retry, rate-limit backoff and the queue engine.
- A scope verifier maps every REST route in the code to Atlassian's published OpenAPI scopes.
- A manifest validator enforces no egress, no
asApp, and impersonation on all product scopes. - Dependencies are limited to official
@forge/*packages.
Reporting a vulnerability
Email clearlinelabs.hq@gmail.com with "SECURITY" in the subject. We acknowledge within 2 business days and fix critical issues as a priority.