Is there any REST endpoint to monitor the status of LDAP replication? We've had some issues where replication broke for a while (both due to Stash bugs such as https://jira.atlassian.com/browse/STASH-6828and also due to firewall issues).
I basically want to alarm if its been too long since the last successful synchronisation.
Crowd seems to have some REST APIs that would let me do that, but I don't think that those are exposed in Stsah? I can select this from the DB ("select * from cwd_directory_attribute where attribute_name = 'com.atlassian.crowd.directory.sync.laststartsynctime'" is the time in milliseconds), but it would be nice to have a 'supported' API.