HTTPSecurityAction

HTTPSecurityAction
HTTPSecurityAction
JSON Example
{
    "action": "string",
    "file": {
        "content_type": "string",
        "file_content": "string",
        "file_length": 0
    },
    "https_port": 0,
    "rate_profile": {
        "action": {
            "file": {
                "content_type": "string",
                "file_content": "string",
                "file_length": 0
            },
            "redirect": {
                "add_string": "string",
                "host": {
                    "tokens": [
                        {
                            "end_index": 0,
                            "start_index": 0,
                            "str_value": "string",
                            "type": "string"
                        }
                    ],
                    "type": "string"
                },
                "keep_query": false,
                "path": {
                    "tokens": [
                        {
                            "end_index": 0,
                            "start_index": 0,
                            "str_value": "string",
                            "type": "string"
                        }
                    ],
                    "type": "string"
                },
                "port": 0,
                "protocol": "string",
                "status_code": "string"
            },
            "status_code": "string",
            "type": "string"
        },
        "per_client_ip": false,
        "per_uri_path": false,
        "rate_limiter": {
            "burst_sz": 0,
            "count": 0,
            "name": "string",
            "period": 0
        }
    },
    "status_code": "string"
}
string
action
Required

Type of the security action to perform. Enum options - HTTP_SECURITY_ACTION_CLOSE_CONN, HTTP_SECURITY_ACTION_SEND_RESPONSE, HTTP_SECURITY_ACTION_ALLOW, HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS, HTTP_SECURITY_ACTION_RATE_LIMIT, HTTP_SECURITY_ACTION_REQUEST_CHECK_ICAP. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- HTTP_SECURITY_ACTION_CLOSE_CONN,HTTP_SECURITY_ACTION_SEND_RESPONSE,HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS), Basic edition(Allowed values- HTTP_SECURITY_ACTION_CLOSE_CONN,HTTP_SECURITY_ACTION_SEND_RESPONSE,HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS), Enterprise with Cloud Services edition.

file
Optional

file

integer As uint32 As uint32
https_port
Optional

Secure SSL/TLS port to redirect the HTTP request to. Allowed values are 1-65535. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

rate_profile
Optional

rate_profile

string
status_code
Optional

HTTP status code to use for local response. Enum options - HTTP_LOCAL_RESPONSE_STATUS_CODE_200, HTTP_LOCAL_RESPONSE_STATUS_CODE_204, HTTP_LOCAL_RESPONSE_STATUS_CODE_403, HTTP_LOCAL_RESPONSE_STATUS_CODE_404, HTTP_LOCAL_RESPONSE_STATUS_CODE_429, HTTP_LOCAL_RESPONSE_STATUS_CODE_501. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

Property Of