From f258fd5a2aa3a29072fd92f2d890aca53bc31a94 Mon Sep 17 00:00:00 2001 From: Nikita Pivkin Date: Wed, 29 Jan 2025 17:13:03 +0600 Subject: [PATCH] docs: replace short codes with Unicode emojis (#8296) Signed-off-by: nikpivkin --- .../scanner/misconfiguration/custom/index.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/docs/scanner/misconfiguration/custom/index.md b/docs/docs/scanner/misconfiguration/custom/index.md index d45638f1533d..c0dc382dec14 100644 --- a/docs/docs/scanner/misconfiguration/custom/index.md +++ b/docs/docs/scanner/misconfiguration/custom/index.md @@ -121,17 +121,17 @@ Trivy supports extra fields in the `custom` section as described below. If you are creating checks for your Trivy misconfiguration scans, some fields are optional as referenced in the table below. The `schemas` field should be used to enable policy validation using a built-in schema. It is recommended to use this to ensure your checks are correct and do not reference incorrect properties/values. -| Field name | Allowed values | Default value | In table | In JSON | -|----------------------------|-------------------------------------------------------------------|:----------------------------:|:----------------:|:----------------:| -| title | Any characters | N/A | :material-check: | :material-check: | -| description | Any characters | | :material-close: | :material-check: | -| schemas.input | `schema["kubernetes"]`, `schema["dockerfile"]`, `schema["cloud"]` | (applied to all input types) | :material-close: | :material-close: | -| custom.id | Any characters | N/A | :material-check: | :material-check: | -| custom.severity | `LOW`, `MEDIUM`, `HIGH`, `CRITICAL` | UNKNOWN | :material-check: | :material-check: | -| custom.recommended_actions | Any characters | | :material-close: | :material-check: | -| custom.deprecated | `true`, `false` | `false` | :material-close: | :material-check: | -| custom.input.selector.type | Any item(s) in [this list][source-types] | | :material-close: | :material-check: | -| url | Any characters | | :material-close: | :material-check: | +| Field name | Allowed values | Default value | In table | In JSON | +|----------------------------|-------------------------------------------------------------------|:----------------------------:|:--------:|:-------:| +| title | Any characters | N/A | ✅ | ✅ | +| description | Any characters | | - | ✅ | +| schemas.input | `schema["kubernetes"]`, `schema["dockerfile"]`, `schema["cloud"]` | (applied to all input types) | - | - | +| custom.id | Any characters | N/A | ✅ | ✅ | +| custom.severity | `LOW`, `MEDIUM`, `HIGH`, `CRITICAL` | UNKNOWN | ✅ | ✅ | +| custom.recommended_actions | Any characters | | - | ✅ | +| custom.deprecated | `true`, `false` | `false` | - | ✅ | +| custom.input.selector.type | Any item(s) in [this list][source-types] | | - | ✅ | +| url | Any characters | | - | ✅ | #### custom.avd_id and custom.id