PCI DSS v4.0.1

Map PCI DSS v4.0.1 controls for cardholder data, testing, change management, encryption and logs.

Control framework · Regulated SaaS, Financial (cache disabled), Private cloud

What it checks

Policies in the PCI DSS v4.0.1 template, in the order the gateway runs them
PolicyOnChecksAction
prompt-injectionRequestDetects jailbreak and prompt-injection signalsBlock
rbacRequestRequires the X-User-ID and X-Org-ID headersBlock
pii-detectorRequestPayment-card data (PCI mode)Redact
dlp-filterRequest4 custom patternsBlock
quality-scorerResponseAccuracy ≥ 0.80; combined score ≥ 0.80Block
audit-loggerRequestAdds an allow-only audit marker to the decisionRecord
Policy YAML
pack:
  id: "fw_pci_dss_baseline"
  name: "pci-dss-baseline"
  version: "0.1.0"
  enabled: true
  author: "verdictan"
  description: "PCI DSS baseline starter for payment identifiers, blocking, and audit evidence."
policies:
  chain:
    - "prompt-injection"
    - "rbac"
    - "pii-detector"
    - "dlp-filter"
    - "quality-scorer"
    - "audit-logger"
policy:
  prompt-injection: {}
  rbac:
    deny_if_missing: ["X-User-ID", "X-Org-ID"]
  pii-detector:
    pci_mode: true
    action: redact
    detect_patterns: []
  dlp-filter:
    detect_patterns: ["(?i)\\bcardholder\\s+data\\b", "\\b(?:\\d[ -]*?){13,19}\\b", "(?i)\\btrack[_\\s-]+data\\b", "(?i)\\bpin\\s+block\\b"]
    action: block
  quality-scorer:
    thresholds:
      min_aggregate: 0.80
      min_accuracy: 0.80
  audit-logger: {}