Compliance events are used in rollup queries to aggregate data in a single report.
Select Menu → Automation → Server Tasks , then click New Task.
On the Description page, type a name for the new task, then click Next.
From the Actions drop-down menu, select Run Query.
Click browse (...) next to the Query field and select a query. The Select a query from the list dialog box appears with the My Groups tab active.
Select the compliance-defining query. This could be a default query, such as Trellix Agent Compliance Summary in the Trellix Groupssection, or a user-created query, such as one described in Creating a query to define compliance.
From the Sub-Actions drop-down menu, select Generate Compliance Event and specify the percentage or number of target systems, then click Next.
Note
You can generate events using the generate compliance event task if noncompliance rises above a set percentage or set number of systems.
Schedule the task for the time interval needed for Compliance History reporting. For example, if compliance must be collected on a weekly basis, schedule the task to run weekly. Click Next.
Review the details, then click Save.