scan_confluence
Detect leaked secrets (API keys, tokens, passwords) in Confluence pages and comments. Returns redacted findings without modifying Confluence.
Instructions
Read Confluence pages and comments to detect leaked secrets (API keys, tokens, passwords). Never modifies Confluence — no pages or comments are written. Auth: requires CONFLUENCE_TOKEN (falls back to JIRA_TOKEN) and CONFLUENCE_EMAIL (falls back to JIRA_EMAIL) env vars, or pass api_key/email directly. Side effects: a redacted scan report is uploaded to the n0s1 backend; set allow_secret_upload=True to also upload AES-encrypted secret values for AI validation. Returns redacted findings — raw secret values are never included in the output. Subject to Confluence API rate limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Confluence server URL e.g. https://company.atlassian.net | |
| Yes | Confluence user email (or set CONFLUENCE_EMAIL / JIRA_EMAIL env var) | ||
| api_key | Yes | Confluence API token (or set CONFLUENCE_TOKEN / JIRA_TOKEN env var) | |
| scope | No | CQL query e.g. cql:space=SEC and type=page | |
| report_format | No | Output report format | n0s1 |
| show_matched_secret_on_logs | No | Include redacted secret snippets in logs (default: false) | |
| ai_analysis | No | Queue async AI credential validation after the scan (requires n0s1 Pro) | |
| n0s1_api_key | No | n0s1 API key; overrides the N0S1_TOKEN env var | |
| allow_secret_upload | No | Upload AES-encrypted secret values to the n0s1 backend for AI validation (default: false) | |
| report_uuid | No | UUID to assign to the scan report; overrides the auto-generated one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_uuid | Yes | ||
| status | Yes | ||
| summary | Yes | ||
| findings | No | ||
| next_cursor | No | ||
| usage | Yes | ||
| ai_analysis_status | No |