Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

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": "https://localhost/mgmt/tm/asm/policies/xa5GqeQXgaj_F9_xhMGOrA/audit-logs?ver=12.1.1";
},

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.

0
Rate this Question
Comments on this Question
Comment made 28-Feb-2018 by Faintly Lucky 177

Bump. Can anyone confirm that they're seeing the same behavior. Jason R, Joe P?

0

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Does using ?$expand=signatureReference,otherReference work for you?

1
Comments on this Answer
Comment made 08-Jun-2018 by Zdenda 451

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 :)

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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

0