Skip to content

Latest commit

 

History

History
364 lines (305 loc) · 14.4 KB

CHANGELOG.md

File metadata and controls

364 lines (305 loc) · 14.4 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and is generated by Changie.

Bugfix

  • Fix bug where command create deploy does not properly error out and incorrectly reports successful deploy event registered

Feature

  • Add ability to create, delete service dependencies
  • Add dependents and dependencies to the return data of the command opslevel get service
  • Support ability to skip the welcome e-mail on user invite

Refactor

  • Add validation to command create deploy to ensure --integration-url is set

Dependency

  • Bump github.com/creasty/defaults from 1.6.0 to 1.7.0 in /src
  • Bump github.com/go-git/go-git/v5 from 5.6.0 to 5.6.1 in /src
  • Bump docker/login-action from 1 to 2
  • Bump goreleaser/goreleaser-action from 2.7.0 to 4.2.0
  • Bump codecov/codecov-action from 2 to 3
  • Bump actions/setup-go from 2 to 4
  • Bump actions/cache from 2 to 3
  • Bump github.com/itchyny/gojq from 0.12.11 to 0.12.12 in /src
  • Bump emmyoop/changie_bot from 1.0.1 to 1.1.0
  • Bump github.com/open-policy-agent/opa from 0.48.0 to 0.52.0 in /src
  • Bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 in /src

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2023.5.18

Feature

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2023.4.11

Bugfix

  • Pickup an opslevel-go hotfix that fixes export terraform command

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2023.3.16

Refactor

  • update opslevel-go to 3.14.23 to pickup pagination fixes and refactor list calls under the hood

Dependency

  • Bump golang.org/x/net from 0.5.0 to 0.7.0 in /src
  • Bump github.com/go-git/go-git/v5 from 5.5.2 to 5.6.0 in /src

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2023.3.14

Feature

  • Add CSV output to command list users

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2023.2.10

Feature

  • Allow create team to set managerEmail, group, responsiblities
  • Add update team command
  • Add update user command
  • Allow create user to set the role of the user
  • Add get user command

Docs

  • Improve examples on team commands
  • Ensure team commands have proper usage strings
  • Improve examples on user commands
  • Ensure user commands have proper usage strings

Dependency

  • Bump github.com/relvacode/iso8601 from 1.1.0 to 1.3.0 in /src
  • Bump github.com/go-git/go-git/v5 from 5.5.1 to 5.5.2 in /src
  • Bump github.com/open-policy-agent/opa from 0.47.3 to 0.48.0 in /src
  • Bump github.com/spf13/viper from 1.14.0 to 1.15.0 in /src

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2023.1.25

Feature

  • Adds CRUD support for team tags
  • Add ability to create and export Repo Grep checks

Dependency

  • Bump github.com/open-policy-agent/opa from 0.45.0 to 0.47.3 in /src
  • Bump github.com/spf13/viper from 1.11.0 to 1.14.0 in /src
  • Bump github.com/opslevel/opslevel-go to v2022.12.16

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.12.22

Bugfix

  • Fix csv reader so it does not close file handle prematurely and only read N number of rows

Feature

  • Add support for check type 'HasRecentDeploy'
  • Add support for check type 'HasDocumentation'
  • Add support for check type 'AlertSourceUsage'
  • Add support for check type 'GitBranchProtection'
  • Add support for check type 'ServiceDependency'
  • add git_branch_protection and service_dependency checks to export terraform command

Refactor

  • do not obscure api error responses when doing client validation

Dependency

  • Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 in /src
  • Bump github.com/open-policy-agent/opa from 0.44.0 to 0.45.0 in /src
  • Bump github.com/gosimple/slug from 1.12.0 to 1.13.1 in /src
  • bump opslevel-go to 2022.10.22

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.10.22

September 23, 2022

Feature

  • Add ability to pass arbitrary json as extra input to run policy command
  • Add ability to output run policy command directly to a file
  • Add ability to specify --no-headers to remove the headers from table output
  • add rego function for time.diff using iso8601 timestamps

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.9.23

September 19, 2022

Bugfix

  • Fix error handling that prevented deploy events from working

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.9.19

September 09, 2022

Feature

  • Add Rego function to check a OpsLevel service's maturity level
  • Add Rego function to get Gitlab project metadata
  • Allow tag deletion by ID

Bugfix

  • Fix bug where Terraform export was exporting single line filters as multi-line strings
  • Adding "has recent deploy" check to terraform export
  • Adding "alert source usage check" to terraform export
  • Adding "has documentation" check to terraform export

Docs

  • Add example stdin for service create and update

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.9.9

August 17, 2022

Feature

  • Add ability to read file contents with Rego
  • Add Rego function to get Github repo metadata

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.8.17

August 01, 2022

Feature

  • adding support for Rego policies in cli

Refactor

  • Surface warning from API when uploading invalid json/yaml to API docs
  • Updating opslevel-go version to v2022.8.1

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.8.1

July 20, 2022

Bugfix

  • Fix output of get service command when service is not found
  • bump opslevel-go to fix a bug with our REST client for create document command

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.7.20

July 15, 2022

Feature

  • Add ability to list services and their maturity levels
  • Adding support for API swagger docs to be uploaded via cli

Refactor

  • Consolidated API_URL and APP_URL to be the same!

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.7.15

July 08, 2022

Feature

  • Add ability to get a service's tag
  • Add flag --assign to create service tag to use tagAssign mutation instead of tagCreate
  • Add command delete service tag
  • Add functionality to get service tag to list all the tags
  • upgrade to go 1.18

