Policy > Security > East West Security > Distributed Firewall > Task

Get the information of import task

Get the information of the latest import task.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/settings/firewall/import
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/settings/firewall/import

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ImportTask+

Example Response:

{ "id": "import_task", "status": "error", "description": "Import of fw_config_apr2020.zip", "draft_path": "/infra/drafts/imported_fw_config_apr2020" "failure_msg": "Import failure. Failed to convert RuleDto", "user": "admin", "start_time": 1587491995996 }

Required Permissions:

read

Feature:

policy_dfw

Additional Errors: