Skip to content

Z204: FORBIDDEN_TERM

Severity: error Penalty: 0.0 (Fatal Exit 2) Category: security Auto-fixable: No

Rationale

This security and governance rule is triggered when a prohibited string or restricted term (configured via forbidden_patterns in .zenzic.toml) is detected within documentation source files.

It enforces brand compliance, inclusive language policies, and confidential keyword restrictions across all published pages.

How to Fix

Inspect the flagged location in the Markdown file and update the content or configuration:

Bad (Triggers Z204)

<!-- BAD: Using a restricted internal code name -->
The system utilizes ProjectOmniInternal for backend routing.

Good (Resolves Z204)

<!-- GOOD: Using approved public brand terminology -->
The system utilizes Zenzic Core Router for backend routing.

Configuration

# .zenzic.toml - Configure forbidden term regex patterns
forbidden_patterns = [
    "(?i)\bProjectOmniInternal\b",
    "(?i)\bconfidential_secret\b",
]

Reference

See the Finding Codes Index for finding code details.