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

Function networkACLCmd

internal/cli/network_acl.go:528–545  ·  view source on GitHub ↗
(cli *cli)

Source from the content-addressed store, hash-verified

526}
527
528func networkACLCmd(cli *cli) *cobra.Command {
529 cmd := &cobra.Command{
530 Use: "network-acl",
531 Short: "Manage network ACL settings",
532 Long: `Manage network access control list (ACL) settings for your tenant.
533Network ACLs allow you to control access to your applications based on IP addresses,
534country codes, anonymous proxies, and other criteria.`,
535 }
536
537 cmd.SetUsageTemplate(resourceUsageTemplate())
538 cmd.AddCommand(listNetworkACLsCmd(cli))
539 cmd.AddCommand(createNetworkACLCmd(cli))
540 cmd.AddCommand(showNetworkACLCmd(cli))
541 cmd.AddCommand(updateNetworkACLCmd(cli))
542 cmd.AddCommand(deleteNetworkACLCmd(cli))
543
544 return cmd
545}
546
547func listNetworkACLsCmd(cli *cli) *cobra.Command {
548 cmd := &cobra.Command{

Callers 1

addSubCommandsFunction · 0.85

Calls 6

resourceUsageTemplateFunction · 0.85
listNetworkACLsCmdFunction · 0.85
createNetworkACLCmdFunction · 0.85
showNetworkACLCmdFunction · 0.85
updateNetworkACLCmdFunction · 0.85
deleteNetworkACLCmdFunction · 0.85

Tested by

no test coverage detected