Fortinet white logo
Fortinet white logo

Administration Guide

Configuring a video filter keyword list

Configuring a video filter keyword list

Users have the ability to filter videos based on the video titles and descriptions by defining a video filter keyword. Multiple keywords can be defined using a wildcard or regular expression, and can be used with AND/OR logic options.

Note

Unicode emoji character code is currently not supported.

Configure the video filter keyword list in the GUI:
  1. Go to Security Profiles > Video Filter, select the Video Filter Keyword tab, and click Create new.

  2. Configure the following:

    Name

    Enter a name.

    Match operator

    Select the match operator.

    • Any: match any keyword (OR logic)
    • All: match all keywords (AND logic)
  3. Create the keywords:

    1. In the Keywords table, click Create new.

    2. Configure the following:

      Pattern

      Enter a regular expression or wildcard pattern string.

      Pattern type

      Select the pattern type.

      • Wildcard: suitable for basic search
      • Regular Expression: suitable for advanced search

      Status

      Set the status.

      • Enable: consider this keyword
      • Disable: ignore this keyword
    3. Click OK.

  4. Click OK to save the keyword list.

Configure the video filter keyword list in the CLI:
config videofilter keyword
    edit <id>
        set name <string>
        set match {or | and}
        config word
           edit <name>
                set pattern-type {wildcard | regex}
                set status {enable | disable}
            next
        end
    next
end

Example configuration

In this example, two keywords, API and game, are created with the wildcard and regular expression types, respectively. The match operator is set to Any.

Configure the video filter keyword list in the GUI:
  1. Go to Security Profiles > Video Filter, select the Video Filter Keyword tab, and click Create new.

  2. Enter a name (test-keyword-match-or) and set Match operator to Any.

  3. In the Keywords table, click Create new.

  4. Configure the API keyword with the following settings:

    1. In the Pattern field, enter API.

    2. Set the Pattern type to Wildcard.

    3. Click OK.

  5. Click Create new.

  6. Configure the game keyword with the following settings:

    1. In the Pattern field, enter Game.

    2. Set the Pattern type to Regular Expression.

    3. Click OK.

  7. Click OK to save the keyword list.

Configure the video filter keyword list in the CLI:
config videofilter keyword
    edit 1
        set name "test-keyword-match-or"
        set match or
        config word
           edit "API"
                set pattern-type wildcard
                set status enable
            next
            edit "Game"
                set pattern-type regex
                set status enable
            next
        end
    next
end

Configuring a video filter keyword list

Configuring a video filter keyword list

Users have the ability to filter videos based on the video titles and descriptions by defining a video filter keyword. Multiple keywords can be defined using a wildcard or regular expression, and can be used with AND/OR logic options.

Note

Unicode emoji character code is currently not supported.

Configure the video filter keyword list in the GUI:
  1. Go to Security Profiles > Video Filter, select the Video Filter Keyword tab, and click Create new.

  2. Configure the following:

    Name

    Enter a name.

    Match operator

    Select the match operator.

    • Any: match any keyword (OR logic)
    • All: match all keywords (AND logic)
  3. Create the keywords:

    1. In the Keywords table, click Create new.

    2. Configure the following:

      Pattern

      Enter a regular expression or wildcard pattern string.

      Pattern type

      Select the pattern type.

      • Wildcard: suitable for basic search
      • Regular Expression: suitable for advanced search

      Status

      Set the status.

      • Enable: consider this keyword
      • Disable: ignore this keyword
    3. Click OK.

  4. Click OK to save the keyword list.

Configure the video filter keyword list in the CLI:
config videofilter keyword
    edit <id>
        set name <string>
        set match {or | and}
        config word
           edit <name>
                set pattern-type {wildcard | regex}
                set status {enable | disable}
            next
        end
    next
end

Example configuration

In this example, two keywords, API and game, are created with the wildcard and regular expression types, respectively. The match operator is set to Any.

Configure the video filter keyword list in the GUI:
  1. Go to Security Profiles > Video Filter, select the Video Filter Keyword tab, and click Create new.

  2. Enter a name (test-keyword-match-or) and set Match operator to Any.

  3. In the Keywords table, click Create new.

  4. Configure the API keyword with the following settings:

    1. In the Pattern field, enter API.

    2. Set the Pattern type to Wildcard.

    3. Click OK.

  5. Click Create new.

  6. Configure the game keyword with the following settings:

    1. In the Pattern field, enter Game.

    2. Set the Pattern type to Regular Expression.

    3. Click OK.

  7. Click OK to save the keyword list.

Configure the video filter keyword list in the CLI:
config videofilter keyword
    edit 1
        set name "test-keyword-match-or"
        set match or
        config word
           edit "API"
                set pattern-type wildcard
                set status enable
            next
            edit "Game"
                set pattern-type regex
                set status enable
            next
        end
    next
end