Skip to content

Z617: FORBIDDEN_CONTENT_PATTERN

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Description

Prose content matches a forbidden regular expression pattern declared in [policies].forbidden_content_patterns.

This policy enforces organizational vocabulary standards, confidential marker prohibitions, or terminology constraints across technical documentation.


How to Fix

Remove or rephrase the matched content so that it no longer triggers the forbidden regular expression pattern.


Configuration

Declare forbidden patterns in .zenzic.toml:

[policies]
forbidden_content_patterns = ["(?i)\\bTODO\\b", "(?i)\\bconfidential\\b"]

Suppression

Suppress with an inline comment:

<!-- zenzic:ignore:Z617 -->

Reference

See the Finding Codes Index for finding code details.