# Get Security Rule

> Get Security Rule activity that gets the details of a security rule in Azure.

`UiPath.Azure.Activities.GetSecurityRule`

## Description

Gets the details of a security rule.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Input

* **NSGName** - Specifies the name of the network security group to which the rule belongs. This field supports only strings and `String` variables.
* **ResourceGroupName** - Specifies the name of the resource group. This field supports only strings and `String` variables.
* **RuleName** - Specifies the name of the security rule. This field supports only strings and `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **SecurityRule** - Provides the details about the security rule.
