withflow-rules
Get firewall rules from withFLOW device.
withflow-rules [verbose=VERBOSE] [device-ip=DEVICE-IP] [rule-id=RULE-ID] [src=SRC] [dst=DST] [service=SERVICE]
- verbose=VERBOSE
- Specify t to output all nested objects.
- device-ip=DEVICE-IP
- Device IP address filter.
- rule-id=RULE-ID
- Rule ID filter.
- src=SRC
- Source IP address filter.
- dst=DST
- Destination IP address filter.
- service=SERVICE
- Service filter.
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| device_name | String | Device name | Name of firewall |
| device_ip | IP address | Device IP | Management IP address of firewall. |
| id | Integer | Rule ID | |
| name | String | Rule name | |
| description | String | Description | |
| action | String | Action | PERMIT, DROP |
| order | Integer | Order | |
| sources | String | Sources | |
| destinations | String | Destinations | |
| services | String | Services | |
| last_used | Date | Last used time | |
| hit_count | Long | Hit count | |
| req_id | Integer | Request ID | |
| req_num | String | Request No | |
| emp_name | String | Employee name | |
| emp_title | String | Employee title | |
| dept_name | String | Department name | |
| planner_name | String | Planner name | |
| planner_title | String | Planner title | |
| planner_dept | String | Planner department | |
| approver_name | String | Approver name | |
| approver_title | String | Approver title | |
| approver_dept | String | Approver department | |
| operator_name | String | Operator name | |
| operator_title | String | Operator title | |
| operator_dept | String | Operator department |