Small and Midsize Business
Start with practical controls for confidential data, employee information, attributable access and human review.
What it checks
| Policy | On | Checks | Action |
|---|---|---|---|
| prompt-injection | Request | Similarity threshold 0.80 | Block |
| rbac | Request | Requires the X-User-ID and X-Org-ID headers | Block |
| pii-detector | Request | 2 custom identifier patterns | Redact |
| dlp-filter | Request | 8 custom patterns | Block |
| bot-detector | Request | More than 12 similar requests in 60 seconds; similarity ≥ 0.88 | Block |
| safety-filter | Request | 4 extra blocked phrases such as “harassment” and “discrimination” | Block |
| quality-scorer | Response | Relevancy ≥ 0.72; combined score ≥ 0.75 | Block |
| audit-logger | Request | Adds an allow-only audit marker to the decision | Record |
Rate limit: 200 requests per minute across all gateway replicas.
Policy YAML
pack:
id: "cfg_demo_smb"
name: "demo-smb"
version: "0.2.0"
enabled: true
author: "local"
description: "SMB AI governance baseline — balanced protection for growing businesses"
# Balanced by design — enough governance for real business workflows without enterprise overhead.
global_rate_limit:
max_requests: 200
window_seconds: 60
distributed_rate_limit:
backend: valkey
url_env: VERDICTAN_REDIS_URL
# Keep lightweight metadata for investigations without retaining raw business prompts.
history:
capture:
enabled: true
mode: metadata_only
policies:
chain:
- "prompt-injection"
- "rbac"
- "pii-detector"
- "dlp-filter"
- "bot-detector"
- "safety-filter"
- "quality-scorer"
- "audit-logger"
policy:
prompt-injection:
embedding_threshold: 0.80
response:
action: block
# Basic attributable access for customer-facing and internal business assistants.
rbac:
deny_if_missing:
- "X-User-ID"
- "X-Org-ID"
pii-detector:
action: redact
detect_patterns:
- "(?i)\\b\\d{1,6}\\s+[A-Za-z0-9][A-Za-z0-9\\s.\\-]{2,}\\s+(?:st|street|ave|avenue|rd|road|blvd|drive|ln|lane|dr|way|court|place)\\b"
- "(?i)(?:tax\\s*(?:id|identification)|ein|tin)\\s*[:#-]?\\s*\\d{2}-?\\d{7}"
# Block confidential business extraction attempts rather than just masking them.
dlp-filter:
detect_patterns:
- "(?i)\\bcustomer\\s+(?:list|roster|database)\\b"
- "(?i)\\bpricing\\s+(?:sheet|grid|schedule)\\b"
- "(?i)\\b(?:employee|staff)\\s+salary\\s*[:#-]?\\s*\\$?\\d[\\d]*(?:\\.\\d{2})?"
- "(?i)\\bboard\\s+(?:meeting\\s+)?minutes\\b"
- "(?i)\\b(?:merger|acquisition)\\s+(?:target|terms|announcement)\\b"
- "(?i)\\b(?:merger|acquisition|m\\s*&\\s*a)\\s+(?:target|deal|term\\s*sheet)\\b"
- "(?i)\\b(?:earnings|revenue|demand)\\s+forecast\\b"
- "(?i)\\bstrategic\\s+plan\\b"
action: block
bot-detector:
action: block
profile_window_seconds: 60
similarity_threshold: 0.88
max_requests_per_window: 12
# Balanced workplace safety baseline for everyday business copilots.
safety-filter:
block_if:
- "harassment"
- "discrimination"
- "threats"
- "fraud_instructions"
action: block
quality-scorer:
thresholds:
min_aggregate: 0.75
min_relevancy: 0.72
audit-logger: {}