...
The use of query
instead of test
in your command is the cause of the error you see.
See:
compliance query command
compliance test command
Solution
When running your compliance rules, ensure that you use the compliance test
command and not compliance query
.
E.g.:
Code Block | ||
---|---|---|
| ||
$> mettleci compliance test / -asset \folder / -rules \compliance_rules_folder / -report "\folder\output.csv" |