Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified images/tutorials/controls-coverage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/tutorials/controls-decision-detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/tutorials/controls-decisions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/tutorials/controls-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
442 changes: 333 additions & 109 deletions policy-reference/rego_policy.mdx

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tutorials/evaluate_trails_with_opa.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ RESULT: ALLOWED
The trail has zero high-severity vulnerabilities, so the policy allows it.

<Info>
The `input.trail` / `input.trails` distinction and the full input data shape are documented in the [Rego Policy reference](/policy-reference/rego_policy#input-data).
The `input.trail` / `input.trails` distinction and the full input data shape are documented in the [Rego Policy reference](/policy-reference/rego_policy#local-input-data).
</Info>

</Step>
Expand Down Expand Up @@ -397,7 +397,7 @@ Use the `--attestations` flag to limit which attestations are enriched with full

<Step title="Use in CI/CD">

The `kosli evaluate` commands exit with `0` on allow and `1` on deny or error -- making them straightforward to use as pipeline gates. See the [Rego Policy reference](/policy-reference/rego_policy#exit-codes) for details on distinguishing denial from command failure.
The `kosli evaluate` commands exit with `0` on allow and `1` on deny or error -- making them straightforward to use as pipeline gates. See the [Rego Policy reference](/policy-reference/rego_policy#local-exit-codes) for details on distinguishing denial from command failure.

```shell
# Example: gate a deployment on policy evaluation
Expand Down
386 changes: 253 additions & 133 deletions tutorials/working_with_controls.mdx

Large diffs are not rendered by default.

Loading