Skip to main content
Version: 0.4.1

KQ076 — a policy's clauses apply to one subject type

Error · policy-clauses-share-a-subject · Policies

Some subject, a call, a leg, a sync, a grant or a workload identity, can match every clause of a policy.

No connection, workload identity or grant can match all of the policy's clauses, so it selects nothing: credential reads a workload identity and protocol a connection, so a policy naming both never applies. Split it into two policies, or drop the clause that doesn't belong.

Examples​

credential reads a workload identity and protocol a connection, so a policy naming both selects nothing and raises KQ076:

policy no-secret in architecture "No client secret over HTTP" when protocol: http -> deny credential: secret

Without the clause that does not belong, it raises nothing:

policy no-secret in architecture "No client secret" -> deny credential: secret

© 2026 Extenza Works. All rights reserved.