diff --git a/docs/docs/advanced/air-gap.md b/docs/docs/advanced/air-gap.md index 8793defbb5c5..3cb7eff65c9f 100644 --- a/docs/docs/advanced/air-gap.md +++ b/docs/docs/advanced/air-gap.md @@ -137,6 +137,6 @@ $ trivy conf --skip-policy-update /path/to/conf ``` [allowlist]: ../references/troubleshooting.md -[oras]: https://oras.land/cli/ +[oras]: https://oras.land/docs/installation [^1]: This is only required to scan `jar` files. More information about `Java index db` [here](../coverage/language/java.md) diff --git a/docs/docs/scanner/misconfiguration/custom/index.md b/docs/docs/scanner/misconfiguration/custom/index.md index b1c16219e8f8..8b08c5e41292 100644 --- a/docs/docs/scanner/misconfiguration/custom/index.md +++ b/docs/docs/scanner/misconfiguration/custom/index.md @@ -101,9 +101,8 @@ In this case, `user.*` will be evaluated. Any package prefixes such as `main` and `user` are allowed. ### Metadata -Metadata helps enrich Trivy's scan results with useful information. -The annotation format is described in the [OPA documentation](https://www.openpolicyagent.org/docs/latest/annotations/). +The check must contain a [Rego Metadata](https://www.openpolicyagent.org/docs/latest/policy-language/#metadata) section. Trivy uses standard rego metadata to define the new policy and general information about it. Trivy supports extra fields in the `custom` section as described below. diff --git a/docs/docs/scanner/misconfiguration/custom/schema.md b/docs/docs/scanner/misconfiguration/custom/schema.md index 8791d1a22752..17c4859cbfaf 100644 --- a/docs/docs/scanner/misconfiguration/custom/schema.md +++ b/docs/docs/scanner/misconfiguration/custom/schema.md @@ -89,4 +89,4 @@ To use such a policy with Trivy, use the `--config-policy` flag that points to t $ trivy --config-policy=/Users/user/my-custom-policies ``` -For more details on how to define schemas within Rego policies, please see the [OPA guide](https://www.openpolicyagent.org/docs/latest/schemas/#schema-annotations) that describes it in more detail. \ No newline at end of file +For more details on how to define schemas within Rego policies, please see the [OPA guide](https://www.openpolicyagent.org/docs/latest/policy-language/#schema-annotations) that describes it in more detail. \ No newline at end of file