メインコンテンツまでスキップ
このページはまだお使いの言語に翻訳されていないか、翻訳が技術レビュー待ちです。以下には英語の原文を表示しています。 英語のページを開く

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​