Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cfg *config.Config Log = newLogger() )
Functions ¶
func HandleAction ¶
func HandleAction(result config.CompliantCheckResult, isEventDrivenCheck bool) error
func SetActionTrigger ¶
func SetActionTrigger(cp config.CompliancePolicy)
ACTION_TRIGGER IMPLEMENTATION: overview ******************************************************************************* - Create a new ticker T based for each action_trigger AT definition provided in the configuration file. - Configure T using the cron-like definition provided in the configuration file - Every time the ticker T of AT fires, a function reads all the stored states files, - looking for non-compliant checks NCC that are associated with the same actions triggered by AT - append such NCC objects to a slice S_NCC - once scanned through all the non-compliant checks, then it runs all the NCC into S_NCC
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.