Skip to content

more_diagnostics

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

Severity: error or warning

The file has more than 50 diagnostics. Deedglass reports the first 50, sorted by position, and then this one entry, which counts the rest. Its severity is error when any of the hidden diagnostics is an error, and warning when they are all warnings, so a file with only warnings is still accepted. A file with 60 invalid rule ids gets, after the first 50:

✕ policy.yaml · more_diagnostics
And 10 more (10 errors, 0 warnings).
hint: Fix the ones above and run lint again.

Fix: fix the diagnostics shown, starting from the top, and run deedglass policy lint again. Many come from one cause, like a wrong indentation or a repeated mistake.