You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to 'print out' the rules that things test for in a comprehensive format (csv, json, yaml) so I can put into CMDB and manage 'centrally' for my auditors etc. The function definitions in the test modules are somewhat hard to read. Some examples of desired types of output:
types of output
CSV:
aws_ami_copy, 'Assert resources are encrypted', 'Property: encrypted', 'expected: kms_key_id"
Markdown:
Rule Name Assert Resources are Encrypted
Test: Checks to see if aws_AMI_copy' property 'encrypted' equals "kms_key_id"
The text was updated successfully, but these errors were encountered:
Hi @munntjlx with v1.0.0 we're including a ".json" rules file with each rego policy here. I think a good enhancement would be to have a command, like you suggest, to export the rule information that's configured in your local environment regardless of what's included in the repository by default.
Description
I would like to 'print out' the rules that things test for in a comprehensive format (csv, json, yaml) so I can put into CMDB and manage 'centrally' for my auditors etc. The function definitions in the test modules are somewhat hard to read. Some examples of desired types of output:
types of output
CSV:
aws_ami_copy, 'Assert resources are encrypted', 'Property: encrypted', 'expected: kms_key_id"
Markdown:
Rule Name Assert Resources are Encrypted
Test: Checks to see if aws_AMI_copy' property 'encrypted' equals "kms_key_id"
The text was updated successfully, but these errors were encountered: