file policy

WAF Policy file information and management commands.

policy Specification

Type operational
Element Name policy
Element URI /axapi/v3/file/policy
Element Attributes policy_attributes
Operational Data URI /axapi/v3/file/policy/oper
Schema policy schema

Operations Allowed:

Operation Method URI Payload

EXECUTE Object

POST

/axapi/v3/file/policy

policy Attributes

Get Oper

GET

/axapi/v3/file/policy/oper

operational data

policy Attributes

action

Description: ‘create’: create; ‘import’: import; ‘export’: export; ‘copy’: copy; ‘rename’: rename; ‘check’: check; ‘replace’: replace; ‘delete’: delete;

Type: string

Supported Values: create, import, export, copy, rename, check, replace, delete

dst-file

Description: destination file name for copy and rename action

Type: string

file

Description: Policy local file name

Type: string

file-handle

Description: full path of the uploaded file

Type: string

Format: string-rlx

size

Description: Policy file size in byte

Type: number

Range: 0-2147483647

operational data

Name Type Description
file-list file-list