< Home

http-audit file direction

Function

The http-audit file direction command audits the files transferred through HTTP.

The undo http-audit file direction command cancels the audit on the files transferred through HTTP.

Format

http-audit file direction { upload | download | both }

undo http-audit file direction { upload | download | both }

Parameters

Parameter Description Value
upload Indicates the upload direction. -
download Indicates the download direction. -
both Indicates both the upload and download directions. -

Views

Audit profile view

Default Level

2: Configuration level

Usage Guidelines

By default, the device does not audit the file transfer through HTTP.

The items that can be audited are file transfer time, file name, and file size. File content are not audited.

Example

# Create an audit profile named hello to audit HTTP file upload.

<sysname> system-view
[sysname] profile type audit name hello
[sysname-profile-audit-hello] http-audit file direction upload
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >