You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ c2pcli ocm -h
C2P CLI Kyverno plugin
Usage:
c2pcli kyverno [command]
Available Commands:
oscal2policy Compose deliverable Kyverno policies from OSCAL
result2oscal Generate OSCAL Assessment Results from Kyverno policies and the policy reports
tools Tools
Flags:
-h, --help help for kyverno
Use "c2pcli kyverno [command] --help" for more information about a command.
$ head -n 15 /tmp/compliance-report.md
## Catalog
## Component: Kubernetes
#### Result of control: cm-8.3_smt.a
Rule ID: allowed-base-images
<details><summary>Details</summary>
- Subject UUID: 0b1adf1c-f6e2-46af-889e-39255e669655
- Title: ApiVersion: v1, Kind: Pod, Namespace: argocd, Name: argocd-application-controller-0
- Result: fail
- Reason:
```
validation failure: This container image's base is not in the approved list or is not specified. Only pre-approved base images may be used. Please contact the platform team for assistance.
```
You can check result.json about what resources are downloaded.
$ cat /tmp/policies/result.json
There are some policies that depend on context. Please add the context resources manually. result.json contains list of the policies that have context field