15-Jun-2022 00:48
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?
24-Jun-2022 13:08
@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?
24-Jun-2022 13:23
@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...
27-Jun-2022 09:39
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"
},