ADC

Auditing authenticated sessions

You can configure the Citrix ADC appliance to keep a log of all the events that are triggered in an authenticated session. Using this information, you can audit state and status information, to see the history for users in chronological order.

To do this, define an audit policy that specifies the following:

  • 日志类型。The logs can be stored remotely (syslog) or locally on the Citrix ADC appliance (nslog).
  • Rule.The conditions on which the logs are stored.
  • Action.Details of the log server and other details for creating the log entries.

This audit policy can be configured at different levels: user-level, group-level, authentication, authorization, and auditing virtual server, and global system level. The policies configured at the user-level have the highest priority.

Note

This topic details steps for using syslog. Make necessary changes to use nslog.

To configure syslog auditing by using the CLI

  1. Configure the audit server with the relevant log settings.

    ns-cli-prompt>add audit syslogAction

  2. Configure the audit policy by associating the audit server.

    ns-cli-prompt>add audit syslogPolicy

  3. Associate the audit policy with one of the following entities:

    • 绑定的政策to a specific user.

      ns-cli-prompt>bind aaa user-policy

    • 绑定的政策to a specific group.

      ns-cli-prompt>bind aaa group -policy

    • 绑定的政策to a authentication, authorization, and auditing virtual server.

      ns-cli-prompt>bind authentication vserver -policy

    • 绑定的政策globally to the Citrix ADC appliance.

      ns-cli-prompt>bind tm global-policyName

To configure syslog auditing by using the GUI (Configuration tab)

  1. Configure the audit server and policy.

    Navigate toSecurity > AAA - Application Traffic > Policies > Auditing > Syslog, and configure the server and the policy in the relevant tabs.

  2. Associate the policy with one of the following:

    • 绑定的政策to a specific user.

      Navigate toSecurity > AAA - Application Traffic > Users, and associate the authorization policy with the relevant user.

    • 绑定的政策to a specific group.

      Navigate toSecurity > AAA - Application Traffic > Groups, and associate the authorization policy with the relevant group.

    • 绑定的政策to a authentication, authorization, and auditing virtual server.

      Navigate toSecurity > AAA - Application Traffic > Virtual Servers, and associate the authorization policy with the relevant virtual server.

    • 绑定的政策globally to the Citrix ADC appliance.

      Navigate toSecurity > AAA - Application Traffic > Policies > Auditing > SyslogorNslog, select the authorization policy, and clickAction > Global Bindingsto bind the policy globally.

Auditing authenticated sessions