Fortinet white logo
Fortinet white logo

CLI Reference

config virtual-patch profile

config virtual-patch profile

Configure virtual-patch profile.

config virtual-patch profile
    Description: Configure virtual-patch profile.
    edit <name>
        set comment {var-string}
        set severity {option1}, {option2}, ...
        set action [pass|block]
        set log [enable|disable]
        config exemption
            Description: Exempt devices or rules.
            edit <id>
                set status [enable|disable]
                set rule <id1>, <id2>, ...
                set device <mac1>, <mac2>, ...
            next
        end
    next
end

config virtual-patch profile

Parameter

Description

Type

Size

Default

name

Profile name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 255

severity

Relative severity of the signature (low, medium, high, critical).

option

-

low medium high critical

Option

Description

low

low

medium

medium

high

high

critical

critical

action

Action (pass/block).

option

-

block

Option

Description

pass

Allows session that match the profile.

block

Blocks sessions that match the profile.

log

Enable/disable logging of detection.

option

-

enable

Option

Description

enable

Enable logging.

disable

Disable logging.

config exemption

Parameter

Description

Type

Size

Default

id

IDs.

integer

Minimum value: 0 Maximum value: 4294967295

0

status

Enable/disable exemption.

option

-

enable

Option

Description

enable

Enable exemption.

disable

Disable exemption.

rule <id>

Patch signature rule IDs.

Rule IDs.

integer

Minimum value: 0 Maximum value: 4294967295

device <mac>

Device MAC addresses.

Device MAC address.

mac-address

Not Specified

config virtual-patch profile

config virtual-patch profile

Configure virtual-patch profile.

config virtual-patch profile
    Description: Configure virtual-patch profile.
    edit <name>
        set comment {var-string}
        set severity {option1}, {option2}, ...
        set action [pass|block]
        set log [enable|disable]
        config exemption
            Description: Exempt devices or rules.
            edit <id>
                set status [enable|disable]
                set rule <id1>, <id2>, ...
                set device <mac1>, <mac2>, ...
            next
        end
    next
end

config virtual-patch profile

Parameter

Description

Type

Size

Default

name

Profile name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 255

severity

Relative severity of the signature (low, medium, high, critical).

option

-

low medium high critical

Option

Description

low

low

medium

medium

high

high

critical

critical

action

Action (pass/block).

option

-

block

Option

Description

pass

Allows session that match the profile.

block

Blocks sessions that match the profile.

log

Enable/disable logging of detection.

option

-

enable

Option

Description

enable

Enable logging.

disable

Disable logging.

config exemption

Parameter

Description

Type

Size

Default

id

IDs.

integer

Minimum value: 0 Maximum value: 4294967295

0

status

Enable/disable exemption.

option

-

enable

Option

Description

enable

Enable exemption.

disable

Disable exemption.

rule <id>

Patch signature rule IDs.

Rule IDs.

integer

Minimum value: 0 Maximum value: 4294967295

device <mac>

Device MAC addresses.

Device MAC address.

mac-address

Not Specified