Skip to content

appvia/policy-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Policy Checker

This is a tool that can be used both locally and in CI to determine if your repository is compliant with your Organisation's Policy as Code.

Policy location and versions are determined by:

  • Terraform: Scans policy_checker.json file in your repository looking for 3 keys:
    {
        "source": "https://github.com/appvia/policy",
        "version": "1.0.1",
        "config": "infra/generic/config.yaml"
    }
  • Kubernetes: Not yet implemented

Usage

The following env vars can be set (defaulted to false) depending on the checks you wish to run:

  • RUN_CHECKOV_POLICIES: true
  • RUN_KYVERNO_POLICIES: true
$ docker run --rm -v ${PWD}:/workdir -e RUN_CHECKOV_POLICIES=true ghcr.io/appvia/policy-checker

Examples

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages