Azure Network Security Groups

Azure network security groups are used to filter network traffic to and from Azure resources in an Azure virtual network.

Network Security · Azure Network Security Groups

Configuration parameters

  • app_id — Application ID
  • subscription_id — Default Subscription ID (required)
  • resource_group_name — Default Resource Group Name (required)
  • azure_ad_endpoint — Azure AD endpoint
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings
  • auth_type — Authentication Type (required)
  • tenant_id — Tenant ID
  • credentials — Client Secret
  • redirect_uri — Application redirect URI
  • auth_code — Authorization code
  • managed_identities_client_id

Commands (18)

  • azure-nsg-auth-complete

    Run this command to complete the authorization process. Should be used after running the azure-nsg-auth-start command.

  • azure-nsg-auth-reset

    Run this command if for some reason you need to rerun the authentication process.

  • azure-nsg-auth-start

    Run this command to start the authorization process and follow the instructions in the command results.

  • azure-nsg-auth-test

    Tests the connectivity to the Azure Network Security Groups.

  • azure-nsg-generate-login-url

    Generate the login url used for Authorization code flow.

  • azure-nsg-network-interfaces-create

    Creates or updates a network interface.

  • azure-nsg-network-interfaces-list

    Gets network interfaces in a resource group.

  • azure-nsg-public-ip-addresses-list

    Gets public IP addresses in a resource group.

  • azure-nsg-resource-group-list

    Gets all resource groups for a subscription.

  • azure-nsg-security-group-create

    Creates a network security group in the specified resource group.

  • azure-nsg-security-groups-list

    List all network security groups.

  • azure-nsg-security-rule-create

    Create a security rule.

  • azure-nsg-security-rule-delete

    Delete a security rule.

  • azure-nsg-security-rule-get

    Get a specific rule.

  • azure-nsg-security-rule-update

    Update a security rule. If one does not exist, it will be created.

  • azure-nsg-security-rules-list

    List all rules of the specified security groups.

  • azure-nsg-subscriptions-list

    Gets all subscriptions for a tenant.

  • azure-nsg-virtual-networks-list

    Gets virtual networks in a resource group.