Skip to main content

Repository Structure

Compliance Engine stores definitions as files in Git. Use this layout to navigate a cloned repository.

Root Layout​

root.yaml identifies the repository root. Organization-specific directories are shown as placeholders.

root.yaml
ce/
ca/
unit-test/
{yourOrg}/
frameworks/
types/
types.json
schema/
tmp/
flags/
.ca/
.docusaurus/
.vscode/
PathPurpose
ce/caCloudaware policies
ce/unit-testEngine operation tests
ce/{yourOrg}Custom policies
frameworksFramework hierarchies and section.yaml descriptors
typesCMDB object definitions and reusable extracts
types/types.jsonOrganization type inventory, refreshed by type imports
schemaYAML validation schemas
tmpTemporary working files and exports
flagsGenerated lists identifying incomplete work or documentation
.caRepository configuration and authorization overrides
.docusaurusDocumentation site configuration
.vscodeEditor settings

Policy Directories​

Within ce, folder.yaml describes a grouping; policy.yaml identifies a policy. Policy directories can also contain:

  • description.md: Requirement details.
  • remediation.md: Resolution guidance.
  • prod.logic.yaml: Production implementation.
  • test-data.json: Test fixtures.

Supporting research and other files can accompany these definitions.

Paths and Identifiers​

Entity IDs use / for the repository root and forward slashes between components. A policy ID identifies its directory; a logic ID includes its filename. Folder IDs omit trailing slashes. Relative references commonly locate test fixtures.