New Zealand Marking - RESTRICTED

Detects the New Zealand Government RESTRICTED national-security classification under the Protective Security Requirements (PSR) classification system: the verified control/dissemination marking separator (RESTRICTED//..., e.g. RESTRICTED//REL TO NZL, GBR), the legacy SEEMail bracket trigger-word convention ([RESTRICTED]), and the bare ALL-CAPS document-banner form gated by New Zealand government context and a collocation-noise exclusion. Regex logic verified directly against official PSR marking-format guidance (protectivesecurity.govt.nz); matched case-sensitively.

Type
regex
Engine
boost_regex
Confidence
high
Confidence justification
High confidence on the `//` national-security-marking form and the legacy-bracket form: both are structurally distinctive, case-sensitive tokens with low natural-English collision risk, and the `//` separator convention is directly verified against the official PSR marking-format guidance (not inferred). The bare RESTRICTED banner (65) is a common English word used constantly outside government context (RESTRICTED AREA, AGE RESTRICTED, RESTRICTED ACCESS, etc.), so it is the widest tier and is gated by New Zealand government/PSR corroborative evidence plus a dedicated NOT-exclusion for the most common non-government collocations.
Jurisdictions
nz
Regulations
Privacy Act 2020 (NZ)
Frameworks
PSR
Data categories
government, security
Scope
narrow
Risk rating
8
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Compatible

Pattern

\bRESTRICTED//[A-Z]|\[RESTRICTED\]

Corroborative evidence keywords

New Zealand, PSR, Protective Security Requirements, Cabinet

Proximity: 300 characters

Should match

Should not match

Known false positives

Collections