yubicolabs/Conftest Action
Easily run Conftest, pull remote policies, surface the results, and obtain test metrics
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Files and/or folders for Conftest to test (space delimited) | yes | — |
| policy | Where to find the policy folder or file | no | policy |
| data | Files or folder with supplemental test data | no | — |
| all-namespaces | Whether to use all namespaces in testing | no | true |
| combine | Whether to combine input files | no | — |
| pull-url | URL to pull policies from | no | — |
| pull-secret | Secret that allows the policies to be pulled | no | — |
| add-comment | Whether or not to add a comment to the PR | no | true |
| docs-url | URL where users can find out more about the policies | no | — |
| no-fail | Always returns an exit code of 0 (no error) | no | — |
| gh-token | Token that allows us to post a comment in the PR | no | — |
| gh-comment-url | URL of the comments for the PR | no | — |
| metrics-url | URL to POST the results to for metrics | no | — |
| metrics-source | Unique identifier for the source of the submission | no | — |
| metrics-details | Whether to include the full test results in the metrics | no | — |
| metrics-token | Bearer token for submitting metrics | no | — |
| policy-id-key | Name of the key in the details object that stores the policy ID | no | policyID |
Outputs
no outputs