Skip to main content

Reporting and compliance data

Plan compliance reporting using result, run, framework, and CMDB data while keeping coverage distinct from compliance posture.

Reporting Datasets and Record Grain​

Compliance reporting uses BigQuery datasets in your organization's Google Cloud export project. This documentation calls them ce for compliance data and sobjects for CMDB inventory; actual dataset names can differ. Confirm project details, export availability, and query permissions before starting. See Get started.

Choose the level of detail that matches your question:

DataReporting Level
PolicyOutputIndividual resource outcomes within policy evaluations
PolicyOutputRelatedListsRelated-object outcomes within parent policy logic
PolicyRunPolicy executions and summary counts
PolicyRunJobUnderlying BigQuery job diagnostics and processing volumes
Sections, SectionPoliciesFramework hierarchy and policy associations

Use the Compliance Engine dataset schema as the field and join reference rather than treating all these records as interchangeable reporting rows.

Main Relationships and Joins​

Connect resource outcomes to their execution context, then add configuration or framework context as needed. Follow the composite result-to-run keys documented in the dataset schema.

For resource configuration, select the appropriate sobjects type table using the resource type API name. Table names match CMDB object API names, such as CA10__CaAwsInstance__c. Match the result's object.id to the resource table's Id, retaining the resource type when combining results across types.

The CMDB export also provides SObjectEntities for a unified representation across types, MasterEntities for parent objects such as accounts or projects, and Metadata for schema discovery. Inspect their schemas before constructing joins.

Keep each aggregation at its intended level: adding multiple jobs, related objects, or framework mappings can duplicate resource rows and inflate counts.

Framework Coverage and Compliance Posture​

Coverage describes which policies map to framework requirements. Compliance posture describes resource outcomes from evaluations. Report these separately: a mapped policy is not proof that a control passed, and an unmapped control is not a compliant resource result.

Use Review framework coverage to investigate mappings. Define the resources, policies, statuses, and time period included before presenting a posture summary.

Current and Historical Reporting​

For a current snapshot, explicitly select the relevant evaluation for each policy. For trends, retain the evaluation time so repeated outcomes remain separate observations. Joining a historical result to inventory requires attention to time: do not assume the configuration you retrieve represents the snapshot evaluated by that run.

The compliance dataset lists these reporting views:

  • CeFindings
  • CeFindingsTrend
  • FrameworksWithMappedCePolicies

Check the exported view definitions for their columns, filters, and row selection before using them. Confirm refresh behavior and available history with your Technical Account Manager (TAM); a view name alone does not establish freshness or retention.

Choose a Reporting Query​

Start with a specific question and a limited date range. Preserve the policy, resource, and evaluation identifiers needed to trace report rows back to their evidence.