Releases: FairwindsOps/insights-cli
Releases · FairwindsOps/insights-cli
v1.2.0
Changelog
- 6b622f4 Bump github.com/open-policy-agent/opa from 0.55.0 to 0.56.0 (#146)
- 5b56d8e Bump github.com/open-policy-agent/opa from 0.56.0 to 0.58.0 (#157)
- d75ad68 Bump golang.org/x/net from 0.14.0 to 0.15.0 (#147)
- 337af03 Bump k8s.io/apimachinery from 0.28.0 to 0.28.1 (#145)
- 08a43f4 Bump k8s.io/apimachinery from 0.28.1 to 0.28.3 (#155)
- a4cb199 FWI-5359 - insights-cli - make report-type required for validate rule (#161)
- 7212cf2 [1/3] FWI-4749 - CLI - CRUD AppGroups (#142)
- 51c8d62 [2/3] FWI-4750 - CLI - CRUD PolicyMappings (#143)
- 46c9fd7 [3/3] FWI-4851 - CLI - list all and push all should include app-groups and policy-mappings (#144)
- da65bd9 fix types (#148)
- bc40bc8 fix types (#149)
- 78a6a4d update libs (#141)
v1.1.0
Changelog
- 05f7ec1 Add E2E tests that run the CLI against Insights, relocate cobra code to a new cli pkg, (#114)
- 0a4560f Bump alpine from 3.17 to 3.18 (#120)
- 06985c5 Bump github.com/fatih/color from 1.13.0 to 1.14.1 (#102)
- e75b4af Bump github.com/fatih/color from 1.14.1 to 1.15.0 (#110)
- f596473 Bump github.com/open-policy-agent/opa from 0.48.0 to 0.49.0 (#104)
- 9f0a182 Bump github.com/open-policy-agent/opa from 0.49.0 to 0.49.2 (#106)
- 02c20cd Bump github.com/open-policy-agent/opa from 0.49.2 to 0.50.2 (#113)
- 5f2bc4d Bump github.com/open-policy-agent/opa from 0.50.2 to 0.53.1 (#130)
- fdd06e0 Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3 (#126)
- baa4e51 Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#105)
- 57ac776 Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#125)
- a20e02a Bump github.com/xlab/treeprint from 1.1.0 to 1.2.0 (#109)
- f35f160 Bump k8s.io/apimachinery from 0.26.0 to 0.26.1 (#103)
- 8553939 Bump k8s.io/apimachinery from 0.26.1 to 0.26.2 (#107)
- 7f9859e Bump k8s.io/apimachinery from 0.26.2 to 0.26.3 (#112)
- 78edc9e FWI-4381 - /vv/fix e2e tests (#132)
- 4ebfb4a add opa generator powered by OpenAI (#127)
- ab86a4a fix tests and makes insights API config file required only for some commands (#129)
v1.0.4
Changelog
- eedda3a Bump alpine, insights-plugins/plugins/opa, open-policy-agent/opa, spf13/cobra, k8s.io/apimachinery, and stretchr/testify (#96)
- 24b99de FWI-3371 CLI command to test automation rules (#98)
- 1cbad0b FWI-3400 : Verify rule cli refactoring (#100)
- c801c7d Update github.com/open-policy-agent/opa v0.47.4 => v0.48.0, github.com/thoas/go-funk v0.9.2 => v0.9.3, github.com/fairwindsops/insights-plugins/plugins/opa 20221214194515-363090ed1440 => 20230110173934-b9a3e95bfc62 (#101)
v1.0.3
Changelog
v1.0.2
Notable Changes
- The
push all
command no longer fails if a type of configuration data (OPA policies, automation rules, or policy configuration) is missing. This helps avoid unexpected failures when future insights-cli upgrades add functionality to thepush all
command.- The
--warnings-are-fatal
command-line flag restores the previous behavior, causing thepush all
command to fail on missing data.
- The
- Validating OPA policies now supports specifying whether the policy is expected to output an Insights action item. Please see
insights-cli validate opa —help
for additional detail.
Changelog
- 4211226 Bump alpine from
3.15
to 3.16, stretchr/testify from
1.7.1to
1.7.2, insights-plugins/plugins/opa from
20220302201751-b63e9de45b7dto
20220613111410-770ebbca62fb, open-policy-agent/opa from
0.39.0to
0.41.0, yaml.v3 from
v3.0.0to
v3.0.1, k8s.io/apimachinery from
v0.23.6to
v0.24.1` (#63) - b59fd9b Bump github.com/open-policy-agent/opa from 0.41.0 to 0.42.0, github.com/stretchr/testify from 1.7.2 to 1.8.0, k8s.io/apimachinery from 0.24.1 to 0.24.2, github.com/spf13/cobra from 1.4.0 to 1.5.0 (#72)
- 5c01559 OPA policy validation supports specifying whether an action-item is expected (#66)
- 25e8927 Update
push all
to soft-fail if some content is missing, addpush all --warnings-are-fatal
flag to cause missing content to be treated as failures and exit > 0, fixpush all --dry-run
for policies configuration settings.yaml (#60)
v1.0.1
Changelog
- deb4e39 Bump cobra, go-funk, go-multierror, opa, and apimachinery dependencies (#52)
- 09fbcf2 Bump k8s.io/apimachinery from 0.23.5 to 0.23.6 (#54)
- bd7c063 FWI-1816 - Update CLI to push Policies Configuration (settings.yaml) (#53)
- f438cb9 Fix
version
command to not require access to the Insights API (again) (#51)
v1.0.0
Breaking Changes
This release reorganizes the insights-cli commands and flags. Highlights of this release include:
policy sync
has becomepush all|opa|rules
.policy list
has becomelist all|opa|rules
.- A new
validate opa
command accepts an OPA Policy and Kubernetes manifest as input to validate the OPA and resulting Insights action item. - A docker image is available at
quay.io/fairwinds/insights-cli
.
Changelog
- 56bc843 Avoid dirting the repo for goreleaser (#50)
- 4e29580 Bump github.com/imroc/req from 0.3.0 to 0.3.2 (#31)
- cacdfb1 Bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#20)
- ca16a88 Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#39)
- 11827b3 Bump github.com/thoas/go-funk from 0.8.0 to 0.9.1 (#23)
- 3c8dab0 Delete .github/ISSUE_TEMPLATE/bug.yaml
- 21e897d Delete .github/ISSUE_TEMPLATE/bug_report.md
- efa4983 Delete .github/ISSUE_TEMPLATE/bug_report.md
- d456c26 Delete .github/stale.yml
- 8bc7e17 FWI-108 - [cli] send version header to API (#38)
- 6e19a49 FWI-1452 - Update the Insights CLI to list V2 CustomChecks (#33)
- b69a5fc FWI-1486 - Update the Insights CLI to sync V2 CustomChecks (#35)
- dcc5940 FWI-1659 - Add OPA policy validation to the Insights CLI (#41)
- 3989268 FWI-1687 - Rename and break out Insights CLI
policy sync
(#43) - 4b20f4e FWI-1749 - Update the Insights CLI to bulk-validate OPA for use in CI (#47)
- 28c0f4a FWI-1766 - Update Insights CLI to process .rego files other than policy as V2 OPA (#48)
- d86c942 FWI-184 - [cli] fix
--help
+ addpolicy sync
success output (#42) - 6d35597 FWI-469 - Add a docker image for the CLI (#40)
- 2c6f51e Fix directory-scanning for automation rules that was broken in commit 28c0f4a (updating logic to process more .rego files) (#49)
- dc961c0 No longer require configuration env var / file for
insights-cli version
(#34)
v1.0.0-alpha1
Changelog
- 783b25a Also source insights-cli Vault environment
- 4e29580 Bump github.com/imroc/req from 0.3.0 to 0.3.2 (#31)
- cacdfb1 Bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#20)
- 11827b3 Bump github.com/thoas/go-funk from 0.8.0 to 0.9.1 (#23)
- e0c6697 Debug docker login
- f7e3d7e Debug docker login
- 3c8dab0 Delete .github/ISSUE_TEMPLATE/bug.yaml
- 21e897d Delete .github/ISSUE_TEMPLATE/bug_report.md
- efa4983 Delete .github/ISSUE_TEMPLATE/bug_report.md
- d456c26 Delete .github/stale.yml
- 8bc7e17 FWI-108 - [cli] send version header to API (#38)
- 6e19a49 FWI-1452 - Update the Insights CLI to list V2 CustomChecks (#33)
- b69a5fc FWI-1486 - Update the Insights CLI to sync V2 CustomChecks (#35)
- aa4c20c Fix CI copying of snapshot artifacts
- 976850b Fix
go vet
andgo test
targets - 9cc9b91 Fix typo
- dc961c0 No longer require configuration env var / file for
insights-cli version
(#34) - 09e1657 Use GoReleaser to build/push Docker images