Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Validate policy files using schema #103

Open
leplatrem opened this issue Jan 31, 2018 · 1 comment
Open

Validate policy files using schema #103

leplatrem opened this issue Jan 31, 2018 · 1 comment
Labels

Comments

@leplatrem
Copy link
Collaborator

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 :)

@mostlygeek
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants