Skip to main content
Version: 0.4.0

KQ075 — a clause appears once in a policy

Error · policy-clause-once · Policies

A policy names each clause once, listing several values in one clause.

A policy names the same clause twice, as in when auth: key and auth: none -> deny protocol: http. List the values in one clause, joined by or: when auth: key or none -> deny protocol: http.

Examples​

This policy names the auth clause twice, so it raises KQ075:

policy no-plain-http in architecture "No plain HTTP for keys or anonymous calls" when auth: key and auth: none -> deny protocol: http

With both values in one clause, joined by or, it raises nothing:

policy no-plain-http in architecture "No plain HTTP for keys or anonymous calls" when auth: key or none -> deny protocol: http

© 2026 Extenza Works. All rights reserved.