Fortinet white logo
Fortinet white logo

CLI Reference

config casb attribute-match

config casb attribute-match

Configure CASB attribute match rule.

config casb attribute-match
    Description: Configure CASB attribute match rule.
    edit <name>
        set application {string}
        config match
            Description: CASB tenant match rules.
            edit <id>
                config rule
                    Description: CASB attribute match rule.
                    edit <id>
                        set attribute {string}
                        set case-sensitive [enable|disable]
                        set match-pattern [simple|substr|...]
                        set match-value {string}
                        set negate [enable|disable]
                    next
                end
                set rule-strategy [and|or]
            next
        end
        set match-strategy [or|and|...]
    next
end

config casb attribute-match

Parameter

Description

Type

Size

Default

application

CASB attribute application name.

string

Maximum length: 79

match-strategy

CASB attribute match strategy.

option

-

or

Option

Description

or

Match when any rule is satisfied.

and

Match when all rules are satisfied.

subset

Match when extracted attributes are found within defined rules.

name

CASB attribute match name.

string

Maximum length: 79

config match

Parameter

Description

Type

Size

Default

id

CASB attribute match rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

rule-strategy

CASB attribute match rule strategy.

option

-

and

Option

Description

and

Match attribute using a logical AND operator.

or

Match attribute using a logical OR operator.

config rule

Parameter

Description

Type

Size

Default

attribute

CASB attribute match name.

string

Maximum length: 79

case-sensitive

CASB attribute match case sensitive.

option

-

disable

Option

Description

enable

Enable value case sensitive match.

disable

Disable value case sensitive match.

id

CASB attribute rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

match-pattern

CASB attribute match pattern.

option

-

simple

Option

Description

simple

Exact string match pattern.

substr

Sub-string pattern.

regexp

Regular expression pattern.

match-value

CASB attribute match value.

string

Maximum length: 1023

negate

Enable/disable what the matching strategy must not be.

option

-

disable

Option

Description

enable

Matching strategy is negated.

disable

Matching strategy is not negated.

config casb attribute-match

config casb attribute-match

Configure CASB attribute match rule.

config casb attribute-match
    Description: Configure CASB attribute match rule.
    edit <name>
        set application {string}
        config match
            Description: CASB tenant match rules.
            edit <id>
                config rule
                    Description: CASB attribute match rule.
                    edit <id>
                        set attribute {string}
                        set case-sensitive [enable|disable]
                        set match-pattern [simple|substr|...]
                        set match-value {string}
                        set negate [enable|disable]
                    next
                end
                set rule-strategy [and|or]
            next
        end
        set match-strategy [or|and|...]
    next
end

config casb attribute-match

Parameter

Description

Type

Size

Default

application

CASB attribute application name.

string

Maximum length: 79

match-strategy

CASB attribute match strategy.

option

-

or

Option

Description

or

Match when any rule is satisfied.

and

Match when all rules are satisfied.

subset

Match when extracted attributes are found within defined rules.

name

CASB attribute match name.

string

Maximum length: 79

config match

Parameter

Description

Type

Size

Default

id

CASB attribute match rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

rule-strategy

CASB attribute match rule strategy.

option

-

and

Option

Description

and

Match attribute using a logical AND operator.

or

Match attribute using a logical OR operator.

config rule

Parameter

Description

Type

Size

Default

attribute

CASB attribute match name.

string

Maximum length: 79

case-sensitive

CASB attribute match case sensitive.

option

-

disable

Option

Description

enable

Enable value case sensitive match.

disable

Disable value case sensitive match.

id

CASB attribute rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

match-pattern

CASB attribute match pattern.

option

-

simple

Option

Description

simple

Exact string match pattern.

substr

Sub-string pattern.

regexp

Regular expression pattern.

match-value

CASB attribute match value.

string

Maximum length: 1023

negate

Enable/disable what the matching strategy must not be.

option

-

disable

Option

Description

enable

Matching strategy is negated.

disable

Matching strategy is not negated.