luplo.core.checks.rules.unlinked_policy¶
Flag policy items no decision cites.
A policy with zero links to or from a decision is either
dead weight (nobody applies it) or lore the team applies implicitly
but has not recorded explicitly. Either way, the link that makes it
auditable is missing.
Attributes¶
Functions¶
|
Module Contents¶
- luplo.core.checks.rules.unlinked_policy.NAME = 'unlinked_policy'¶
- luplo.core.checks.rules.unlinked_policy.DEFAULT_SEVERITY = 'info'¶
- luplo.core.checks.rules.unlinked_policy.DESCRIPTION = 'Policy items that no decision references (no incoming or outgoing link).'¶
- async luplo.core.checks.rules.unlinked_policy.check(conn: psycopg.AsyncConnection[Any], project_id: str) list[luplo.core.checks.types.Finding]¶
- luplo.core.checks.rules.unlinked_policy.RULE¶