1. 5-Minute Quick Start
PII Shield deploys 100% inside Atlassian Forge with automatic per-tenant schema provisioning — no external servers, API keys, or webhook tunnels to configure.
- Install PII Shield for Jira from the Atlassian Marketplace onto your Jira Cloud site (Jira Software and/or Jira Service Management).
- Upon installation, the lifecycle hook automatically initializes your isolated Forge SQL database, generates a unique 256-bit cryptographic tenant salt, and activates the default compliance packs.
- Open Jira Settings → Apps → PII Shield Security to access the Global Security Dashboard.
- Open the Historical Scan tab, toggle Scan Issue Changelog History ON, and click Start Historical Scan to audit existing tickets asynchronously via Forge Async Events.
2. Verifiable Zero-Egress Architecture
PII Shield’s Forge manifest requests only the minimal Jira product scopes and Forge-hosted SQL storage. No permissions.external, remotes, or legacy Connect modules exist anywhere in the app:
permissions:
scopes:
- read:jira-work
- write:jira-work
- read:jira-user
- storage:app
# permissions.external is completely absent -> 0 bytes outbound egress.
app:
runtime:
name: nodejs22.x
Zero Plaintext Storage: When a secret or PII value matches, PII Shield computes SHA-256(tenantSalt + "\0" + ruleId + "\0" + value) and generates a safely masked snippet (e.g., AKIA************6Z3R). Neighboring secrets within the preview window are also masked to prevent cross-leakage.
3. Complete 100-Rule Global Compliance Catalog
Aligned with GitHub Secret Scanning Partner Patterns, Gitleaks, Microsoft Purview SIT, and Google Cloud DLP InfoTypes. Toggle entire regional compliance packs in one click or configure individual rules inside Rules & Compliance Packs.
| Rule ID | Name | Pack | Severity | Validation Gate |
|---|---|---|---|---|
aws_access_key | AWS Access Key ID | Global Secrets | Critical | Prefix + Docs Example Allowlist |
aws_secret_key | AWS Secret Access Key | Global Secrets | Critical | 40-char Base64 + Context + Entropy ≥ 3.8 |
aws_session_token | AWS Temporary Session Token | Global Secrets | Critical | STS Prefix (FwoG/IQoJ) or Security-Token Context + Entropy ≥ 4.0 |
gcp_api_key | Google Cloud API Key | Global Secrets | Critical | AIza 39-char signature |
gcp_service_account | GCP Service Account JSON | Global Secrets | Critical | service_account + private_key structure |
google_oauth_secret | Google OAuth Client Secret | Global Secrets | Critical | GOCSPX- 28-char official prefix |
azure_conn_string | Azure Storage / Service Bus Key | Global Secrets | Critical | AccountKey / SharedAccessKey + Entropy ≥ 3.5 |
azure_sas_token | Azure Storage / Service Bus SAS Token | Global Secrets | Critical | sv=20xx-xx-xx + &sig= signature validation |
azure_entra_client_secret | Azure Entra ID Client Secret | Global Secrets | Critical | Microsoft 8Q~ / 7Q~ structural marker + Entropy ≥ 3.6 |
stripe_live_key | Stripe Live Secret / Restricted Key | Global Secrets | Critical | sk_live / rk_live prefix |
stripe_webhook_secret | Stripe Webhook Signing Secret | Global Secrets | Critical | whsec_ official prefix |
github_token | GitHub PAT / Fine-Grained / OAuth | Global Secrets | Critical | ghp/gho/ghu/ghs/ghr & github_pat_ |
gitlab_token | GitLab PAT / Deploy / Runner Token | Global Secrets | Critical | glpat- / gldt- / glrt- official prefixes |
openai_api_key | OpenAI API Key | Global Secrets | Critical | sk- / sk-proj- + Entropy ≥ 3.4 |
anthropic_api_key | Anthropic Claude API Key | Global Secrets | Critical | sk-ant-api03- signature |
huggingface_token | Hugging Face Access Token | Global Secrets | Critical | hf_ prefix + Entropy ≥ 3.3 |
slack_token | Slack Bot / User / Webhook Token | Global Secrets | Critical | xox[baprs]- & hooks.slack.com |
twilio_api_key | Twilio API Key | Global Secrets | High | SK32hex + Twilio context window |
sendgrid_api_key | SendGrid API Key | Global Secrets | Critical | SG.22.43 exact format |
private_key_pem | RSA / EC / OpenSSH Private Key | Global Secrets | Critical | PEM header/block matcher (incl. multi-line ADF) |
db_connection_uri | Database URI with Credentials | Global Secrets | Critical | Captures password group only (keeps host readable) |
jwt_token | Hardcoded JWT Bearer Token | Global Secrets | High | 3-segment eyJ JWT structure |
http_basic_auth | HTTP Basic Auth Header Credentials | Global Secrets | Critical | Decoded Base64 user:pass validation |
http_cookie_session | HTTP Cookie / Session Token | Global Secrets | Critical | Cookie/Set-Cookie JSESSIONID/PHPSESSID/session_id + Entropy ≥ 3.2 |
atlassian_api_token | Atlassian API Token | Global Secrets | Critical | ATATT3xFfGF0 signature incl. padding |
npm_access_token | npm Automation / Granular Token | Global Secrets | Critical | npm_ 36-char signature |
pypi_api_token | PyPI API Token | Global Secrets | Critical | pypi-AgEIcHlwaS5vcmc signature |
hashicorp_vault_token | HashiCorp Vault Service / Batch Token | Global Secrets | Critical | hvs. / hvb. official prefixes |
datadog_api_key | Datadog API Key | Global Secrets | High | 32-hex + Datadog context + Entropy ≥ 3.2 |
cloudflare_api_token | Cloudflare API Token | Global Secrets | High | 40-char + Cloudflare context + Entropy ≥ 3.6 |
shopify_access_token | Shopify Admin / Custom App Token | Global Secrets | Critical | shpat/shpca/shppa/shpss 32-hex signature |
hubspot_api_token | HubSpot Private App Token | Global Secrets | Critical | pat-na1 / pat-eu1 UUID signature |
alicloud_access_key | Alibaba Cloud AccessKey ID | Global Secrets | Critical | LTAI official prefix + Entropy ≥ 3.0 |
digitalocean_token | DigitalOcean Personal / OAuth Token | Global Secrets | Critical | dop_v1_ / doo_v1_ / dor_v1_ 64-hex signature |
databricks_token | Databricks Personal Access Token | Global Secrets | Critical | dapi + 32-hex official format |
supabase_token | Supabase Access / Secret Token | Global Secrets | Critical | sbp_ 40-hex / sb_secret_ official prefix |
grafana_token | Grafana Service Account / Cloud Token | Global Secrets | Critical | glsa_ / glc_ official prefixes |
sentry_auth_token | Sentry Organization Auth Token | Global Secrets | Critical | sntrys_ Base64 segmented signature |
postman_api_key | Postman API Key | Global Secrets | Critical | PMAK-24hex-34hex exact signature |
notion_token | Notion Integration Token | Global Secrets | Critical | ntn_ official integration prefix |
linear_api_key | Linear API Key | Global Secrets | Critical | lin_api_ 40-char official format |
figma_token | Figma Personal Access Token | Global Secrets | High | figd_ 40-char official format |
square_access_token | Square OAuth / Application Secret | Global Secrets | Critical | sq0csp- 43-char official format |
discord_webhook | Discord Webhook URL | Global Secrets | High | Official discord.com/api/webhooks signature |
telegram_bot_token | Telegram Bot API Token | Global Secrets | High | Bot ID + :AA 33-char official format |
generic_password | Context Password Assignment (EN / CJK) | Global Secrets | High | EN/CN/JP/KR Key=Value + Entropy ≥ 3.0 + Placeholder Filter |
generic_api_key | Context API Key / X-API-Key Header | Global Secrets | High | X-API-Key/api_key + Entropy ≥ 3.6 + UUID Filter |
generic_api_secret | Context API Secret / Bearer Token | Global Secrets | High | Context + Entropy ≥ 3.6 + UUID Filter |
credit_card_pan | Credit / Debit Card PAN | Financial & PII | Critical | IIN/BIN Prefix + Luhn Mod-10 + Test Card Filter |
credit_card_cvv | Payment Card CVV / CVC Security Code | Financial & PII | Critical | PCI-DSS Strict CVV/CVC Context + 3–4 Digits |
bank_account_context | Bank Account Number (Context) | Financial & PII | High | Multilingual Bank Account Context + Date/Sequence Filter |
swift_bic_context | SWIFT / BIC Bank Identifier | Financial & PII | Medium | ISO 9362 + ISO 3166 Country Check + Context |
crypto_private_key | Cryptocurrency Wallet Private Key | Financial & PII | Critical | 64-Hex Private Key + Wallet Context + Entropy ≥ 3.5 |
email_address | Personal Email Address (Optional) | Financial & PII | Low | RFC 2606 + Internal Company Domain Allowlist |
intl_phone_context | International Mobile / Phone (Optional) | Financial & PII | Medium | E.164 & EU/UK/JP/KR/AU/CN Mobile + Multilingual Context |
date_of_birth_context | Date of Birth / DOB (Optional) | Financial & PII | Medium | Strict EN/CJK DOB Prefix + Exact Calendar Validation |
ipv4_address | Public IPv4 Address (Optional) | Financial & PII | Low | Excludes RFC1918, Loopback, Version Strings |
ipv6_address | Public IPv6 Address (Optional) | Financial & PII | Low | Global Unicast 2000::/3 (Excludes ::1, fe80::, ULA, Docs) |
us_ssn | US Social Security Number | Americas | Critical | SSA Range Exclusions + Context Window |
us_itin | US Individual Taxpayer ID | Americas | High | Official IRS 9xx Group Ranges + Context |
us_ein | US Employer ID Number | Americas | Medium | Valid IRS Campus Prefixes + Context |
us_aba_routing | US Bank ABA Routing Number | Americas | High | Fed Reserve Prefix + Weighted Mod-10 + Context |
us_medicare_mbi | US Medicare Beneficiary ID (MBI) | Americas | Critical | CMS 11-Char Layout (Excludes S/L/O/I/B/Z) + Context |
us_drivers_license | US Driver's License Number | Americas | High | Strict DLN Context + Alphanumeric Digit Check |
us_phone_context | US / Canada Phone Number (Optional) | Americas | Medium | NANP Rules (excludes 555-01xx) + Context |
us_hipaa_mrn | HIPAA Medical Record / Patient ID (Optional) | Americas | High | Medical Record Context + Alphanumeric ID |
ca_sin | Canada Social Insurance Number | Americas | Critical | Luhn Mod-10 + Context Window |
br_cpf | Brazil Individual Tax ID (CPF / LGPD) | Americas | Critical | 11-Digit Dual Mod-11 Checksum + Repeat Filter |
br_cnpj | Brazil Corporate Tax ID (CNPJ, Optional) | Americas | Medium | 14-Digit Dual Weighted Mod-11 + Context |
mx_curp | Mexico Population Registry Code (CURP) | Americas | Critical | 32-State Table + Birth Date + RENAPO Mod-10 Check |
eu_iban | European IBAN Bank Account | Europe & UK | Critical | 50-Country Exact Lengths + ISO 7064 MOD-97 |
uk_nino | UK National Insurance Number | Europe & UK | Critical | Official HMRC Excluded Letters & Prefixes |
uk_nhs | UK NHS Medical Number | Europe & UK | Critical | Modulus 11 Checksum + Context |
uk_sort_code | UK Bank Sort Code | Europe & UK | High | XX-XX-XX Format + BACS / Sort Code Context |
uk_drivers_license | UK Driving Licence Number (DVLA) | Europe & UK | High | Official 16-Char DVLA Structure + Context |
de_steuer_id | Germany Tax ID (Steuer-ID) | Europe & UK | High | Digit Frequency + ISO/IEC 7064 Mod 11,10 |
fr_insee | France Social Security (NIR/INSEE) | Europe & UK | Critical | Mod-97 Control Key (incl. Corsica 2A/2B) |
nl_bsn | Netherlands Citizen Service (BSN) | Europe & UK | Critical | Dutch 11-proef Checksum + Context |
es_dni_nie | Spain National ID (DNI / NIE) | Europe & UK | Critical | Official Spain Mod-23 Control Letter + Context |
it_codice_fiscale | Italy Tax Code (Codice Fiscale) | Europe & UK | Critical | Birth Date Code + Official Mod-26 Check Letter |
ch_ahv_number | Switzerland Social Security (AHV / AVS) | Europe & UK | Critical | 756 Prefix + Official EAN-13 Mod-10 Checksum |
pl_pesel | Poland National / Social ID (PESEL) | Europe & UK | Critical | Century-Encoded Date + Weighted Mod-10 + Context |
se_personnummer | Sweden Personal Identity (Personnummer) | Europe & UK | Critical | Birth/Coordination Date + Luhn Mod-10 + Context |
be_national_number | Belgium National Register (RRN / NISS) | Europe & UK | Critical | Calendar Date + Dual-Century Mod-97 + Context |
ie_ppsn | Ireland Personal Public Service (PPSN) | Europe & UK | Critical | Official Revenue Weighted Mod-23 + Context |
pt_nif | Portugal Tax ID (NIF) | Europe & UK | High | Valid Leading Prefix + Weighted Mod-11 + Context |
eu_vat | EU VAT Registration Number (Optional) | Europe & UK | Medium | Member-State Prefix + VAT Context |
eu_passport_context | International Passport Number | Europe & UK | High | Multilingual EN/EU/CJK Passport Context + Digit Check |
au_tfn | Australia Tax File Number | APAC | Critical | 8/9-Digit ATO Weighted Mod-11 + Context |
au_medicare | Australia Medicare Number | APAC | High | Weighted Mod-10 Check Digit + Context |
au_bsb_code | Australia Bank BSB Code | APAC | High | XXX-XXX Clearing Code + BSB Context |
nz_ird | New Zealand Tax Number (IRD) | APAC | Critical | Official Two-Pass Weighted Mod-11 + Context |
sg_nric | Singapore NRIC / FIN | APAC | Critical | ICA Weighted Mod-11 Check Letter Table |
jp_my_number | Japan Individual Number (My Number) | APAC | Critical | 12-Digit MIC Weighted Mod-11 + JP/EN Context |
kr_rrn | South Korea Resident Registration (RRN) | APAC | Critical | Calendar Date + Gender + Mod-11 + KR/EN Context |
in_aadhaar | India Aadhaar Number (DPDP) | APAC | Critical | UIDAI Prefix 2-9 + Verhoeff Checksum + Context |
in_pan | India Permanent Account Number (PAN) | APAC | High | Official Holder-Type 4th Letter + Context |
hk_hkid | Hong Kong Identity Card (HKID) | APAC | Critical | Official Weighted Mod-11 (0–9/A) + Context |
tw_national_id | Taiwan National Identification Number | APAC | Critical | MOI Area Code Table + Weighted Mod-10 + Context |
cn_national_id | China Resident ID Card (PIPL, Optional) | APAC | Critical | GB 11643-1999 Calendar + Mod-11 + Context |
4. Lossless ADF Tree Redaction
When an administrator clicks Redact (single or bulk), PII Shield:
- Re-fetches the latest live ADF JSON document from Jira REST API v3.
- Stitches adjacent inline text spans (catching secrets even when partially bolded or styled).
- Verifies the exact
(ruleId, valueHash)match and performs right-to-left in-place replacement with[REDACTED: RULE_ID]. - Automatically prunes empty text nodes (preventing Jira v3 ADF validation errors) and writes back with
notifyUsers=falseso watchers aren’t spammed.
5. Handling the Jira Changelog History Trap
Because Jira Cloud REST API currently prohibits deleting individual changelog records (JRACLOUD-78612), editing or redacting a ticket leaves the original leaked value inside the issue’s History tab. PII Shield scans changelogs asynchronously, deduplicates repeated snapshots per field, tags them as History Exposure, and provides an inline remediation guide covering upstream credential rotation and clean issue clone-and-purge steps.
6. GDPR DSAR Locator & Audit Evidence Export
Under GDPR DSAR & Audit, administrators can search a customer’s email, phone number, or full name across all Jira projects using Jira’s enhanced /rest/api/3/search/jql endpoint to identify every ticket and comment holding their data. The raw query string is never logged in the Audit Trail. Export filtered findings as CSV (with spreadsheet formula-injection protection) or JSON for SOC 2 / ISO 27001 / GDPR auditors.
7. Strict RBAC & ReDoS-Protected Custom Regex
- RBAC: Every administrative resolver validates
ADMINISTERpermissions viaapi.asUser(). Issue panel viewers are verified againstBROWSE_PROJECTS, and non-admins never see masked snippets. - Custom Regex Safety: User-defined rules are limited to 300 characters, statically reject nested quantifiers (such as
(a+)+) and backreferences, and include a real-time preview sandbox before saving.