Skip to main content

%SYS.Task.SecurityScan

Class %SYS.Task.SecurityScan Extends %SYS.Task.Definition [ System = 4 ]

This class is a pre-defined system task which runs a security scan every day at midnight. The scan consists of the following items:

  1. Disable expired user accounts
  2. Expire user passwords
  3. Expire CSP session tokens

Parameters

TaskName

Parameter TaskName = "SecurityScan";

Methods

OnTask

Method OnTask() As %Status

This method is responsible for executing the task.
At the scheduled time, the Task Manager creates an instance of this object, sets any property values using the stored "settings" for the task, and then invokes this method to execute the task.