IPCalcReturnSubnetNetwork
An Automation Script to return subnet network ID.
python · Community Common Scripts
Details
| ID | IPCalcReturnSubnetNetwork |
|---|---|
| Language | python |
| From Version | 6.0.0 |
| Docker Image | demisto/python3:3.12.13.11879924 |
README
An Automation Script to return subnet network ID
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | |
| Cortex XSOAR Version | 6.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| subnet | Subnet to use |
Outputs
| Path | Description | Type |
|---|---|---|
| IPCalc.IP.Network | Subnet network | String |
Script Example
!IPCalcReturnSubnetNetwork subnet=87.248.100.215/28
Context Example
{
"IPCalc": {
"IP": {
"Network": "87.248.100.208"
}
}
}
Human Readable Output
Subnet Network
Network: 87.248.100.208
args: - description: Subnet to use. name: subnet required: true comment: An Automation Script to return subnet network ID. commonfields: id: IPCalcReturnSubnetNetwork version: -1 name: IPCalcReturnSubnetNetwork outputs: - contextPath: IPCalc.IP.Network description: Subnet network. type: String script: '-' subtype: python3 timeout: '0' type: python dockerimage: demisto/python3:3.12.13.11879924 tests: - No tests fromversion: 6.0.0