Skip to content

Commit 868a452

Browse files
authored
refactor(cli): deprecate report-definitions command (#1468)
* refactor(cli): deprecate report-definitions command Signed-off-by: Salim Afiune Maya <[email protected]> * fix: help integration tests Signed-off-by: Salim Afiune Maya <[email protected]> --------- Signed-off-by: Salim Afiune Maya <[email protected]>
1 parent 6565a8f commit 868a452

File tree

6 files changed

+1
-196
lines changed

6 files changed

+1
-196
lines changed

cli/cmd/report_definitions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ var (
6060
// report-definitions command is used to manage lacework report definitions
6161
reportDefinitionsCommand = &cobra.Command{
6262
Use: "report-definition",
63+
Hidden: true,
6364
Aliases: []string{"report-definitions", "rd"},
6465
Short: "Manage report definitions",
6566
Long: `Manage report definitions to configure the data retrieval and layout information for a report.

cli/docs/lacework_report-definition.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

cli/docs/lacework_report-definition_delete.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

cli/docs/lacework_report-definition_list.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

cli/docs/lacework_report-definition_show.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

integration/test_resources/help/no-command-provided

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Available Commands:
2929
policy Manage policies
3030
policy-exception Manage policy exceptions
3131
query Run and manage queries
32-
report-definition Manage report definitions
3332
report-rule Manage report rules
3433
resource-group Manage resource groups
3534
team-member Manage team members

0 commit comments

Comments
 (0)