Docs / Brand Guard
Brand Guard
Redact competitor brands and restricted terms on-device before egress — no cloud LLM classification. Dashboard → Policies → Brand Guard has three dictionaries; they sync on GET /v1/config and map one-to-one to the SDK brandGuard options.
- Competitors →
[COMPETITOR_MENTION_BLOCKED](brand_guard_competitors) - Restricted terms →
[RESTRICTED_TERM](brand_guard_terms) - Allowlist → never match (
brand_guard_allowlist)
SDK usage
javascript
import { maskPii } from '@noeticguard/core';
// Dashboard Policies → GET /v1/config → these three arrays.
const { output } = maskPii("Share the Project Nightingale deck with Acme.", {
brandGuard: {
competitors: ['Acme'], // brand_guard_competitors → [COMPETITOR_MENTION_BLOCKED]
customTerms: ['Project Nightingale'], // brand_guard_terms → [RESTRICTED_TERM]
allowlist: ['Acme Street'], // brand_guard_allowlist → never match
},
});
// Matched terms are redacted locally — never vaulted.