eDiscovery

Protect privileged material and sealed records, check citations, review evidence and retain metadata-only audit history.

Industry starter · Regulated SaaS

What it checks

Policies in the eDiscovery template, in the order the gateway runs them
PolicyOnChecksAction
prompt-injectionRequestDetects jailbreak and prompt-injection signalsBlock
pii-detectorRequest1 custom identifier patternRedact
dlp-filterRequest3 blocked terms such as “privileged and confidential” and “sealed filing”Block
legal-privilegeResponseBlocks output that contains privilege markersBlock
upl-filterResponseLegal-advice phrases “file this lawsuit” and “sign this settlement”Block
citation-verifierResponseChecks that the request context supports the citations in the outputFlag
quality-scorerResponseAccuracy ≥ 0.80; relevancy ≥ 0.78; combined score ≥ 0.90; at least 120 characters and 2 sentencesBlock
human-oversightResponseNo action is set, so it does not review responsesNone
audit-loggerRequestAdds an allow-only audit marker to the decisionRecord
Policy YAML
pack:
  id: "cfg_ediscovery"
  name: "ediscovery"
  version: "0.1.0"
  enabled: true
  author: "verdictan"
  description: "eDiscovery controls for privileged material, sealed records, citation checks, and a configurable human-oversight point for evidence."
history:
  capture:
    enabled: true
    mode: metadata_only
    include_blocked: true
    fail_open: false
policies:
  chain:
    - "prompt-injection"
    - "pii-detector"
    - "dlp-filter"
    - "legal-privilege"
    - "upl-filter"
    - "citation-verifier"
    - "quality-scorer"
    - "human-oversight"
    - "audit-logger"
policy:
  prompt-injection: {}
  pii-detector:
    action: redact
    detect_patterns:
      - "(?i)(?:case|docket|matter)\\s*(?:#|number|no\\.)\\s*[:#-]?\\s*[A-Z0-9-]{4,20}"
  dlp-filter:
    blocked_terms:
      - "privileged and confidential"
      - "sealed filing"
      - "settlement amount"
    action: block
  legal-privilege: {}
  upl-filter:
    blocked_patterns:
      - "file this lawsuit"
      - "sign this settlement"
  citation-verifier: {}
  quality-scorer:
    min_output_chars: 120
    min_sentences: 2
    thresholds:
      min_aggregate: 0.90
      min_relevancy: 0.78
      min_accuracy: 0.80
    weights:
      relevancy: 0.5
      accuracy: 0.5
  human-oversight: {}
  audit-logger: {}