diff --git a/buildtools/cli.go b/buildtools/cli.go index 5f0ece37e..e3c0913b9 100644 --- a/buildtools/cli.go +++ b/buildtools/cli.go @@ -331,7 +331,10 @@ func GetCommands() []cli.Command { SkipFlagParsing: true, BashComplete: corecommon.CreateBashCompletionFunc(), Category: buildToolsCategory, - Action: PipenvCmd, + Action: func(c *cli.Context) error { + cmdName, _ := getCommandName(c.Args()) + return securityCLI.WrapCmdWithCurationPostFailureRun(c, PipenvCmd, techutils.Pipenv, cmdName) + }, }, { Name: "poetry-config", @@ -368,8 +371,11 @@ func GetCommands() []cli.Command { SkipFlagParsing: true, BashComplete: corecommon.CreateBashCompletionFunc(), Category: buildToolsCategory, - Action: UvCmd, - Hidden: true, + Action: func(c *cli.Context) error { + cmdName, _ := getCommandName(c.Args()) + return securityCLI.WrapCmdWithCurationPostFailureRun(c, UvCmd, techutils.Uv, cmdName) + }, + Hidden: true, }, { Name: "helm",