-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): update query by loading it from the platform (#721)
As a Lacework CLI user, I want to update a query without having to type the query again, So I can modify my queries faster via inline modifications. This change is adding the ability to load a query into the default editor from the user so that they can easily make inline modifications. Simply run the command `lacework query update [query_id]` and an editor will open with the query preloaded, modify it, save and close the file for the Lacework CLI to apply those modifications. * test(integration): update query id * fix: detect query id changes * test(integration): new runFakeTerminalTestFromDir() func * test(lql): enable policies tests * test: avoid running in parallel * test: update all TestGeneration tests * test: use vi rather than the default vim Signed-off-by: Salim Afiune Maya <[email protected]>
- Loading branch information
Showing
8 changed files
with
382 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.