Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScaleOneFS CLI Command Reference

isi antivirus icap policies modify

Modifies an antivirus scan policy.

Syntax

isi antivirus icap policies modify <id> 
  [--name <new-name>]
  [--description <string>] 
  [--enabled {true | false}]
  [--schedule <schedule>]
  [--clear-schedule]
  [--impact <impact-policy>]
  [--clear-impact]
  [--force-run {true | false}]
  [--paths <path> 
  [--clear-paths]
  [--add-paths <path>]
  [--remove-paths <path>]
  [--recursion-depth <integer>]

Options

<id>
Modifies the policy with the specified policy identification number.
{--name | -n} <new-name>
Specifies a new name for this policy.
--description <string>
Specifies a description for the policy.
{--enabled | -e} {true | false}
Determines whether this policy is enabled or disabled. If set to true, the policy is enabled. The default value is false.
{--schedule | -s} <schedule>
Specifies when the policy is run.

Specify in the following format:

"<interval> [<frequency>]"

Specify <interval> in one of the following formats:

  • Every [{other | <integer>}] {weekday | day}
  • Every [{other | <integer>}] week [on <day>]
  • Every [{other | <integer>}] month [on the <integer>]
  • Every [<day>[, ...] [of every  [{other | <integer>}] week]]
  • The last {day | weekday | <day>} of every [{other | <integer>}] month
  • The <integer> {weekday | <day>} of every [{other | <integer>}] month
  • Yearly on <month> <integer>
    
  • Yearly on the {last | <integer>} [weekday | <day>] of <month>
    

Specify <frequency> in one of the following formats:

  • at <hh>[:<mm>] [{AM | PM}]
  • every [<integer>] {hours | minutes} [between <hh>[:<mm>] [{AM | PM}] and <hh>[:<mm>] [{AM | PM}]]
  • every [<integer>] {hours | minutes} [from <hh>[:<mm>] [{AM | PM}] to <hh>[:<mm>] [{AM | PM}]]

You can optionally append "st", "th", or "rd" to <integer>. For example, you can specify "Every 1st month"

Specify <day> as any day of the week or a three-letter abbreviation for the day. For example, both "Saturday" and "sat" are valid.

--clear-schedule
Deletes the current schedule for the policy.
{--impact | -i} <impact_policy>
Specifies an impact policy for the antivirus scan jobs. You can specify LOW, MEDIUM, HIGH, OFF_HOURS, or a custom impact policy that you created.
--clear-impact
Clears the current impact policy for antivirus scan jobs.
{--force-run | -r} {yes | no}
Determines whether to force policy scans. If a scan is forced, all files are scanned regardless of whether OneFS has marked files as having been scanned, or if global settings specify that certain files should not be scanned.
--paths <path>
Specifies directories to scan when the policy is run. To specify multiple paths, repeat the --path option. For example:
--paths /ifs/data/directory1 --paths /ifs/data/directory2
NOTE:If you specify this option, the specified paths will replace all previously specified paths in the list.
--clear-paths
Clears the list of paths to scan.
--add-paths <path>
Adds the specified path to the list of paths to scan.
--remove-paths <path>
Removes the specified path from the list of paths to scan.
{--verbose | -v}
Displays a message confirming that the antivirus policy was modified.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\