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 46-Rule Compliance Catalog
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 |
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 |
azure_conn_string | Azure Storage / Service Bus Key | Global Secrets | Critical | AccountKey / SharedAccessKey + Entropy ≥ 3.5 |
stripe_live_key | Stripe Live Secret / Restricted Key | Global Secrets | Critical | sk_live / rk_live prefix |
github_token | GitHub PAT / Fine-Grained / OAuth | Global Secrets | Critical | ghp/gho/ghu/ghs/ghr & github_pat_ |
gitlab_token | GitLab Personal Access Token | Global Secrets | Critical | glpat- signature |
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 |
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 |
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 |
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 Token | Global Secrets | Critical | hvs. signature |
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 |
generic_password | Context Password Assignment | Global Secrets | High | Key=Value + Entropy ≥ 3.0 + Placeholder 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 |
swift_bic_context | SWIFT / BIC Bank Identifier | Financial & PII | Medium | ISO 9362 + ISO 3166 Country Check + Context |
email_address | Personal Email Address (Optional) | Financial & PII | Low | RFC 2606 + Internal Company Domain Allowlist |
ipv4_address | Public IPv4 Address (Optional) | Financial & PII | Low | Excludes RFC1918, Loopback, Version Strings |
us_ssn | US Social Security Number | US & Canada | Critical | SSA Range Exclusions + Context Window |
us_itin | US Individual Taxpayer ID | US & Canada | High | Official IRS 9xx Group Ranges + Context |
us_ein | US Employer ID Number | US & Canada | Medium | Valid IRS Campus Prefixes + Context |
us_aba_routing | US Bank ABA Routing Number | US & Canada | High | Fed Reserve Prefix + Weighted Mod-10 + Context |
us_phone_context | US / Canada Phone Number (Optional) | US & Canada | Medium | NANP Rules (excludes 555-01xx) + Context |
us_hipaa_mrn | HIPAA Medical Record / Patient ID | US & Canada | High | Medical Record Context + Alphanumeric ID |
ca_sin | Canada Social Insurance Number | US & Canada | Critical | Luhn Mod-10 + Context Window |
eu_iban | European IBAN Bank Account | EU & UK GDPR | Critical | 50-Country Exact Lengths + ISO 7064 MOD-97 |
uk_nino | UK National Insurance Number | EU & UK GDPR | Critical | Official HMRC Excluded Letters & Prefixes |
uk_nhs | UK NHS Medical Number | EU & UK GDPR | Critical | Modulus 11 Checksum + Context |
de_steuer_id | Germany Tax ID (Steuer-ID) | EU & UK GDPR | High | Digit Frequency + ISO/IEC 7064 Mod 11,10 |
fr_insee | France Social Security (NIR/INSEE) | EU & UK GDPR | Critical | Mod-97 Control Key (incl. Corsica 2A/2B) |
nl_bsn | Netherlands Citizen Service (BSN) | EU & UK GDPR | Critical | Dutch 11-proef Checksum + Context |
eu_vat | EU VAT Registration Number (Optional) | EU & UK GDPR | Medium | Member-State Prefix + VAT Context |
eu_passport_context | EU / UK Passport Number | EU & UK GDPR | High | Multilingual 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 |
sg_nric | Singapore NRIC / FIN | APAC | Critical | ICA Weighted Mod-11 Check Letter Table |
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.