input / output).
Starfort’s Guard Policy Type Catalog is a fixed set — PII and TOPIC. A System Guardian declares the subset it can evaluate, and a Project Guardian inherits that subset. Each policy carries a Policy Name that is unique within the project; that name is the identifier used in Guardian output and in Opticon trace tags, so renaming a policy starts a fresh identity rather than rewriting history.
PII policy
Detects personal/sensitive data and decides what to do with each match. A PII policy is made of three rule kinds:| Rule kind | Matches by | Typical use |
|---|---|---|
| NER | a trained entity model (name, address, …) | natural-language entities |
| Regex | a regular expression | structured IDs (phone, RRN, card, email) |
| Keyword | an exact word/phrase | denylisted terms |
MASKING— replace the match with a mask word token (e.g.PHONE_NUMBER→[PHONE_NUMBER_1]).BLOCKING— block the whole request when matched.PASSING— explicitly allow (e.g. allowlist test data) so it is not caught by a broader rule.
The default PII policy shipped by Starfort covers Korean phone numbers, resident registration numbers, passport/driver-license/customs IDs, bank accounts, cards, emails, and vehicle plates — plus
PASSING rules for common test patterns. See Add a customized PII policy.Topic policy
Classifies content against defined topics and acts on the classification. Each topic definessafe, controversial, and unsafe content, and the classification maps directly to an action:
safe→ PASS — allowed through.controversial→ CHECK — flagged as review-needed. On the Desktop Agent and Proxy Server, CHECK is enforced as PASS (the content passes through with no block or mask and is recorded in the trace only); API callers receiveCHECKas-is.unsafe→ BLOCK — the request is stopped.
How policies are passed to a Guardian
Policies reach a Guardian as a two-level structure: Policy Type → Policy Name. Several policies of the same type are kept separate by name (passed verbatim, never merged), so a singleinput slot can carry, say, two distinct PII policies and a Topic policy at once and each is evaluated independently.
Versioning and assignment
Guard Policies use Semantic Versioning, and a Project Guardian Pins a specific version:- Editing a policy’s rules creates a new version (e.g.
v0.1.0→v0.1.1). - A Project Guardian keeps using the Pinned version until you explicitly re-pin it — save ≠ apply. Publishing a new version does not auto-change a pin.
- A single process-type slot can hold more than one policy (for example a PII policy and a Topic policy on
input).