Closed frslater closed 3 years ago
When an ltm policy is converted, the required "type" property is sometimes missing in the resulting declaration.
Steps to reproduce the behavior: Convert following config:
ltm policy /Common/xyz { controls { asm } requires { http } rules { default { actions { 0 { asm enable policy /Common/abc } } } } strategy /Common/first-match } asm policy /Common/abc { active encoding utf-8 policy-template POLICY_TEMPLATE_FUNDAMENTAL }
"xyz": { "rules": [ { "name": "default", "actions": [ { "event": "request", "enabled": true } ] } ], "strategy": "first-match", "class": "Endpoint_Policy" }
Posting this to AS3 results in a validation error because the "type" property is missing.
The result should instead be:
"xyz": { "rules": [ { "name": "default", "actions": [ { "event": "request", "type": "waf", "enabled": true } ] } ], "strategy": "first-match", "class": "Endpoint_Policy" }
Charon-303 Jira issue created to track it.
Issue solved and merged. Closing issue
Environment
Summary
When an ltm policy is converted, the required "type" property is sometimes missing in the resulting declaration.
Steps To Reproduce
Steps to reproduce the behavior: Convert following config:
Actual Behavior
Posting this to AS3 results in a validation error because the "type" property is missing.
Expected Behavior
The result should instead be: