From 321596e54575e3ec4ded787081efd633218556b0 Mon Sep 17 00:00:00 2001 From: lacework-releng <73366105+lacework-releng@users.noreply.github.com> Date: Thu, 17 Feb 2022 13:56:59 -0800 Subject: [PATCH] release: v0.26.0 (#708) Signed-off-by: Lacework --- CHANGELOG.md | 18 +++++++ RELEASE_NOTES.md | 51 +++++-------------- VERSION | 2 +- api/version.go | 4 +- .../lacework_compliance_aws_get-report.md | 6 ++- .../lacework_compliance_azure_get-report.md | 4 ++ .../lacework_compliance_google_get-report.md | 4 ++ cli/docs/lacework_configure.md | 1 + cli/docs/lacework_configure_list.md | 5 +- cli/docs/lacework_configure_show.md | 1 + cli/docs/lacework_query.md | 1 + 11 files changed, 53 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 555cb6f98..ec9c4a3a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +# v0.26.0 + +## Features +* feat(cli): show resources affected by a compliance recommendation (#697) (Darren)([86f86ee](https://github.com/lacework/go-sdk/commit/86f86eef38840a28be310347f67261ba588a850c)) +* feat(cli): improve user feedback running terraform commands (#706) (Matt Cadorette)([8526d2c](https://github.com/lacework/go-sdk/commit/8526d2ccfb8a48dbc8ac1315d84006aea058822a)) +* feat(cli): add lacework query preview-source (hazedav)([40e8bbb](https://github.com/lacework/go-sdk/commit/40e8bbb03fa3fca6eecac48c24ffca1468821815)) +* feat(cli): switch-profile command (#705) (Salim Afiune)([75237cd](https://github.com/lacework/go-sdk/commit/75237cdb15508c87cad3cc0694e304524a0da3f6)) +## Other Changes +* chore(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#647) (dependabot[bot])([2cb15fb](https://github.com/lacework/go-sdk/commit/2cb15fb48186a45064aac0ecce340efcfb2e8de1)) +* chore(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.1 (#644) (dependabot[bot])([5dac81c](https://github.com/lacework/go-sdk/commit/5dac81cfb57b29dc8addcbb32b16f11abeeca836)) +* chore(deps): bump github.com/honeycombio/libhoney-go (#652) (dependabot[bot])([6e5c7bd](https://github.com/lacework/go-sdk/commit/6e5c7bd61c01f1a3d84c9285d0d08d7a2dc6b3ef)) +* chore(deps): bump github.com/hashicorp/terraform-exec (#704) (dependabot[bot])([9767bc8](https://github.com/lacework/go-sdk/commit/9767bc8a1c2531f936e685f0143400017198d6a7)) +* chore(deps): bump go.uber.org/zap from 1.19.1 to 1.21.0 (#700) (dependabot[bot])([b8be0b0](https://github.com/lacework/go-sdk/commit/b8be0b0fef410a5a6179495c7e2a4a44d5e9b3c6)) +* chore(deps): bump github.com/hashicorp/go-version from 1.3.0 to 1.4.0 (#702) (dependabot[bot])([1729f4c](https://github.com/lacework/go-sdk/commit/1729f4cb513d8b32d6a7133f8df72bc3afb1f3a9)) +* chore(deps): bump github.com/briandowns/spinner from 1.13.0 to 1.17.0 (#701) (dependabot[bot])([9d18563](https://github.com/lacework/go-sdk/commit/9d185636fa0fa7c8d46dedae01d349d18d0a60c1)) +* ci(cli): release CentOS end-of-life problem (#699) (Salim Afiune)([4bc4a7c](https://github.com/lacework/go-sdk/commit/4bc4a7ce8c37f1f4f1a21b058fe315ba855687b6)) +* ci: version bump to v0.25.1-dev (Lacework)([20551d1](https://github.com/lacework/go-sdk/commit/20551d1b3b748bedc696d190acb7c13cfffc54e4)) +--- # v0.25.0 ## Features diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8062871c5..47ca61114 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,44 +1,21 @@ # Release Notes -Another day, another release. These are the release notes for the version `v0.25.0`. +Another day, another release. These are the release notes for the version `v0.26.0`. ## Features -* feat(api): add registry notifications field to docker v2 (#696) (Darren)([aac6801](https://github.com/lacework/go-sdk/commit/aac68016b548cc9c2799bb5b12c1f6e0f16aa8bd)) -* feat(api): abstract primitives to interact with /v2/Vulnerabilities (#694) (Salim Afiune)([cd2622a](https://github.com/lacework/go-sdk/commit/cd2622a6d642c14e542e9997621b06f284a21245)) -* feat(policies): add tags support (hazedav)([2a0ad67](https://github.com/lacework/go-sdk/commit/2a0ad670b86ec304b1acbbf72cb3c127348e7409)) -* feat(cli): be able to change global LW_LQL_OPERATOR (Salim Afiune Maya)([a4c7746](https://github.com/lacework/go-sdk/commit/a4c77462c93d298adaeb7a80a6945a5d96e986ad)) -* feat(cli): filter list of agents (Salim Afiune Maya)([8e200a0](https://github.com/lacework/go-sdk/commit/8e200a0c618c95a5206112565237a8cd7caac6eb)) -* feat(api): implement Entities/Images/serch endpoint (Salim Afiune Maya)([33b58ef](https://github.com/lacework/go-sdk/commit/33b58ef0a2433b802baad3bae2d0586c422a4998)) -* feat(api): implement Entities/Users/serch endpoint (Salim Afiune Maya)([b86f893](https://github.com/lacework/go-sdk/commit/b86f893be1d8b6fc9958611599a82bdef64b33d7)) -* feat(api): support v2/Entities/Users (Salim Afiune Maya)([40c71d7](https://github.com/lacework/go-sdk/commit/40c71d7e2eba75bf5696c475265226bacc7a0943)) -* feat(api): v2 pagination (Salim Afiune Maya)([255079d](https://github.com/lacework/go-sdk/commit/255079dd7c09873570e8412eab26ab01d03f96f5)) -* feat(cli): new agent list command (Salim Afiune Maya)([8b056f5](https://github.com/lacework/go-sdk/commit/8b056f5100764ec3cca5413df38130014cad416d)) -* feat(api): search data-export entities (Salim Afiune Maya)([5b87d33](https://github.com/lacework/go-sdk/commit/5b87d337bb585d18216715d89467203c1e94f42f)) -* feat(cli): Manage Team Members (#671) (Darren)([6930449](https://github.com/lacework/go-sdk/commit/6930449b156bcf33a92fd4ef885c7ffe166ef369)) -* feat(cli): Manage Vulnerability Exceptions (#663) (Darren)([0d62f11](https://github.com/lacework/go-sdk/commit/0d62f11b2a5264314489aa9bd23d7ca2a19d0b28)) -* feat(cli): add --cascade flag to delete policy and query (#677) (hazedav)([6842a6b](https://github.com/lacework/go-sdk/commit/6842a6b162113471391118d34a03b1a022c5694d)) -* feat(cli): display status of Azure compliance subscriptions (Salim Afiune Maya)([c479863](https://github.com/lacework/go-sdk/commit/c479863e71d63f301ea2d926db085f2eb8af2a4a)) -* feat(cli): display status of GCP compliance projects (Salim Afiune Maya)([30e8448](https://github.com/lacework/go-sdk/commit/30e844823c26deee4ec01c3d40e2fdbc05111d6c)) -* feat(cli): display status of AWS compliance accounts (Salim Afiune Maya)([e43978c](https://github.com/lacework/go-sdk/commit/e43978c9d40fd444e238deaa61059d6184df544d)) -## Refactor -* refactor(cli): Refactor generate & generate_aws (#691) (Ross)([3fabe7b](https://github.com/lacework/go-sdk/commit/3fabe7b330284b0fbe044ea6af3a9b05c7e35b72)) -* refactor(api): rename Pagination interface to Pageable (Salim Afiune Maya)([3b1e881](https://github.com/lacework/go-sdk/commit/3b1e881f52f0ee399084c072eaf53020a3510630)) -* refactor(api): add logging to NextPage() func (Salim Afiune Maya)([810b723](https://github.com/lacework/go-sdk/commit/810b7231e0c682e6725f86d0f993c98ff7330c6e)) -* refactor(cli): Refactor generate & generate_aws (#689) (Ross)([c2d4241](https://github.com/lacework/go-sdk/commit/c2d42418c7c1e56848048e475ad40b27694a7a94)) -* refactor(cli): abstract shared funcs to internal package (hazedav)([5aa880d](https://github.com/lacework/go-sdk/commit/5aa880d5ccb09c75a9039cccf8313db30a020dff)) -* refactor(cli): abstract shared funcs to internal package (hazedav)([5617a2d](https://github.com/lacework/go-sdk/commit/5617a2db0e1ccccee8e4d6df3b94c1a20d00bfc6)) -* refactor(cli): rename 'aws' s3/cloudwatch to 'amazon' in cli integration prompt (#657) (Darren)([2c8757d](https://github.com/lacework/go-sdk/commit/2c8757d7b021c46e7c43c5a4eac353eafed5e269)) -## Bug Fixes -* fix(cli): remove text wrapping on list-sources output (#692) (Darren)([49ca2ef](https://github.com/lacework/go-sdk/commit/49ca2ef0fb1826d38ce8e4d445ef14fc1e36d185)) -* fix(cli): validate user filters via --filters (Salim Afiune Maya)([6ba02b0](https://github.com/lacework/go-sdk/commit/6ba02b086e2d650f36f4bf74fb482589244f9aec)) -* fix(api): omit empty fields in v2 SearchFilter (Salim Afiune Maya)([5f4d2e7](https://github.com/lacework/go-sdk/commit/5f4d2e7065af5018c2768f898a333e7067640f69)) -* fix(cli): check the account has agents to display (Salim Afiune Maya)([7e4ca27](https://github.com/lacework/go-sdk/commit/7e4ca27d43f9a6a9118a696e857884da4666b933)) -* fix(lwgenerate): support lists for module attributes (#687) (Matt Cadorette)([6adfeeb](https://github.com/lacework/go-sdk/commit/6adfeeb1945f694491346e6f004251d900cecf5a)) +* feat(cli): show resources affected by a compliance recommendation (#697) (Darren)([86f86ee](https://github.com/lacework/go-sdk/commit/86f86eef38840a28be310347f67261ba588a850c)) +* feat(cli): improve user feedback running terraform commands (#706) (Matt Cadorette)([8526d2c](https://github.com/lacework/go-sdk/commit/8526d2ccfb8a48dbc8ac1315d84006aea058822a)) +* feat(cli): add lacework query preview-source (hazedav)([40e8bbb](https://github.com/lacework/go-sdk/commit/40e8bbb03fa3fca6eecac48c24ffca1468821815)) +* feat(cli): switch-profile command (#705) (Salim Afiune)([75237cd](https://github.com/lacework/go-sdk/commit/75237cdb15508c87cad3cc0694e304524a0da3f6)) ## Other Changes -* style(cli): add breadcrumb to query list-sources cmd (#685) (Darren)([66ee797](https://github.com/lacework/go-sdk/commit/66ee797ea33ab813c2c5795cf374e4647889c360)) -* chore(cli): update spinner message for compliance list cmds (Salim Afiune Maya)([c3d4aee](https://github.com/lacework/go-sdk/commit/c3d4aee0f6e5eb7066ab16b6b78b5657c55db8b3)) -* ci: fix v1/v2 environment variables (#688) (Salim Afiune)([de4699a](https://github.com/lacework/go-sdk/commit/de4699a26a249cd325405f49602c6560d43b1822)) -* ci: version bump to v0.24.1-dev (Lacework)([2df7446](https://github.com/lacework/go-sdk/commit/2df744647538fd2371b34cc0c1cc3dcc42cd71a7)) -* test(cli): for compliance az list command (Salim Afiune Maya)([a98599c](https://github.com/lacework/go-sdk/commit/a98599c529efee480031f19f60042148a8bd31f2)) +* chore(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#647) (dependabot[bot])([2cb15fb](https://github.com/lacework/go-sdk/commit/2cb15fb48186a45064aac0ecce340efcfb2e8de1)) +* chore(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.1 (#644) (dependabot[bot])([5dac81c](https://github.com/lacework/go-sdk/commit/5dac81cfb57b29dc8addcbb32b16f11abeeca836)) +* chore(deps): bump github.com/honeycombio/libhoney-go (#652) (dependabot[bot])([6e5c7bd](https://github.com/lacework/go-sdk/commit/6e5c7bd61c01f1a3d84c9285d0d08d7a2dc6b3ef)) +* chore(deps): bump github.com/hashicorp/terraform-exec (#704) (dependabot[bot])([9767bc8](https://github.com/lacework/go-sdk/commit/9767bc8a1c2531f936e685f0143400017198d6a7)) +* chore(deps): bump go.uber.org/zap from 1.19.1 to 1.21.0 (#700) (dependabot[bot])([b8be0b0](https://github.com/lacework/go-sdk/commit/b8be0b0fef410a5a6179495c7e2a4a44d5e9b3c6)) +* chore(deps): bump github.com/hashicorp/go-version from 1.3.0 to 1.4.0 (#702) (dependabot[bot])([1729f4c](https://github.com/lacework/go-sdk/commit/1729f4cb513d8b32d6a7133f8df72bc3afb1f3a9)) +* chore(deps): bump github.com/briandowns/spinner from 1.13.0 to 1.17.0 (#701) (dependabot[bot])([9d18563](https://github.com/lacework/go-sdk/commit/9d185636fa0fa7c8d46dedae01d349d18d0a60c1)) +* ci(cli): release CentOS end-of-life problem (#699) (Salim Afiune)([4bc4a7c](https://github.com/lacework/go-sdk/commit/4bc4a7ce8c37f1f4f1a21b058fe315ba855687b6)) +* ci: version bump to v0.25.1-dev (Lacework)([20551d1](https://github.com/lacework/go-sdk/commit/20551d1b3b748bedc696d190acb7c13cfffc54e4)) ## Docker Images * `docker pull lacework/lacework-cli:latest` diff --git a/VERSION b/VERSION index b6151ae7d..e93b64770 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.25.1-dev \ No newline at end of file +0.26.0 \ No newline at end of file diff --git a/api/version.go b/api/version.go index 1d6c4b384..aec64e5f6 100644 --- a/api/version.go +++ b/api/version.go @@ -1,5 +1,5 @@ // Code generated by: scripts/version_updater.sh -// File generated at: 20220211191854 +// File generated at: 20220217214421 // // <<< DO NOT EDIT >>> // @@ -7,4 +7,4 @@ package api // Version is the semver coming from the VERSION file -const Version = "0.25.1-dev" +const Version = "0.26.0" diff --git a/cli/docs/lacework_compliance_aws_get-report.md b/cli/docs/lacework_compliance_aws_get-report.md index c992e7c23..e2f9c6d1a 100644 --- a/cli/docs/lacework_compliance_aws_get-report.md +++ b/cli/docs/lacework_compliance_aws_get-report.md @@ -22,9 +22,13 @@ To run an ad-hoc compliance assessment of an AWS account: lacework compliance aws run-assessment +To show recommendation details and affected resources for a recommendation id: + + lacework compliance aws get-report [recommendation_id] + ``` -lacework compliance aws get-report [flags] +lacework compliance aws get-report [recommendation_id] [flags] ``` ### Options diff --git a/cli/docs/lacework_compliance_azure_get-report.md b/cli/docs/lacework_compliance_azure_get-report.md index e4f84c6c2..f8396c675 100644 --- a/cli/docs/lacework_compliance_azure_get-report.md +++ b/cli/docs/lacework_compliance_azure_get-report.md @@ -21,6 +21,10 @@ To run an ad-hoc compliance assessment use the command: lacework compliance azure run-assessment +To show recommendation details and affected resources for a recommendation id: + + lacework compliance azure get-report [recommendation_id] + ``` lacework compliance azure get-report [flags] diff --git a/cli/docs/lacework_compliance_google_get-report.md b/cli/docs/lacework_compliance_google_get-report.md index e9595cc1b..bc53bf7e1 100644 --- a/cli/docs/lacework_compliance_google_get-report.md +++ b/cli/docs/lacework_compliance_google_get-report.md @@ -21,6 +21,10 @@ To run an ad-hoc compliance assessment use the command: lacework compliance gcp run-assessment +To show recommendation details and affected resources for a recommendation id: + + lacework compliance gcp get-report [recommendation_id] + ``` lacework compliance google get-report [flags] diff --git a/cli/docs/lacework_configure.md b/cli/docs/lacework_configure.md index 56a9453ea..5db138c0e 100644 --- a/cli/docs/lacework_configure.md +++ b/cli/docs/lacework_configure.md @@ -62,4 +62,5 @@ lacework configure [flags] * [lacework](lacework.md) - A tool to manage the Lacework cloud security platform. * [lacework configure list](lacework_configure_list.md) - List all configured profiles at ~/.lacework.toml * [lacework configure show](lacework_configure_show.md) - Show current configuration data +* [lacework configure switch-profile](lacework_configure_switch-profile.md) - Switch between configured profiles diff --git a/cli/docs/lacework_configure_list.md b/cli/docs/lacework_configure_list.md index 1167612a0..76cda69ec 100644 --- a/cli/docs/lacework_configure_list.md +++ b/cli/docs/lacework_configure_list.md @@ -12,10 +12,9 @@ List all configured profiles at ~/.lacework.toml List all profiles configured into the config file ~/.lacework.toml -To switch to a different profile permanently in your current terminal, -export the environment variable: +To switch profiles permanently use the command. - export LW_PROFILE="my-profile" + lacework configure switch-profile profile2 ``` lacework configure list [flags] diff --git a/cli/docs/lacework_configure_show.md b/cli/docs/lacework_configure_show.md index 7ebc42b73..b65494ce2 100644 --- a/cli/docs/lacework_configure_show.md +++ b/cli/docs/lacework_configure_show.md @@ -18,6 +18,7 @@ The available configuration keys are: * profile * account +* subaccount * api_secret * api_key diff --git a/cli/docs/lacework_query.md b/cli/docs/lacework_query.md index 56f2d1073..8d085b35c 100644 --- a/cli/docs/lacework_query.md +++ b/cli/docs/lacework_query.md @@ -71,6 +71,7 @@ To execute a query. * [lacework query delete](lacework_query_delete.md) - Delete a query * [lacework query list](lacework_query_list.md) - List queries * [lacework query list-sources](lacework_query_list-sources.md) - List Lacework query data sources +* [lacework query preview-source](lacework_query_preview-source.md) - Preview Lacework query data source * [lacework query run](lacework_query_run.md) - Run a query * [lacework query show](lacework_query_show.md) - Show a query * [lacework query show-source](lacework_query_show-source.md) - Show Lacework query data source