{"id":22325522,"url":"https://github.com/jamf/kyverno-test-util","last_synced_at":"2025-10-20T03:24:31.314Z","repository":{"id":155352807,"uuid":"631937779","full_name":"jamf/kyverno-test-util","owner":"jamf","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-16T20:46:52.000Z","size":4,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T05:44:37.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-24T11:29:38.000Z","updated_at":"2024-06-17T11:49:50.000Z","dependencies_parsed_at":"2023-07-05T00:56:26.434Z","dependency_job_id":null,"html_url":"https://github.com/jamf/kyverno-test-util","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamf/kyverno-test-util","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2Fkyverno-test-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2Fkyverno-test-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2Fkyverno-test-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2Fkyverno-test-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamf","download_url":"https://codeload.github.com/jamf/kyverno-test-util/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2Fkyverno-test-util/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266807195,"owners_count":23987427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T02:12:24.493Z","updated_at":"2025-10-20T03:24:31.257Z","avatar_url":"https://github.com/jamf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kyverno Test Util\n\nA repository for python script that's meant to prepare test file for kyverno cli.  \n\n## The problem\n\n[Kyverno CLI](https://kyverno.io/docs/kyverno-cli/#test) delivers `test` command which allows users to perform policy validations against k8s resources.  \nWhat it lacks is an ability to validate all resources from folder A against policies defined in folder B.  \n\n## The solution\n\nThis script allows users to simply run\n\n```bash\npython kyverno-test-util.py \u003cabsolute_path_to_folder_with_k8s_resource_manifests\u003e \u003cabsolute_path_to_file_with_policies\u003e\n```\n\nAbove command will produce `kyverno-test.yaml` file, which can then be used as an input to `kyverno test` command:\n\n```bash\nkyverno test ./kyverno-test.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamf%2Fkyverno-test-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamf%2Fkyverno-test-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamf%2Fkyverno-test-util/lists"}