I want to filter only the router policies where the name does not contain "edge-router-" and the edgeRouterRoles has an ID I want (e.g., asdfg).
I tried this
not (name contains "edge-router-") and ("asdfg" in edgeRouterRoles)
I want to filter only the router policies where the name does not contain "edge-router-" and the edgeRouterRoles has an ID I want (e.g., asdfg).
I tried this
not (name contains "edge-router-") and ("asdfg" in edgeRouterRoles)
Hi @BaS2L,
(not (name contains "edge-router-")) and anyOf(edgeRouterRoles) = "#asdfg"
Some things to note:
ziti list edge-router edge-router-policies my-edge-router 'not (name contains "edge-router-")'
That would find edge router policies where the policy name doesn't "edge-router-" for the edge router named "my-edge-router".
Hope that's helpful,
Paul