Import or Export Command Filter Lists
Use the following procedure to create and manage command filter lists using a CSV file.
capamnew
HID_ImportExportCommandFilters
Use the following procedure to create and manage command filter lists using a CSV file.
Follow these steps:
- Go toPolicies, Manage Policy Filters.TheCommand Filterspage appears.
- Select theImport/Exportbutton.The Import/Export command filters window appears.
- A sample file is available by selecting theDownload Sample Filebutton. Copy the sample file to a new file, and edit it for your use.
- All columns are required fields. See Set up Command Filter Lists (CFL) for detailed information about these fields.
- Type:Command Filter List
- List Name:This text populates theNamefield on the Command Filters list page.
- List Type:white or blackUse "white: for a Whitelist, which is a list of commands that a user may use. All other commands are prohibited.Use "black" for a Blacklist, which is a list of commands that a user may not use. All other commands are permitted.
- Keyword:Enter the command or command subset to be restricted. Multiple commands for the same list are designated by multiple CSV line items using the same List Name.
- Alert:t or f for true or falseIf true, immediately notify the monitoring administrator of any use of this command.
- Block:t or f for true or falseIf true, this command is canceled and prevented from executing.
- Regexp:t or f for true or falseIf true, the Keyword field is evaluated as a regular expression when matching a command. If there is a match, apply any Alert or Block specified.
- Use theChoose Filebutton to select the completed CSV file for import and selectImport Command Filtersto upload.The list is now effective, and available for inspection or editing on theCommand Filterslist page.
If you include a blacklist line in the CSV file with the same key fields (
Type
, List Name
, List Type
, and Keyword
) found in an earlier line, the latter line replaces the earlier line. The values that are applied for Alert
, Block
, and Regexp
are the last values read, or the values in the last key-matching line.Export Command Filters
Use the
Export Command Filters
button to export existing SFLs to a CSV file. These lists can be stored, modified, and imported or reimported later.