Fortinet white logo
Fortinet white logo

CLI Reference

config rule fmwp

config rule fmwp

Show FMWP signatures. Read-only.

config rule fmwp
    Description: Show FMWP signatures. Read-only.
    edit <name>
        set action [pass|block]
        set application {user}
        set date {integer}
        set group {string}
        set location {user}
        set log [disable|enable]
        set log-packet [disable|enable]
        config metadata
            Description: Meta data. Read-only.
            edit <id>
                set metaid {integer}
                set valueid {integer}
            next
        end
        set os {user}
        set rev {integer}
        set rule-id {integer}
        set service {user}
        set severity {user}
    next
end

config rule fmwp

Parameter

Description

Type

Size

Default

action

Action. Read-only.

option

-

pass

Option

Description

pass

Pass or allow matching traffic.

block

Block or drop matching traffic.

application

Vulnerable applications. Read-only.

user

Not Specified

date

Date. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

group

Group. Read-only.

string

Maximum length: 63

location

Vulnerable location. Read-only.

user

Not Specified

log

Enable/disable logging. Read-only.

option

-

enable

Option

Description

disable

Disable logging.

enable

Enable logging.

log-packet

Enable/disable packet logging. Read-only.

option

-

disable

Option

Description

disable

Disable packet logging.

enable

Enable packet logging.

name

Rule name.

string

Maximum length: 63

os

Vulnerable operation systems. Read-only.

user

Not Specified

rev

Revision. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

rule-id

Rule ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

service

Vulnerable service. Read-only.

user

Not Specified

severity

Severity. Read-only.

user

Not Specified

config metadata

Parameter

Description

Type

Size

Default

id

ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

metaid

Meta ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

valueid

Value ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

config rule fmwp

config rule fmwp

Show FMWP signatures. Read-only.

config rule fmwp
    Description: Show FMWP signatures. Read-only.
    edit <name>
        set action [pass|block]
        set application {user}
        set date {integer}
        set group {string}
        set location {user}
        set log [disable|enable]
        set log-packet [disable|enable]
        config metadata
            Description: Meta data. Read-only.
            edit <id>
                set metaid {integer}
                set valueid {integer}
            next
        end
        set os {user}
        set rev {integer}
        set rule-id {integer}
        set service {user}
        set severity {user}
    next
end

config rule fmwp

Parameter

Description

Type

Size

Default

action

Action. Read-only.

option

-

pass

Option

Description

pass

Pass or allow matching traffic.

block

Block or drop matching traffic.

application

Vulnerable applications. Read-only.

user

Not Specified

date

Date. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

group

Group. Read-only.

string

Maximum length: 63

location

Vulnerable location. Read-only.

user

Not Specified

log

Enable/disable logging. Read-only.

option

-

enable

Option

Description

disable

Disable logging.

enable

Enable logging.

log-packet

Enable/disable packet logging. Read-only.

option

-

disable

Option

Description

disable

Disable packet logging.

enable

Enable packet logging.

name

Rule name.

string

Maximum length: 63

os

Vulnerable operation systems. Read-only.

user

Not Specified

rev

Revision. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

rule-id

Rule ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

service

Vulnerable service. Read-only.

user

Not Specified

severity

Severity. Read-only.

user

Not Specified

config metadata

Parameter

Description

Type

Size

Default

id

ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

metaid

Meta ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

valueid

Value ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0