@Override
    public String[] resolveFrom(final JoinPoint auditableTarget, final Object returnValue) {
        Objects.requireNonNull(returnValue, "Event must not be null");
        val resultEvent = (Event) returnValue;
        if (resultEvent.getAttributes().contains("result")) {
            val values = new HashMap<String, Object>(resultEvent.getAttributes().get("result", Map.class));
            values.put("status", resultEvent.getId());
            return new String[]{auditFormat.serialize(values)};
        }
        return ArrayUtils.EMPTY_STRING_ARRAY;
    }
This is {@link SurrogateEligibilitySelectionAuditResourceResolver}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-surrogate-core/src/main/java/org/apereo/cas/authentication/audit/SurrogateEligibilitySelectionAuditResourceResolver.java