Fortinet white logo
Fortinet white logo

CLI Reference

config webfilter content-header

config webfilter content-header

Configure content types used by Web filter.

config webfilter content-header
    Description: Configure content types used by Web filter.
    edit <id>
        set comment {var-string}
        config entries
            Description: Configure content types used by web filter.
            edit <pattern>
                set action [block|allow|...]
                set category {user}
            next
        end
        set name {string}
    next
end

config webfilter content-header

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

config entries

Parameter

Description

Type

Size

Default

action

Action to take for this content type.

option

-

allow

Option

Description

block

Block content type.

allow

Allow content type.

exempt

Exempt content type.

category

Categories that this content type applies to.

user

Not Specified

all

pattern

Content type (regular expression).

string

Maximum length: 31

config webfilter content-header

config webfilter content-header

Configure content types used by Web filter.

config webfilter content-header
    Description: Configure content types used by Web filter.
    edit <id>
        set comment {var-string}
        config entries
            Description: Configure content types used by web filter.
            edit <pattern>
                set action [block|allow|...]
                set category {user}
            next
        end
        set name {string}
    next
end

config webfilter content-header

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

config entries

Parameter

Description

Type

Size

Default

action

Action to take for this content type.

option

-

allow

Option

Description

block

Block content type.

allow

Allow content type.

exempt

Exempt content type.

category

Categories that this content type applies to.

user

Not Specified

all

pattern

Content type (regular expression).

string

Maximum length: 31