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

Atlassian Forge Managed Runtime Atlassian operated compute · zero vendor servers Jira Admin UI UI Kit · 10 RPCs 1-click RSA Keygen node:crypto kvs.setSecret 5-Min Schedule 5/15/30/60m idle @forge/kvs privateKeyPem Enqueue if changed RS256 JWT 900s Async CDC Worker 780s checkpoint · PARSE_JSON(?) batch asApp() read:jira-work Jira Cloud REST API v3 /rest/api/3/search/jql & /changelog Customer Snowflake Account *.snowflakecomputing.com · customer billed Snowflake SQL REST API v2 https://<acct>.snowflakecomputing.com KEYPAIR_JWT Verifier RS256 + RSA_PUBLIC_KEY Customer Virtual Warehouse JIRA_CDC_WH · AUTO_SUSPEND = 60 MERGE INTO 5 SQL Tables + Semantic View ISSUES_CURRENT (PARENT_ID, CF_*) ISSUE_CHANGELOGS · STATUS_DURATIONS SPRINT_HISTORY · SYNC_WATERMARKS JIRA_AGILE_ANALYST (Cortex View) TLS 1.2+ Direct Egress
Direct HTTPS data path from Jira Cloud and Atlassian Forge to your Snowflake account with zero intermediate vendor storage.

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 (with pruneCustomFieldDefinitions keeping 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: true Means (EUD = End-User Data): In manifest.yml, the backend egress allowlist *.snowflakecomputing.com declares inScopeEUD: true. In Atlassian Forge, EUD stands for End-User Data and discloses to the Forge platform that outbound calls to *.snowflakecomputing.com transmit 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.com endpoints rather than pinning a vendor backend inside Atlassian's Data Residency realms, Atlassian Administration's Data Residency screen does not show a PINNED residency 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-1 Frankfurt for EU residency) and saving only that regional *.snowflakecomputing.com hostname 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 accountId strings by default; optional ASSIGNEE_DISPLAY_NAME and REPORTER_DISPLAY_NAME replication stays off until enabled by a Jira Administrator on the Projects & Fields tab.

4. Access Control, Licensing, Sandbox Guard & Authentication

  1. Jira Administrator Authorization (HTTP 403 Enforced Across All 10 Resolvers):
    • Every backend UI resolver (10 total: getDashboardState, generateKeyPair, saveConfig, testConnection, discoverJiraMetadata, savePipelineSettings, triggerSync, getRunHistory, forceClearLease, and clearDeadLetters) executes assertJiraAdmin() before reading @forge/kvs or returning configuration metadata.
    • assertJiraAdmin() queries GET /rest/api/3/mypermissions?permissions=ADMINISTER via api.asUser().requestJira(...) and parses the response strictly with Zod. Non-administrators or failed permission checks are blocked immediately with ForbiddenError (HTTP 403) and zero secret or configuration disclosure.
  2. Atlassian Marketplace License Enforcement (HTTP 402 & appIsLicensed):
    • manifest.yml declares app.licensing.enabled: true and applies filter: { appIsLicensed: true } to cdc-five-minute-schedule.
    • Backend resolvers and scheduled/worker handlers also invoke assertActiveLicense() before accessing storage or running syncs; in PRODUCTION environments, missing or inactive Marketplace entitlements are rejected immediately (LicenseRequiredError / HTTP 402 in resolvers, immediate no-op with zero KVS or HTTP calls in scheduled ticks).
  3. Jira Sandbox Clone Protection (sourceCloudId Guard):
    • When an admin saves Snowflake settings (saveSnowflakeConnection or generateKeyPair), the app records the Jira site's sourceCloudId inside 'snowflake:config'.
    • If a production Jira Cloud site is copied into a Jira Sandbox, the runtime cloudId no longer matches sourceCloudId. scheduledTriggerHandler detects 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.
  4. 1-Click In-Forge RSA Keypair Generation & Encrypted @forge/kvs Secret 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's nodejs22.x runtime (node:crypto) and writes the private key directly to kvs.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, and completeSetupSql.
  5. Short-Lived RS256 Token Signing & Rotation:
    • Signed inside nodejs22.x via Node node:crypto with iss = <ACCOUNT>.<USER>.<SHA256_FINGERPRINT>, sub = <ACCOUNT>.<USER>, and a 55-minute lifetime (exp <= iat + 3300), proactively rotated 5 minutes prior to expiry.
  6. 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 \n PEM private key blocks, raw ASN.1 base64 key material (MII...), Bearer and raw eyJ... JWTs, Basic auth headers, and Atlassian ATATT... tokens.
  7. 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.

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, max 253 characters) 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 bare snowflakecomputing.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. Snowflake HTTP 202 polling URLs validate statementHandle against /^[0-9A-Za-z_-]{8,128}$/ and re-anchor exclusively to the validated host, while outbound statement timeout is clamped to <= 180 seconds.
  • SQL Injection & Merge Deduplication Guards:
    • Every SQL identifier (database, schema, warehouse, role, targetTable, and up to 50 promoted CF_* 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 Jira fieldId and display strings never appear inside Snowflake SQL text.
    • All data rows are transmitted via Snowflake SQL REST API bindings (LATERAL FLATTEN(input => PARSE_JSON(?))) with QUALIFY ROW_NUMBER() OVER (PARTITION BY "<PK>" ORDER BY "<GUARD>" DESC) = 1 deduplication inside every MERGE INTO source subquery.
  • 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.yml triggers cdc-five-minute-schedule (interval: fiveMinute, filter: { appIsLicensed: true }), gated by admin-selected 5, 15, 30, or 60 minute 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/jql check (maxResults: 5, fields: ['updated'], expandChangelog: false, with a 5-minute safety overlap SAFETY_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 250 row / 1.5 MB bursts wake your Snowflake warehouse once per sync cycle (compatible with AUTO_SUSPEND = 60), guarded by explicit warehouse, database, schema, and role on every statement, monotonic src."UPDATED_AT" >= tgt."UPDATED_AT" MERGE INTO guards, MAX_CHANGELOG_HISTORIES_PER_ISSUE = 2000, 780s soft-stop checkpointing inside Forge's 900s async worker, manual lock recovery via forceClearLease (Clear Sync Lock), and an automatic pause circuit breaker (autoPausedReason) after 5 consecutive sync failures.

6. Trust Center & Security Questionnaire FAQ

QuestionAnswer
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.