You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An HTTP POST to the ``/mgmt/tm/security/firewall/policy/{{afm_policy}}/rules`` endpoint with a body containing a new rule will add the rule to the firewall policy.
@@ -188,6 +160,35 @@ An HTTP POST to the ``/mgmt/tm/security/firewall/policy/{{afm_policy}}/rules`` e
188
160
}
189
161
}
190
162
163
+
4. List AFM policy rules
164
+
-------------------------
165
+
166
+
**Request**
167
+
168
+
::
169
+
170
+
GET https://{{big_ip_a_mgmt}}/mgmt/tm/security/firewall/policy/{{afm_policy}}/rules
171
+
172
+
**Headers**
173
+
174
+
::
175
+
176
+
X-F5-Auth-Token: {{big_ip_a_auth_token}}
177
+
178
+
**Example Response**
179
+
180
+
.. NOTE:: There will be no rules listed in the newly created policy. Rules are populated in the ``"items": []`` sub collection.
0 commit comments