Can I loop over keys and values of an object in OPA to validate if they adhere to a certain format (CamelCase)
问题 We are using conftest to validate if our terraform changeset applies to certain rules & compliances. One thing we want to validate is wether our AWS resources are tagged according to the AWS tagging convention, which specifies certain tags to use (e.g. Owner, ApplicationRole, Project) and specifies that all tags and values are in CamelCase. in terraform the changeset is portrayed in the following (simplified) json output: { "resource_changes":{ "provider_name":"aws", "change":{ "before":{ },