doorman icon indicating copy to clipboard operation
doorman copied to clipboard

Validate policy files using schema

Open leplatrem opened this issue 7 years ago • 1 comments

Currently we have some ifhere and there to validate the policies files content.

We could get rid of them and replace them with a JSON schema validation.

Having a JSON schema would also allow us to build a simple UI using react-jsonschema-form to author policies files online :)

leplatrem avatar Jan 31 '18 14:01 leplatrem

I wonder if we should build the policy validator as a separate CLI tool. I'd like to encourage people to source control their policy files. If we had a CLI tool we can use that in CI to validate, lint and sanity check their policies in an automated way.

mostlygeek avatar Jan 31 '18 14:01 mostlygeek