Hi All,
I'm trying to use /audit-applications/{auditApplicationId}/audit-entries with alfresco-access, include values, and (valuesKey='/alfresco-access/login/user').
According to the documentation, this should return all audits of logins in the alfresco-access application. Instead, it returns all the audits, ignoring (valuesKey='/alfresco-access/login/user').
The path is:
/alfresco/api/-default-/public/alfresco/versions/1/audit-applications/alfresco-access/audit-entries?skipCount=0&omitTotalItems=false&maxItems=100&where=(valuesKey%3D'%2Falfresco-access%2Flogin%2Fuser')&include=values"
It seems like (valuesKey='/alfresco-access/login/user') does not have an effect unless it has a valuesValue to go with it.
Any ideas?
and in the AuditImpl.class, I can see:
if (propertyWalker.getValuesKey() != null && propertyWalker.getValuesValue() != null) {
params.addSearchKey(propertyWalker.getValuesKey(), propertyWalker.getValuesValue());
}
which I guess answers my question.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.