07-15-2024 02:19 PM
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?
07-15-2024 03:08 PM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.