1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
a = {
"return_data": 1,
"rule": {
"name": "secy_deny_extip_substr_fqdn_http_block_403responseprofile",
"type": "security",
"action": "deny",
"source": [
{
"negate_option": False,
"attribute_name": "ATTR_SOURCE_IP",
"objects": [
{
"type": "ip",
"sub_type": "ip",
"statistics_option": "elaborate",
"name": "secy_srcip",
"description": "test",
"member_type": "item",
"items": [
{
"op": "add",
"ip": "1.1.1.1",
"interval": "0-65535"
}
]
}
]
}
],
"destination": [
{
"negate_option": False,
"attribute_name": "ATTR_SERVER_FQDN",
"objects": [
{
"type": "ip",
"sub_type": "ip",
"statistics_option": "elaborate",
"name": "secy_dstip",
"description": "test",
"member_type": "item",
"items": [
{
"op": "add",
"ip": "11.1.1.1",
"interval": "0-65535"
}
]
}
]
}
],
"application": {
"objects": [
{
"name": "http"
}
],
"attribute_name": "ATTR_APP_ID",
"negate_option": False
},
"action_parameter": {
"method": "block",
"packet_capture": {
"enable": 0
},
"code": 403,
"profile": {
"format": "html",
"name": "secy_respage",
"content_name": "/response_testa.html",
},
"message": "html_profile"
},
"is_enabled": 1,
"vsys_id": "1",
"schedule_id": [],
"user_tags": "",
"log_option": "metadata",
"effective_range": {},
},
"vsys_id": "1"
}
|