Refactor

  • create service tag usage signature changed to make it easier to work with

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.07.07

June 09, 2022

Feature

  • Add CSV output option on list services command
  • Added create, list and delete user commands

Security

  • Setup Dependabot

Docker Image

  • docker pull public.ecr.aws/opslevel/cli:v2022.06.09

v2022.04.22 - 2022-04-22

Bugfix

  • Fix Release## [v2022.04.21] - 2022-04-21

Feature

  • implement create, update and delete for groups
  • Add get and list commands for groups

Bugfix

  • When passing data via stdin to create check the command was failing with prompt-ui errors - a fix has been implemented

[v2022.04.21]: https://github.com/OpsLevel/cli/compare/v2022.04.13...v2022.04.21## [2022.04.13] - 2022-04-13

Feature

  • Upgrade Go to 1.17
  • Add ability to create a tag for a service

Refactor

  • Refactor the output of version command to show golang and OL versions

Bugfix

  • Create deploy was hanging when no stdin was passed
  • Check name wasn't escaping quotes on terraform export
  • Filter out first level by index instead of name

[v2022.04.13]: https://github.com/OpsLevel/cli/compare/v2022.02.25...v2022.04.13## [v2022.02.25] - 2022-02-25

Bugfix

  • Fix bug when exporting regex predicates to terraform

[v2022.02.25]: https://github.com/OpsLevel/cli/compare/v2022.02.11-1...v2022.02.25## [v2022.02.11] - 2022-02-11

Feature

  • add version constraint to import check configuration yaml

Refactor

  • Update version output format
  • Add interactive functionality for importing checks
  • Fix code so client objects are not built unless needed allow commands like opslevel version to execute without an OPSLEVEL_API_TOKEN present

[v2022.02.11]: https://github.com/OpsLevel/cli/compare/v0.3.5...v2022.02.11## [v2022.02.11-1] - 2022-02-11

Bugfix

  • Use modified list when returning Id

[v2022.02.11-1]: https://github.com/OpsLevel/cli/compare/v2022.02.11...v2022.02.11-1## [v0.3.5] - 2021-12-14

Feature

  • add ability to import all check types
  • expand ability to export all check types to yaml
  • add ability to export a check to an importable yaml file
  • add ability to create custom event checks from a yaml file
  • create a way to cache API objects into lookup tables by their aliases
  • add generated alias output to list filters
  • add ability to get and list integrations

Refactor

  • have list check emit the check type in text mode

[v0.3.5]: https://github.com/OpsLevel/cli/compare/v0.3.4...v0.3.5## [v0.3.4] - 2021-11-14

Feature

  • have export terraform emit team and service aliases

[v0.3.4]: https://github.com/OpsLevel/cli/compare/v0.3.3...v0.3.4## v0.3.3 - 2021-10-31

Bugfix

  • export terraform no longer outputs repos without a default alias
  • export terraform now properly emits filter predicates

v0.3.2 - 2021-10-04

Bugfix

  • fix issue with new graphql user agent args

v0.3.1 - 2021-10-04

Docs

  • cleanup readme to bring it more inline with kubectl-opslevel

Feature

  • set custom graphql user agent extras

v0.3.0 - 2021-10-02

v0.3.0-beta.5 - 2021-10-02

v0.3.0-beta.4 - 2021-10-01

v0.3.0-beta.3 - 2021-10-01

v0.3.0-beta.2 - 2021-10-01

v0.3.0-beta.1 - 2021-10-01

Bugfix

  • fix outstanding multiline string issues with export terraform

v0.3.0-beta - 2021-10-01

Bugfix

  • if multiline string from opslevel does not end with \n then have terraform treat it as an escaped string

Docs

  • add installation instructions for Deb/RPM

Feature

  • add deb/rpm package releases
  • add create, get, list and delete for filters
  • implement create, get, list, and delete for team, team member and team contact
  • implement get & list for repository
  • add ability to output list data as a json array
  • implement correct output formatting for list tier, lifecycle and tools

v0.2.0-beta - 2021-09-18

Feature

  • upgrade opslevel-go to v0.3.3
  • initial pass at export terraform for exporting data from your account to be controlled by terraform
  • add shell completion generation command
  • add get and list check commands
  • add list commands which differ from get commands
  • add commands for rubric categories and levels
  • add get and delete service commands
  • add gpg signing
  • add ability to query account lifecycles, tiers, teams and tools

Refactor

  • convert prefered environment variable prefix from OL_ to OPSLEVEL_ but still support old prefix
  • use args instead of flags for rubric commands
  • seperate get and list commands

v0.1.0-beta.5 - 2021-07-10

v0.1.0-beta.4 - 2021-07-10

v0.1.0-beta.3 - 2021-07-10

v0.1.0-beta.2 - 2021-07-10

Refactor

  • switch to goreleaser

v0.1.0-beta.1 - 2021-06-26

Bugfix

  • add yaml struct tags for consistent configfile parsing

Docs

  • rewrite examples to show both yaml and env var examples as well as switching to the full integration url rather then just ID

Refactor

  • standardize inputs across flags, env vars, and yaml. Also include more imports to support a wider varity of source input data

v0.0.1-beta.2 - 2021-06-19

Release

  • use aws ecr alias
  • remove github docker registry publish
  • add windows binary cross compile

v0.0.1-beta.1 - 2021-06-19

Docs

  • fix amazon ECR links to use new repo alias
  • flesh out readme with usage and install instructions

Feature

  • add ability to scrape git commit info if available