@@ -56,9 +56,9 @@ import (
5656 "github.com/fastly/cli/pkg/commands/logging/syslog"
5757 "github.com/fastly/cli/pkg/commands/logtail"
5858 "github.com/fastly/cli/pkg/commands/ngwaf"
59- "github.com/fastly/cli/pkg/commands/ngwaf/redaction"
60- "github.com/fastly/cli/pkg/commands/ngwaf/virtualpatch"
6159 "github.com/fastly/cli/pkg/commands/ngwaf/workspace"
60+ "github.com/fastly/cli/pkg/commands/ngwaf/workspace/redaction"
61+ "github.com/fastly/cli/pkg/commands/ngwaf/workspace/virtualpatch"
6262 "github.com/fastly/cli/pkg/commands/objectstorage"
6363 "github.com/fastly/cli/pkg/commands/objectstorage/accesskeys"
6464 "github.com/fastly/cli/pkg/commands/pop"
@@ -398,22 +398,22 @@ func Define( // nolint:revive // function-length
398398 loggingSyslogList := syslog .NewListCommand (loggingSyslogCmdRoot .CmdClause , data )
399399 loggingSyslogUpdate := syslog .NewUpdateCommand (loggingSyslogCmdRoot .CmdClause , data )
400400 ngwafRoot := ngwaf .NewRootCommand (app , data )
401- ngwafRedactionRoot := redaction .NewRootCommand (ngwafRoot .CmdClause , data )
401+ ngwafWorkspacesRoot := workspace .NewRootCommand (ngwafRoot .CmdClause , data )
402+ ngwafWorkspacesCreate := workspace .NewCreateCommand (ngwafWorkspacesRoot .CmdClause , data )
403+ ngwafWorkspacesDelete := workspace .NewDeleteCommand (ngwafWorkspacesRoot .CmdClause , data )
404+ ngwafWorkspacesGet := workspace .NewGetCommand (ngwafWorkspacesRoot .CmdClause , data )
405+ ngwafWorkspacesList := workspace .NewListCommand (ngwafWorkspacesRoot .CmdClause , data )
406+ ngwafWorkspacesUpdate := workspace .NewUpdateCommand (ngwafWorkspacesRoot .CmdClause , data )
407+ ngwafRedactionRoot := redaction .NewRootCommand (ngwafWorkspacesRoot .CmdClause , data )
402408 ngwafRedactionCreate := redaction .NewCreateCommand (ngwafRedactionRoot .CmdClause , data )
403409 ngwafRedactionDelete := redaction .NewDeleteCommand (ngwafRedactionRoot .CmdClause , data )
404410 ngwafRedactionList := redaction .NewListCommand (ngwafRedactionRoot .CmdClause , data )
405411 ngwafRedactionRetrieve := redaction .NewRetrieveCommand (ngwafRedactionRoot .CmdClause , data )
406412 ngwafRedactionUpdate := redaction .NewUpdateCommand (ngwafRedactionRoot .CmdClause , data )
407- ngwafVirtualpatchRoot := virtualpatch .NewRootCommand (ngwafRoot .CmdClause , data )
413+ ngwafVirtualpatchRoot := virtualpatch .NewRootCommand (ngwafWorkspacesRoot .CmdClause , data )
408414 ngwafVirtualpatchList := virtualpatch .NewListCommand (ngwafVirtualpatchRoot .CmdClause , data )
409415 ngwafVirtualpatchUpdate := virtualpatch .NewUpdateCommand (ngwafVirtualpatchRoot .CmdClause , data )
410416 ngwafVirtualpatchRetrieve := virtualpatch .NewRetrieveCommand (ngwafVirtualpatchRoot .CmdClause , data )
411- ngwafWorkspacesRoot := workspace .NewRootCommand (ngwafRoot .CmdClause , data )
412- ngwafWorkspacesCreate := workspace .NewCreateCommand (ngwafWorkspacesRoot .CmdClause , data )
413- ngwafWorkspacesDelete := workspace .NewDeleteCommand (ngwafWorkspacesRoot .CmdClause , data )
414- ngwafWorkspacesGet := workspace .NewGetCommand (ngwafWorkspacesRoot .CmdClause , data )
415- ngwafWorkspacesList := workspace .NewListCommand (ngwafWorkspacesRoot .CmdClause , data )
416- ngwafWorkspacesUpdate := workspace .NewUpdateCommand (ngwafWorkspacesRoot .CmdClause , data )
417417 objectStorageRoot := objectstorage .NewRootCommand (app , data )
418418 objectStorageAccesskeysRoot := accesskeys .NewRootCommand (objectStorageRoot .CmdClause , data )
419419 objectStorageAccesskeysCreate := accesskeys .NewCreateCommand (objectStorageAccesskeysRoot .CmdClause , data )
0 commit comments