Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

wvs schedule

Use this command to schedule a web vulnerability scan.

Vulnerability scanning can detect known vulnerabilities on your web servers and web applications, helping you to design protection profiles. Vulnerability scans start from an initial directory, then scan for vulnerabilities in web pages located in the same directory or subdirectory as the initial URL.

To use this command, your administrator account’s access control profile must have either w or rw permission to the wvsgrp area. For details, see Permissions.

Syntax

config wvs schedule

edit "<schedule_name>"

set type {recurring | onetime}

set date "<time_str>" "<date_str>"

set time "<time_str>"

set wday {Sunday Monday Tuesday Wednesday Thursday Friday Saturday}

next

end

Variable Description Default

"<schedule_name>"

Enter the name of new or existing WVS schedule. The maximum length is 63 characters.

To display the list of existing schedule, enter:

edit ?

No default.

type {recurring | onetime}

Select either:

onetime

date "<time_str>" "<date_str>"

For a one-time web vulnerability scan, enter the time and date for the scan to run.

The time format is hh:mm and the date format is yyyy/mm/dd, where:

  • hh is the hour according to a 24-hour clock
  • mm is the minute
  • yyyy is the year
  • mm is the month
  • dd is the day

The yyyy range is 2001–2050.

This only applies if type {recurring | onetime} is onetime.

No default.

time "<time_str>"

Enter the time the vulnerability scan is to be performed.

The time format is hh:mm, where:

  • hh is the hour according to a 24-hour clock
  • mm is the minute

This only applies if type {recurring | onetime} is recurring.

No default.

wday {Sunday Monday Tuesday Wednesday Thursday Friday Saturday}

For a recurring scan only, enter one or more days of the week the scan is to be performed.

This setting only applies if type {recurring | onetime} is recurring.

No default.

Example

The following example schedules a recurring vulnerability scan to run every Sunday and Thursday at 1:00 AM.

config wvs schedule

edit "WVS-schedule1"

set type recurring

set time 01:00

set wday Sunday Thursday

next

end

Related topics

wvs schedule

Use this command to schedule a web vulnerability scan.

Vulnerability scanning can detect known vulnerabilities on your web servers and web applications, helping you to design protection profiles. Vulnerability scans start from an initial directory, then scan for vulnerabilities in web pages located in the same directory or subdirectory as the initial URL.

To use this command, your administrator account’s access control profile must have either w or rw permission to the wvsgrp area. For details, see Permissions.

Syntax

config wvs schedule

edit "<schedule_name>"

set type {recurring | onetime}

set date "<time_str>" "<date_str>"

set time "<time_str>"

set wday {Sunday Monday Tuesday Wednesday Thursday Friday Saturday}

next

end

Variable Description Default

"<schedule_name>"

Enter the name of new or existing WVS schedule. The maximum length is 63 characters.

To display the list of existing schedule, enter:

edit ?

No default.

type {recurring | onetime}

Select either:

onetime

date "<time_str>" "<date_str>"

For a one-time web vulnerability scan, enter the time and date for the scan to run.

The time format is hh:mm and the date format is yyyy/mm/dd, where:

  • hh is the hour according to a 24-hour clock
  • mm is the minute
  • yyyy is the year
  • mm is the month
  • dd is the day

The yyyy range is 2001–2050.

This only applies if type {recurring | onetime} is onetime.

No default.

time "<time_str>"

Enter the time the vulnerability scan is to be performed.

The time format is hh:mm, where:

  • hh is the hour according to a 24-hour clock
  • mm is the minute

This only applies if type {recurring | onetime} is recurring.

No default.

wday {Sunday Monday Tuesday Wednesday Thursday Friday Saturday}

For a recurring scan only, enter one or more days of the week the scan is to be performed.

This setting only applies if type {recurring | onetime} is recurring.

No default.

Example

The following example schedules a recurring vulnerability scan to run every Sunday and Thursday at 1:00 AM.

config wvs schedule

edit "WVS-schedule1"

set type recurring

set time 01:00

set wday Sunday Thursday

next

end

Related topics