This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
Regula v2.0.0
v2.0.0 (2021-11-11)
This is a major release that contains a few breaking changes described below. Users who are upgrading from previous versions should:
- Swap any uses of the
--user-only
flag for--no-built-ins
- Use
regula run --sync --upload
instead ofregula scan
- Update any tooling that consumes Regula's JSON output to account for the newly-added field
Please see our docs site for the latest usage information.
Added
--sync
flag toregula run
. When--sync
is specified, Regula will fetch custom rules from Fugue.--upload
flag toregula run
. When--upload
is specified, Regula will upload rule results to Fugue.--exclude
flag toregula run
.--exclude
takes a rule ID or rule name and excludes that rule from the evaluation.--only
flag toregula run
.--only
takes a rule ID or rule name and excludes all other rules from the evaluation.rule_raw_result
field to Regula JSON report output. This boolean field indicates the unwaived rule status -true
if the rule passed before waivers were applied andfalse
otherwise.
Changed
- Renamed
--user-only
flag to--no-built-ins
Removed
regula scan
command. The functionality ofregula scan
has been combined intoregula run
.
Fixed
:unneeded is deprecated
warning from brew install (#239 authored by @somaritane)
Improved
- Regula's Terraform HCL loader. We've gained support for heredoc syntax, better error handling, better function support, and more.
Docker images
docker pull fugue/regula:v2.0.0