Skip to content

missing_marker

A policy diagnostic from deedglass policy lint and the policy routes.

Severity: error

The file has no deedglass: policy/v1 key, or it is empty. The marker names the format, so Deedglass and your editor know the file is a policy and which version of the language it uses. An empty file gets the message This file is empty.

name: refunds
defaults:
decision: deny
reason: No rule allows this action.
✕ policy.yaml:1:1 · missing_marker
This file has no deedglass: policy/v1 marker.
hint: Add deedglass: policy/v1 as the first line.

Fix:

deedglass: policy/v1
name: refunds
defaults:
decision: deny
reason: No rule allows this action.