Fortinet black 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 pattern {string}
                set action [block|allow|...]
                set category {user}
            next
        end
        set id {integer}
        set name {string}
    next
end

config webfilter content-header

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Not Specified

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Not Specified

config entries

Parameter

Description

Type

Size

Default

pattern

Content type (regular expression).

string

Not Specified

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

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 pattern {string}
                set action [block|allow|...]
                set category {user}
            next
        end
        set id {integer}
        set name {string}
    next
end

config webfilter content-header

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Not Specified

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Not Specified

config entries

Parameter

Description

Type

Size

Default

pattern

Content type (regular expression).

string

Not Specified

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