CLASSIFY::username

Description

This command assigns the username to the flow. It could be used for reporting / statistics / etc.
Note: the Policy Enforcement Manager license is required for functionality to work.

Syntax

CLASSIFY::username <username> [<context>]

Examples

when CLIENT_ACCEPTED {
    CLASSIFY::username superuser
}
when CLASSIFICATION_DETECTED {
    set res [CLASSIFICATION::results]
    set uname [CLASSIFICATION::username]
    log local0.debug "DPI results $res for $uname"
}