Security, Privacy & Direct Forge Architecture
1. Executive Summary: No Vendor Servers, No External Storage
Unlike external SaaS ETL pipelines that pull corporate Jira issues, comments, and customer data through vendor compute clusters and stage payloads in vendor S3, GCS, or Azure Blob buckets, Snowflake CDC Connector for Jira is built on Atlassian Forge's managed runtime with zero external servers.
Your Jira Cloud data travels over a direct TLS 1.2+ connection from Atlassian Forge straight to your configured Snowflake SQL REST API v2 endpoint (https://<account>.snowflakecomputing.com/api/v2/statements).
- No vendor compute servers
- No intermediate object storage or staging buckets
- No external sub-processors for Jira payloads
- In-Forge 1-click keypair generation (private keys never touch developer laptops or third-party servers)
- No per-issue webhook triggers (scheduled batches check Jira timestamps first)
Billing & Infrastructure Boundary: Requires an active Snowflake account (billed separately by Snowflake). Customer retains full operational, cost, and data governance control over its Snowflake account.
2. Architecture & Data Flow Diagram
3. Atlassian Forge Scopes, Permissions, EUD & Data Residency Disclosure
Requested OAuth / Forge Scopes (manifest.yml)
read:jira-work: Grants read access only to Jira projects, fields (/rest/api/3/project/search,/rest/api/3/field), JQL search (/rest/api/3/search/jql), and issue changelogs (/rest/api/3/issue/{id}/changelog). The app never writes, modifies, transitions, or deletes Jira issues or site configuration.storage:app: App-scoped storage (@forge/kvs) residing strictly inside your Atlassian Forge tenant partition for connection metadata, pipeline settings (withpruneCustomFieldDefinitionskeeping definitions well below Forge's 240 KiB per-key limit), last 20 run summaries, failed batch records, sync lease lock state, and encrypted PKCS#8 secret storage (kvs.setSecret).
Domain-Scoped Direct Egress (*.snowflakecomputing.com, inScopeEUD: true)
- What
inScopeEUD: trueMeans (EUD = End-User Data): Inmanifest.yml, the backend egress allowlist*.snowflakecomputing.comdeclaresinScopeEUD: true. In Atlassian Forge, EUD stands for End-User Data and discloses to the Forge platform that outbound calls to*.snowflakecomputing.comtransmit Atlassian End-User Data. It does not mean "EU Data Residency." - Data Residency UI Status (Not
PINNED): Because this app transmits End-User Data directly to customer-configured*.snowflakecomputing.comendpoints rather than pinning a vendor backend inside Atlassian's Data Residency realms, Atlassian Administration's Data Residency screen does not show aPINNEDresidency badge for this app. - How Customers Enforce Geographic Data Residency: Customers enforce geographic data residency for warehouse data directly in Snowflake by provisioning their Snowflake account in the desired cloud region (for example,
eu-central-1Frankfurt for EU residency) and saving only that regional*.snowflakecomputing.comhostname in Jira Administration. - Why
"Runs on Atlassian"Is Not Claimed: Atlassian reserves the"Runs on Atlassian"badge exclusively for zero egress apps that never transmit End-User Data outside Atlassian Cloud. Because a Snowflake warehouse connector must send Jira records directly into your own Snowflake account over the Snowflake SQL REST API v2, the app declares domain-scoped backend egress locked strictly to*.snowflakecomputing.com(rejecting all non-Snowflake and.privatelink.hosts in code) and therefore does not claim the"Runs on Atlassian"badge. - Optional Display Names Privacy Default: User identity columns store pseudonymous Atlassian
accountIdstrings by default; optionalASSIGNEE_DISPLAY_NAMEandREPORTER_DISPLAY_NAMEreplication stays off until enabled by a Jira Administrator on the Projects & Fields tab.
4. Access Control, Licensing, Sandbox Guard & Authentication
- Jira Administrator Authorization (
HTTP 403Enforced Across All 10 Resolvers):- Every backend UI resolver (10 total:
getDashboardState,generateKeyPair,saveConfig,testConnection,discoverJiraMetadata,savePipelineSettings,triggerSync,getRunHistory,forceClearLease, andclearDeadLetters) executesassertJiraAdmin()before reading@forge/kvsor returning configuration metadata. assertJiraAdmin()queriesGET /rest/api/3/mypermissions?permissions=ADMINISTERviaapi.asUser().requestJira(...)and parses the response strictly with Zod. Non-administrators or failed permission checks are blocked immediately withForbiddenError(HTTP 403) and zero secret or configuration disclosure.
- Every backend UI resolver (10 total:
- Atlassian Marketplace License Enforcement (
HTTP 402&appIsLicensed):manifest.ymldeclaresapp.licensing.enabled: trueand appliesfilter: { appIsLicensed: true }tocdc-five-minute-schedule.- Backend resolvers and scheduled/worker handlers also invoke
assertActiveLicense()before accessing storage or running syncs; inPRODUCTIONenvironments, missing or inactive Marketplace entitlements are rejected immediately (LicenseRequiredError/HTTP 402in resolvers, immediate no-op with zero KVS or HTTP calls in scheduled ticks).
- Jira Sandbox Clone Protection (
sourceCloudIdGuard):- When an admin saves Snowflake settings (
saveSnowflakeConnectionorgenerateKeyPair), the app records the Jira site'ssourceCloudIdinside'snowflake:config'. - If a production Jira Cloud site is copied into a Jira Sandbox, the runtime
cloudIdno longer matchessourceCloudId.scheduledTriggerHandlerdetects the mismatch and exits without enqueueing sync jobs, and the Connection tab surfaces a warning (cloudIdMismatch: true) until an administrator intentionally re-saves the connection.
- When an admin saves Snowflake settings (
- 1-Click In-Forge RSA Keypair Generation & Encrypted
@forge/kvsSecret Storage (KEYPAIR_JWT, RS256):- Passwords and OAuth refresh tokens are never stored or transmitted.
- With 1-click Generate Key & Save Connection (
generateKeyPair), Forge generates a 2048-bit PKCS#8 RSA keypair in Atlassian'snodejs22.xruntime (node:crypto) and writes the private key directly tokvs.setSecret('snowflake:privateKeyPem', ...). Private keys never touch developer laptops, terminal shell history, browser memory, or third-party servers. - Teams that prefer customer-managed keys can still paste an unencrypted PKCS#8 PEM under Advanced options (for example, during zero-downtime key rotation with
RSA_PUBLIC_KEY_2). - Once saved, the private key is never returned to the browser: resolver responses return only
hasPrivateKey: true,publicKeyFingerprint(SHA256:...),publicKeyBodyBase64,setupSql, andcompleteSetupSql.
- Short-Lived RS256 Token Signing & Rotation:
- Signed inside
nodejs22.xvia Nodenode:cryptowithiss = <ACCOUNT>.<USER>.<SHA256_FINGERPRINT>,sub = <ACCOUNT>.<USER>, and a 55-minute lifetime (exp <= iat + 3300), proactively rotated 5 minutes prior to expiry.
- Signed inside
- Automated Secret Redaction:
- All error messages, failed batch records, run history rows, and Forge console logs pass through
redactSecrets()to scrub multi-line and JSON-escaped\nPEM private key blocks, raw ASN.1 base64 key material (MII...),Bearerand raweyJ...JWTs,Basicauth headers, and AtlassianATATT...tokens.
- All error messages, failed batch records, run history rows, and Forge console logs pass through
- Snowflake Cortex Analyst Template Isolation:
- The Snowflake Cortex Analyst Semantic View DDL (
CREATE OR REPLACE SEMANTIC VIEW) is built locally inside the Jira Admin UI from your configured database and schema names. When executed in Snowsight, all natural-language questions and query results execute strictly inside your Snowflake account; Frontier Principles never receives Cortex prompts or query outputs.
- The Snowflake Cortex Analyst Semantic View DDL (
5. Application Layer Guardrails (SSRF, SQL Injection & Credit Protection)
- SSRF & PrivateLink Protection: Configured hostnames are normalized and validated against the strict multi-label ASCII regex
^([a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+snowflakecomputing\.com$(SNOWFLAKE_HOST_REGEX, max253characters) before every HTTP call. This supports modern organization hostnames (orgname.accountname.snowflakecomputing.com) and regional/cloud hostnames (xy12345.eu-central-1.snowflakecomputing.com,xy12345.us-east-1.aws.snowflakecomputing.com) while rejecting baresnowflakecomputing.com, PrivateLink hostnames containing.privatelink.(unreachable from Atlassian cloud), HTTP schemes, ports, paths, userinfo (@), IPv4/IPv6 literals,localhost, cloud metadata endpoints (169.254.169.254), IDN/xn--punycode homoglyphs, and external domains. SnowflakeHTTP 202polling URLs validatestatementHandleagainst/^[0-9A-Za-z_-]{8,128}$/and re-anchor exclusively to the validated host, while outbound statementtimeoutis clamped to<= 180seconds. - SQL Injection & Merge Deduplication Guards:
- Every SQL identifier (
database,schema,warehouse,role,targetTable, and up to 50 promotedCF_*columns) must pass^[A-Za-z_][A-Za-z0-9_$]*$(1 to 255 chars) and double-quote escaping (quoteIdentifier). - Promoted Jira custom fields use deterministic sanitized names (
deriveCustomFieldColumnName) and an isolated"__EVOLVED"property inside the?bound JSON array so raw JirafieldIdand display strings never appear inside Snowflake SQL text. - All data rows are transmitted via Snowflake SQL REST API
bindings(LATERAL FLATTEN(input => PARSE_JSON(?))) withQUALIFY ROW_NUMBER() OVER (PARTITION BY "<PK>" ORDER BY "<GUARD>" DESC) = 1deduplication inside everyMERGE INTOsource subquery.
- Every SQL identifier (
- Idle Warehouse Protection, 5-Minute Overlap & Failure Circuit Breaker:
- Zero per-issue Forge event triggers (
avi:jira:updated:issue), preventing runaway Forge compute storms during bulk edits. manifest.ymltriggerscdc-five-minute-schedule(interval: fiveMinute,filter: { appIsLicensed: true }), gated by admin-selected5,15,30, or60minute cadence in@forge/kvs.- When an incremental watermark already exists (with no pending checkpoint continuation), each elapsed tick executes a lightweight Jira-only
POST /rest/api/3/search/jqlcheck (maxResults: 5,fields: ['updated'],expandChangelog: false, with a 5-minute safety overlapSAFETY_OVERLAP_MS = 5 * 60 * 1000). If zero issues changed since the last committed watermark, the scheduler returns immediately with zero KVS writes, zero queue pushes, and zero Snowflake warehouse wakeups. - Bounded
250row /1.5 MBbursts wake your Snowflake warehouse once per sync cycle (compatible withAUTO_SUSPEND = 60), guarded by explicitwarehouse,database,schema, androleon every statement, monotonicsrc."UPDATED_AT" >= tgt."UPDATED_AT"MERGE INTOguards,MAX_CHANGELOG_HISTORIES_PER_ISSUE = 2000,780ssoft-stop checkpointing inside Forge's900sasync worker, manual lock recovery viaforceClearLease(Clear Sync Lock), and an automatic pause circuit breaker (autoPausedReason) after 5 consecutive sync failures.
- Zero per-issue Forge event triggers (
6. Trust Center & Security Questionnaire FAQ
| Question | Answer |
|---|---|
| Do you store our Jira issues or credentials on vendor servers? | No. Petridisz & Company Kft. operates zero external servers, databases, or object storage buckets. Configuration and encrypted PKCS#8 secrets reside inside your Atlassian-managed Forge tenant storage (@forge/kvs), and Jira records stream directly to your Snowflake endpoint. |
| Where is the RSA private key generated and stored? | Clicking Generate Key & Save Connection generates a 2048-bit RSA PKCS#8 keypair on Atlassian Forge's runtime (node:crypto) and saves the private key straight to kvs.setSecret. It never touches developer laptops, shell history, or vendor servers, and is never sent back to the browser UI. |
| What happens during GDPR right-to-erasure or app uninstall? | Uninstalling the app removes its Forge tenant @forge/kvs config and encrypted secret state automatically. Snowflake copies live solely inside your Snowflake database under your own retention and deletion controls; deleting an issue in Jira does not auto-purge historical Snowflake rows, so Customer executes GDPR erasure directly in Jira and Snowflake. |
What does inScopeEUD: true mean, and how is geographic data residency enforced? | In Atlassian Forge, EUD means End-User Data (indicating the *.snowflakecomputing.com egress carries End-User Data), not EU Data Residency. Because the app transmits directly to your *.snowflakecomputing.com endpoint, it is not marked PINNED in Atlassian's Data Residency UI and does not claim the "Runs on Atlassian" badge. You enforce geographic data residency directly by provisioning your Snowflake account in your target region (e.g., eu-central-1 Frankfurt) and configuring that hostname. |
| Who can view or edit Snowflake settings in Jira? | Access to all 10 backend resolvers (including generateKeyPair, forceClearLease, and clearDeadLetters) is restricted via assertJiraAdmin to authenticated Jira Administrators holding the ADMINISTER global permission (HTTP 403) on an actively licensed site. |
| Does an idle Jira site burn Snowflake credits every 5 minutes? | No. Before pushing a queue job or waking Snowflake, the scheduler runs a Jira-only timestamp check (fields: ['updated'], no changelog expansion). If no issues were updated after the committed watermark, the run exits with zero KVS writes and zero Snowflake requests. |
How are rate limits (HTTP 429) handled without dropping data? | Both Jira Cloud and Snowflake clients honor Retry-After headers with bounded exponential backoff, remaining-budget clamping (< 900s), failed batch logging, and atomic watermark advancement only after all Snowflake MERGE INTO batches succeed. |