Audit Application 1 - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

Here, one or more audit applications are defined. See also the previous section for discussion on Path Mappings. Path Mappings are important to understanding how applications work. This audit application will record username for successful and failed logins.

<Applicationname="AuditExampleLogin1"key="auditexamplelogin1">
    <AuditPath key="login">
        <AuditPath key="no-error">
            <RecordValue key="user" dataExtractor="simpleValue" dataSource="/auditexamplelogin1/login/args/userName"/>
        </AuditPath>
        <AuditPath key="error">
            <RecordValue key="user" dataExtractor="simpleValue" dataSource="/auditexamplelogin1/login/args/userName"/>
        </AuditPath>
    </AuditPath>
</Application>