MCPcopy Create free account
hub / github.com/auth0/auth0-cli / ipsCmd

Function ipsCmd

internal/cli/ips.go:18–31  ·  view source on GitHub ↗
(cli *cli)

Source from the content-addressed store, hash-verified

16)
17
18func ipsCmd(cli *cli) *cobra.Command {
19 cmd := &cobra.Command{
20 Use: "ips",
21 Short: "Manage blocked IP addresses",
22 Long: "Manually block or unblock an IP address that was blocked via the Suspicious IP Throttling " +
23 "due to multiple suspicious attempts.",
24 }
25
26 cmd.SetUsageTemplate(resourceUsageTemplate())
27 cmd.AddCommand(checkIPCmd(cli))
28 cmd.AddCommand(unblockIPCmd(cli))
29
30 return cmd
31}
32
33func checkIPCmd(cli *cli) *cobra.Command {
34 var inputs struct {

Callers 1

Calls 3

resourceUsageTemplateFunction · 0.85
checkIPCmdFunction · 0.85
unblockIPCmdFunction · 0.85

Tested by

no test coverage detected