Fortinet white logo
Fortinet white logo

CLI Reference

config image-analyzer profile

config image-analyzer profile

Configure image analyzer profiles

config image-analyzer profile
    Description: Configure image analyzer profiles
    edit <name>
        set comment {var-string}
        set alcohol-block-strictness-level {integer}
        set alcohol-status [allow|deny|...]
        set drugs-block-strictness-level {integer}
        set drugs-status [allow|deny|...]
        set extremism-block-strictness-level {integer}
        set extremism-status [allow|deny|...]
        set gambling-block-strictness-level {integer}
        set gambling-status [allow|deny|...]
        set gore-block-strictness-level {integer}
        set gore-status [allow|deny|...]
        set porn-block-strictness-level {integer}
        set porn-status [allow|deny|...]
        set swim_underwear-block-strictness-level {integer}
        set swim_underwear-status [allow|deny|...]
        set weapons-block-strictness-level {integer}
        set weapons-status [allow|deny|...]
        set image-skip-size {integer}
        set image-skip-width {integer}
        set image-skip-height {integer}
        set log-option [all|violation]
        set source-url [enable|disable]
        set blocked-img-cache [enable|disable]
        set rating-err-action [block|pass]
        set replace-image {string}
        set optical-character-recognition [enable|disable]
        set ocr-activation-threshold {integer}
    next
end

config image-analyzer profile

Parameter

Description

Type

Size

Default

name

Profile name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 255

alcohol-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

alcohol-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

drugs-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

drugs-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

extremism-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

extremism-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

gambling-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

gambling-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

gore-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

gore-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

porn-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

porn-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

swim_underwear-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

swim_underwear-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

weapons-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

weapons-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

image-skip-size

Image skip rating size.

integer

Minimum value: 0 Maximum value: 2048

1

image-skip-width

Image skip rating width(min. 5 pixel).

integer

Minimum value: 5 Maximum value: 2147483647

30

image-skip-height

Image skip rating height(min. 5 pixel).

integer

Minimum value: 5 Maximum value: 2147483647

30

log-option

Log option for the inspected image result.

option

-

violation

Option

Description

all

Log all image result.

violation

Log only violation image result.

source-url

Enable/disable source url in the image search result.

option

-

enable

Option

Description

enable

Enable source url in image search.

disable

Disable source url in image search.

blocked-img-cache

Enable/disable saving blocked images in ram disk.

option

-

disable

Option

Description

enable

Enable caching.

disable

Disable caching.

rating-err-action

Actions when image rating error.

option

-

pass

Option

Description

block

Block.

pass

Pass.

replace-image

Specify replacement image.

string

Maximum length: 35

optical-character-recognition

Enable/disable optical character recognition.

option

-

disable

Option

Description

enable

Enable optical character recognition.

disable

Disable optical character recognition.

ocr-activation-threshold

Threshold to activate optical character recognition.

integer

Minimum value: 0 Maximum value: 100

30

config image-analyzer profile

config image-analyzer profile

Configure image analyzer profiles

config image-analyzer profile
    Description: Configure image analyzer profiles
    edit <name>
        set comment {var-string}
        set alcohol-block-strictness-level {integer}
        set alcohol-status [allow|deny|...]
        set drugs-block-strictness-level {integer}
        set drugs-status [allow|deny|...]
        set extremism-block-strictness-level {integer}
        set extremism-status [allow|deny|...]
        set gambling-block-strictness-level {integer}
        set gambling-status [allow|deny|...]
        set gore-block-strictness-level {integer}
        set gore-status [allow|deny|...]
        set porn-block-strictness-level {integer}
        set porn-status [allow|deny|...]
        set swim_underwear-block-strictness-level {integer}
        set swim_underwear-status [allow|deny|...]
        set weapons-block-strictness-level {integer}
        set weapons-status [allow|deny|...]
        set image-skip-size {integer}
        set image-skip-width {integer}
        set image-skip-height {integer}
        set log-option [all|violation]
        set source-url [enable|disable]
        set blocked-img-cache [enable|disable]
        set rating-err-action [block|pass]
        set replace-image {string}
        set optical-character-recognition [enable|disable]
        set ocr-activation-threshold {integer}
    next
end

config image-analyzer profile

Parameter

Description

Type

Size

Default

name

Profile name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 255

alcohol-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

alcohol-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

drugs-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

drugs-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

extremism-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

extremism-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

gambling-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

gambling-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

gore-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

gore-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

porn-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

porn-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

swim_underwear-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

swim_underwear-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

weapons-block-strictness-level

Higher value means an image is more likely to be blocked.

integer

Minimum value: 0 Maximum value: 100

30

weapons-status

Allow/deny/monitor the category image.

option

-

deny

Option

Description

allow

Allow the category image.

deny

Deny the category image.

monitor

Monitor the category image.

image-skip-size

Image skip rating size.

integer

Minimum value: 0 Maximum value: 2048

1

image-skip-width

Image skip rating width(min. 5 pixel).

integer

Minimum value: 5 Maximum value: 2147483647

30

image-skip-height

Image skip rating height(min. 5 pixel).

integer

Minimum value: 5 Maximum value: 2147483647

30

log-option

Log option for the inspected image result.

option

-

violation

Option

Description

all

Log all image result.

violation

Log only violation image result.

source-url

Enable/disable source url in the image search result.

option

-

enable

Option

Description

enable

Enable source url in image search.

disable

Disable source url in image search.

blocked-img-cache

Enable/disable saving blocked images in ram disk.

option

-

disable

Option

Description

enable

Enable caching.

disable

Disable caching.

rating-err-action

Actions when image rating error.

option

-

pass

Option

Description

block

Block.

pass

Pass.

replace-image

Specify replacement image.

string

Maximum length: 35

optical-character-recognition

Enable/disable optical character recognition.

option

-

disable

Option

Description

enable

Enable optical character recognition.

disable

Disable optical character recognition.

ocr-activation-threshold

Threshold to activate optical character recognition.

integer

Minimum value: 0 Maximum value: 100

30