Forum Discussion
ASM 12.1.1 REST API ignores expandSubcollections=true when querying policies
When running a curl against mgmt/tm/asm/polices?expandSubcollections=true, the sub-collections are not expanded in the response as they should be.
This works on every other path I query like LTM, but with the ASM policy query, everything looks just like it would if I hadn't used the expandSubcollections=true parameter.
Like this: "auditLogReference": {
"isSubCollection": true,
"link": ";
},
It would appear that this is a bug, but please let me know if this is intended behavior when querying ASM policies.
Thanks in advance.
- Faintly_Lucky
Nimbostratus
Bump. Can anyone confirm that they're seeing the same behavior. Jason R, Joe P?
- Zdenda
Cirrus
Hi, having the same issue when calling path
/mgmt/tm/asm/policies/abcd1234/blocking-settings?expandSubcollections=true"
Seems expandSubcollections does not work at all here.
Any news? I use version 12.1.2
- Charles_RosenbeHistoric F5 Account
Does using ?$expand=signatureReference,otherReference work for you?
- Zdenda
Cirrus
yes, that works, great trick, didn't know that is possible.
Hey I got 3 really helpful answers from you F5 guys in same day, thanks :)
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com