본문으로 건너뛰기
이 페이지는 아직 사용자의 언어로 번역되지 않았거나 번역이 기술 검토를 기다리고 있습니다. 아래에는 영어 원문이 표시됩니다. 영어 페이지 열기

E1201. Policy file failed validation

Severity: ERROR. Class: PolicyValidationError (subclass of ValueError).

What happened​

The local policy file (controlzero.yaml or controlzero.json) does not conform to the policy schema. See the error list immediately above this code in the message for which fields are wrong.

How to fix​

Run controlzero validate <file> to get the same errors formatted as a checklist. Or open the file in your editor and fix the fields. The validator includes the rule index (rules[3]: ...) and a did-you-mean hint for misspelled keys.

See also​