Skip to content

Generate JSON Schemas for Terraform plan and state files #93

Description

@antonbabenko

My use case

It would be helpful to have JSON Schemas that can be provided to OPA before running my Rego policies to filter out cases if/when input data is malformed.

More information

https://www.openpolicyagent.org/docs/latest/policy-language/#schema
https://blog.openpolicyagent.org/type-checking-your-rego-policies-with-json-schema-in-opa-5f7ac4c8a958
https://blog.openpolicyagent.org/enhanced-type-checking-for-opa-with-json-schema-annotations-826acb0f575

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions