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.
- Fix bug where command
create deploy
does not properly error out and incorrectly reports successful deploy event registered
- 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
- Add validation to command
create deploy
to ensure--integration-url
is set
- 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 pull public.ecr.aws/opslevel/cli:v2023.5.18
docker pull public.ecr.aws/opslevel/cli:v2023.4.11
- Pickup an opslevel-go hotfix that fixes
export terraform
command
docker pull public.ecr.aws/opslevel/cli:v2023.3.16
- update opslevel-go to 3.14.23 to pickup pagination fixes and refactor list calls under the hood
- 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 pull public.ecr.aws/opslevel/cli:v2023.3.14
- Add CSV output to command
list users
docker pull public.ecr.aws/opslevel/cli:v2023.2.10
- 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
- Improve examples on
team
commands - Ensure
team
commands have proper usage strings - Improve examples on
user
commands - Ensure
user
commands have proper usage strings
- 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 pull public.ecr.aws/opslevel/cli:v2023.1.25
- Adds CRUD support for team tags
- Add ability to create and export Repo Grep checks
- 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 pull public.ecr.aws/opslevel/cli:v2022.12.22
- Fix csv reader so it does not close file handle prematurely and only read N number of rows
- 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
andservice_dependency
checks toexport terraform
command
- do not obscure api error responses when doing client validation
- 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 pull public.ecr.aws/opslevel/cli:v2022.10.22
- 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 pull public.ecr.aws/opslevel/cli:v2022.9.23
- Fix error handling that prevented deploy events from working
docker pull public.ecr.aws/opslevel/cli:v2022.9.19
- Add Rego function to check a OpsLevel service's maturity level
- Add Rego function to get Gitlab project metadata
- Allow tag deletion by ID
- 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
- Add example stdin for service create and update
docker pull public.ecr.aws/opslevel/cli:v2022.9.9
- Add ability to read file contents with Rego
- Add Rego function to get Github repo metadata
docker pull public.ecr.aws/opslevel/cli:v2022.8.17
- adding support for Rego policies in cli
- Surface warning from API when uploading invalid json/yaml to API docs
- Updating opslevel-go version to v2022.8.1
docker pull public.ecr.aws/opslevel/cli:v2022.8.1
- 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 pull public.ecr.aws/opslevel/cli:v2022.7.20
- Add ability to list services and their maturity levels
- Adding support for API swagger docs to be uploaded via cli
- Consolidated API_URL and APP_URL to be the same!
docker pull public.ecr.aws/opslevel/cli:v2022.7.15
- Add ability to get a service's tag
- Add flag
--assign
tocreate service tag
to usetagAssign
mutation instead oftagCreate
- Add command
delete service tag
- Add functionality to
get service tag
to list all the tags - upgrade to go 1.18
create service tag
usage signature changed to make it easier to work with
docker pull public.ecr.aws/opslevel/cli:v2022.07.07
- Add CSV output option on list services command
- Added create, list and delete user commands
- Setup Dependabot
docker pull public.ecr.aws/opslevel/cli:v2022.06.09
v2022.04.22 - 2022-04-22
- Fix Release## [v2022.04.21] - 2022-04-21
- implement create, update and delete for groups
- Add get and list commands for groups
- 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
- Upgrade Go to 1.17
- Add ability to create a tag for a service
- Refactor the output of version command to show golang and OL versions
- 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
- 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
- add version constraint to import check configuration yaml
- 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
- 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
- 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
- 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
- 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
export terraform
no longer outputs repos without a default aliasexport terraform
now properly emits filter predicates
v0.3.2 - 2021-10-04
- fix issue with new graphql user agent args
v0.3.1 - 2021-10-04
- cleanup readme to bring it more inline with kubectl-opslevel
- 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
- fix outstanding multiline string issues with
export terraform
v0.3.0-beta - 2021-10-01
- if multiline string from opslevel does not end with \n then have terraform treat it as an escaped string
- add installation instructions for Deb/RPM
- 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
- 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
- convert prefered environment variable prefix from
OL_
toOPSLEVEL_
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
- switch to goreleaser
v0.1.0-beta.1 - 2021-06-26
- add yaml struct tags for consistent configfile parsing
- rewrite examples to show both yaml and env var examples as well as switching to the full integration url rather then just ID
- 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
- use aws ecr alias
- remove github docker registry publish
- add windows binary cross compile
- fix amazon ECR links to use new repo alias
- flesh out readme with usage and install instructions
- add ability to scrape git commit info if available