Skip to main content

Compliance Engine v2

Cloudaware Compliance Engine v2 evaluates resource configuration data from Cloudaware CMDB against compliance requirements and best practices. It combines policies and executable logic stored in Git with resource-level evaluation results in BigQuery, helping teams identify violations, investigate evidence, and track compliance over time.

info
  • Audience: Security and compliance teams, cloud and platform teams, auditors, and risk owners
  • Outcome: Traceable policy results, resource configuration context, and evaluation history to support remediation decisions and compliance reporting
note

The Compliance Engine v2 repository is in alpha state. Changes are submitted without notification.

Why Upgrade to Compliance Engine v2​

Compliance Engine v2 brings policy development and compliance analysis into a workflow built around Git and BigQuery. Consider upgrading when your team needs to:

  • Review and maintain policies in Git. Keep requirements, executable logic, tests, and remediation guidance together, with version history for policy changes.
  • Develop custom checks. Define declarative policy logic for CMDB resource types and validate it with test data before production use.
  • Investigate results with SQL. Query resource outcomes and execution history, and join findings with CMDB configuration data for reporting and analysis.
  • Connect checks to compliance requirements. Use framework mappings to understand which policies relate to a control, then inspect evaluation results to assess resource compliance.

This workflow helps teams explain how a result was produced, prioritize configuration issues, and build reports from recorded evaluation data. See Custom policy development and Reporting and compliance data for the corresponding workflows.

Policy Repository and Executable Logic​

Compliance Engine v2 stores policy definitions, documentation, and evaluation logic as files in a Git repository. A policy describes a requirement; its logic defines how to evaluate that requirement against resources. A repository entry can document a requirement even when executable logic is unavailable.

CMDB Inventory and Resource Snapshots​

Cloudaware CMDB supplies the resource configuration data used for evaluation. Policies evaluate resource snapshots, so interpret a result in the context of the inventory data evaluated for that run.

In BigQuery, the sobjects dataset contains a replica of the CMDB, with resources represented as Salesforce SObjects. The ce dataset contains compliance results, execution history, and framework mappings. Joining these datasets lets you investigate a finding alongside the resource's configuration. These are canonical dataset names; the actual names can vary by organization. See CMDB and compliance datasets.

Policy Runs and Resource Results​

The evaluation flow connects a requirement to its outcomes:

  1. The repository defines the policy and its production logic.
  2. The logic evaluates the relevant CMDB resource data.
  3. A policy run records the execution and summarizes resource outcomes.
  4. Resource results record the status and messages for individual resources.

In the ce dataset, PolicyRun records policy executions and summary counts. PolicyOutput stores resource results, including compliance statuses, status change dates, and messages. PolicyOutputRelatedLists holds results for related objects evaluated within a parent resource's logic. See the run-to-result data model.

Use Compliance results to review runs and resource evidence, including the relationship between runs and the underlying BigQuery jobs.

Git and BigQuery Access​

Git and BigQuery provide the main access points for this workflow. Use the policy repository to inspect requirements, documentation, and executable logic. Cloudaware maintains the default public repository; the repository model also supports private repositories for custom policies. See Access the policy repository for guidance and the repository overview for the underlying model.

Use BigQuery to query inventory and compliance data in your organization's export project. See Reporting and compliance data for reporting guidance and the dataset overview for the data sources.

Explore the Compliance Engine v2 Documentation​

Use these guides together as the Cloudaware Compliance Engine v2 documentation set.

note

This documentation is intended for power users who want to develop and implement compliance policies. To enable and use Compliance Engine v2 without developing policies, contact Cloudaware Support support@cloudaware.com or your Technical Account Manager (TAM).

Start Here​

  1. Get started. Prepare access, review key terms, and choose a starting task.

  2. Understand policies. Review policy definitions, executable logic, and evaluation behavior.

  3. Review compliance frameworks. Explore how policies map to framework sections and controls.

Review Results and Report​

Develop Custom Policies​

Find Reference Information​

  • Reference: Look up schemas, statuses, policy and framework catalogs, and policy development reference material.
  • FAQ: Find answers about access, policies, evaluations, reporting, and upgrade planning.