Skip to main content

1E 9.x (on-premises)

Policy.ForceStatusReport

Method

ForceStatusReport

Module

Policy

Library

Core

Action

Force a report of policy rule status the next time the Agent restarts.

Parameters

None

Return values

Message (string): A message confirming whether the status report has been scheduled.

Example

Policy.ForceStatusReport();

Platforms

  • Windows

  • Linux

  • MacOS

Notes

This method sets an internal flag instructing the Agent to report a full set of policy rule compliance status messages - even if the compliance status has not changed - the next time they are evaluated following a restart. The policy is NOT evaluated or reported on immediately.