Skip to main content

Access the policy repository

Identify the policy repository used by your organization and prepare the Git access needed to work with its definitions.

Before You Begin​

Decide whether you need to read policy definitions or work with repository files. Start with the Policy catalog to look up definitions by provider and service. Cloning is useful when you want a local copy for inspection, development, or tests; it is not required to query evaluation results in BigQuery.

For a local copy, install Git and identify the repository your organization uses. Git credentials, repo-manager authorization profiles, and BigQuery permissions are separate forms of access.

Choose the Repository Access Path​

RepositoryPurposeWhere to Arrange Access
Default Cloudaware repositoryCloudaware maintains the public policy repository used by default for the Compliance Engine service.Confirm with your Technical Account Manager (TAM) whether your organization uses the default repository or a private one.
Cloudaware-managed private repositoryStores custom policies in a repository created and managed by Cloudaware.Ask your TAM to arrange the repository and confirm its URL and your access.
Customer-managed private repositoryYour organization creates and maintains the repository.Obtain the URL and user access from your repository administrator; coordinate the Cloudaware connection with your TAM.

To create a new private repository rather than access an existing one, see Set up a private policy repository.

Obtain the Git URL and Access​

Before cloning, obtain the repository's clone URL and confirm the HTTPS or SSH authentication method with its administrator. For a private repository, have the administrator grant your Git account access and complete any invitation or authentication steps required by the host. Confirm the branch used by your organization before making changes.

Cloudaware Service-Account Access​

Your personal Git access allows you to browse or clone the repository. Cloudaware also needs access to a private repository connected to the service.

For GitHub repositories, grant access to the Cloudaware Compliance Engine service account. Confirm the required permission level with your TAM and repository administrator. Coordinate any additional Cloudaware staff access through your TAM.

The repository must be reachable by Cloudaware over the internet; this does not mean making its contents public. For other Git hosts, including repositories hosted on premises, ask your TAM for connection instructions.

Clone and Verify the Repository​

After confirming the URL and access method:

  1. Open a terminal in the directory where you want to keep the local copy.

  2. Replace REPOSITORY_URL with the confirmed clone URL and run:

    git clone REPOSITORY_URL compliance-policies
    cd compliance-policies
  3. Verify the remote and current branch:

    git remote -v
    git branch --show-current

    Check that the remote matches the intended repository. If you need a different branch, confirm its name with the repository administrator before switching.

  4. Locate root.yaml, which marks the policy repository root, and inspect the ce directory. Cloudaware-authored policies are stored under ce/ca, organized into provider and service folders. A policy directory contains policy.yaml and may include description.md, remediation.md, production logic, and tests.

If cloning fails, check the URL and your Git authentication with the repository administrator. A successful clone confirms your Git access; it does not confirm that Cloudaware is connected to the repository or that its policies have run.

Continue with setting up a development environment to work on policy logic, or finding your first policy result to review evaluation data.