So I have figured out I need to create the LTM policy first, through TMS this has been troublesome, if anyone can help me with the nested syntax, it has gotten very nested and just looking for a little help.
This is the end result I am aiming for:
ltm policy asm_auto_l7_test.com {
controls { asm }
requires { http }
rules {
default {
actions {
1 {
asm
enable
policy /Common/WAF
}
}
ordinal 1
}
}
status legacy
strategy first-match
}
This is what I got but tripping up on the nested for rules subset
create ltm policy test1 controls add {asm} requires add {http} rules add {defualt {ordinal 1{} actions add{1{policy /Common/WAF}}}}