schedules¶
Scan schedules.
Toolset name:
schedulesEnabled by default: yes
Tools: 5 (2 read-only)
Tools¶
openvas_create_schedule¶
Create schedule · mutating
Create a scan schedule from an iCalendar definition. Not idempotent: repeating the call creates duplicates.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
no |
Optional comment |
|
string |
yes |
iCalendar (RFC 5545) definition, e.g. a VEVENT with RRULE |
|
string |
yes |
Schedule name |
|
string |
yes |
IANA timezone, e.g. “UTC” or “Europe/Istanbul” |
openvas_delete_schedule¶
Delete schedule · destructive
Delete a scan schedule (to the trashcan by default; ultimate deletes permanently). Fails with 409 if a task still uses it.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
Resource UUID |
|
boolean |
no |
Permanently delete instead of moving to the trashcan (default false) |
openvas_get_schedule¶
Get schedule · read-only
Get one schedule by UUID, including its iCalendar definition.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
Resource UUID |
openvas_list_schedules¶
List schedules · read-only
List scan schedules with their next run times.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
no |
GMP filter expression, e.g. |
|
string |
no |
UUID of a saved filter to apply |
|
integer |
no |
Page number, 1-indexed (default 1) (min 0) |
|
integer |
no |
Items per page, 1-1000 (default 25) (min 0) |
openvas_update_schedule¶
Update schedule · destructive
Update a scan schedule. Idempotent (PUT): omitted fields stay unchanged.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
no |
|
|
string |
no |
Replacement iCalendar (RFC 5545) definition |
|
string |
yes |
UUID of the schedule to update |
|
string |
no |
|
|
string |
no |
Replacement IANA timezone |