The http-audit url category-exclude-mode command enables the excluded audit mode.
The undo http-audit url category-exclude-mode command disables the excluded audit mode.
By default, the excluded audit mode is disabled.
To audit URLs for HTTP access, run the http-audit url { pre-defined sub-category-id sub-category-id | user-defined category-name category-name } command to specify the URL category to be audited. If the excluded audit mode is enabled, the FW will audit all URLs excluding the specified URL category.
If the http-audit url all command is run to audit all URLs for HTTP access, running the http-audit url category-exclude-mode command does not take effect.
# Create audit profile hello and enable the excluded audit mode to audit all URLs excluding predefined URL category P2P (ID: 101).
<sysname> system-view [sysname] profile type audit name hello [sysname-profile-audit-hello] http-audit url pre-defined sub-category-id 101 [sysname-profile-audit-hello] http-audit url category-exclude-mode