Forum Discussion

Faintly_Lucky's avatar
Faintly_Lucky
Icon for Nimbostratus rankNimbostratus
Feb 27, 2018

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.

 

4 Replies

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

     

  • 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

    • Zdenda's avatar
      Zdenda
      Icon for Cirrus rankCirrus

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