SRUUpdateSchedule

Description

An object that represents a scheduled intrusion rules update. (Note: The field level constraints listed here might not cover all the constraints on the field. Additional constraints might exist.)

Supported Operations

Model Properties

Property Required Type Description
version False string A unique string version assigned by the system when the object is created or modified. No assumption can be made on the format or content of this identifier. The identifier must be provided whenever attempting to modify/delete an existing object. As the version will change every time the object is modified, the value provided in this identifier must match exactly what is present in the system or the request will be rejected.
scheduleType False string A mandatory enum value that specifies the type of job schedule. Only allowed values are:

SINGLE - the job will be posted at the given date and time;

DAILY - the job will be posted daily at the given time;

WEEKLY - the job will be posted weekly at the given day of the week and given time;

MONTHLY - the job will be posted monthly at the given day of the month and given time. Note that the job will be posted -according to the system rules- if the day of the month exceeds the number of days in the current month.

Note that the job will be posted in the queue at the given time (or immediately), but the actual execution can be delayed if other jobs were scheduled for execution at the same time or are being currently processed. After a system restart, scheduled job will be reposted. if the system is restarted before a scheduled job is executed, the job will not be recovered if the given date/time is in the past.

user False string The name of the user who requested the Rule Update.
Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist)
forceOperation False boolean For Internal use.
jobHistoryUuid False string For Internal use.
Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist)
runTimes False string A mandatory UTF8 string containing a cron specification (following the Java(tm)/Spring(tm) conventions).

The string must contain six space-separated fields representing the seconds, minutes, hours, dayOfTheMonth, month, dayOfTheWeek, year (time is in UTC). Depending on the scheduleType some values are not allowed. For the SINGLE schedule type the following constraints apply:seconds = 0; minutes: 0-59, hours: 0-23, dayOfTheMonth:1-31, month: 1-12, dayOfTheWeek: ?, year: 2017-2099. If the date/time is in the past (with respect to the time when the request is processed), the job is not scheduled.
For the DAILY schedule type the following constraints apply: seconds = 0; minutes: 0-59, hours: 0-23, dayOfTheMonth: , month: , dayOfTheWeek: , year: .
For the WEEKLY schedule type the following constraints apply: seconds = 0; minutes: 0-59, hours: 0-23, dayOfTheMonth:
, month: , dayOfTheWeek: 1-7, year: .
For the MONTHLY schedule type the following constraints apply: seconds = 0; minutes: 0-59, hours: 0-23, dayOfTheMonth: 1-31, month:
, dayOfTheWeek: ?, year: .

Examples:
'0 0 12 ? ' - schedule at 12:00 PM (noon) every day.

'0 15 10 15 ? ' - schedule at 10:15 AM on the 15th day of every month.
'0 59 23 31 1 ? 2018' schedule at 11:59 PM on Jan/31 2018.
Field level constraints: length must be between 0 and 200 (inclusive), must match pattern ^((?!;).)
$. (Note: Additional constraints might exist)

name False string A user provided identifier associated with a scheduled activity.
Field level constraints: length must be between 0 and 32 (inclusive), must match pattern ^[a-zA-Z0-9][a-zA-Z0-9_+-]*$. (Note: Additional constraints might exist)
description False string A string describing this object.
Field level constraints: length must be between 0 and 200 (inclusive). (Note: Additional constraints might exist)
deployAfterUpdate False boolean A Boolean value, TRUE or FALSE (the default). The TRUE value indicates that the Rule Update will be deployed after it is completed.
jobName False string See derived class.
id False string A unique string identifier assigned by the system when the object is created. No assumption can be made on the format or content of this identifier. The identifier must be provided whenever attempting to modify/delete (or reference) an existing object.
Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist)
type True string A UTF8 string, all letters lower-case, that represents the class-type. This corresponds to the class name.