Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Query access policy apply status using REST API?

Rein_Tollevik
Nimbostratus
Nimbostratus

In https://support.f5.com/csp/article/K30361007 it is described how an access policy can be applied using the REST API.  But I cannot find any documentation as to how the API can be used to detect if an access policy needs to be applied.  Obviously that information is hidden somewhere on the BIG-IP system, as the GUI is able to display it.  But is there any way to use the API to find the apply status of an access policy?

 

3 REPLIES 3

LiefZimmerman
Community Manager
Community Manager

@Rein_Tollevik - I see nobody has replied to this. Seems a common enough issue but I don't see anything in my quick search either.
@JRahm - has this come up before?

JRahm
Community Manager
Community Manager

@Rein_Tollevik I know there's a way, but I haven't done that myself. Let me ask around and see if I can get the right resource here...

JRahm
Community Manager
Community Manager

Pretty sure this is it:

https://ltm3.test.local/mgmt/tm/apm/profile/access/test/stats

Green Flag:

          "configSyncState": {
            "description": "Not-Required"
          },

Yellow Flag:

          "configSyncState": {
            "description": "Required"
          },