From 1d6fcf58dd3a424bcbc2b559319cb8aaf95e33bf Mon Sep 17 00:00:00 2001 From: Frank Viernau Date: Mon, 23 Dec 2024 12:49:48 +0100 Subject: [PATCH] docs(website): Re-align the advisor configuration examples Add the missing `config` element introduced by 8a5fbbe. Signed-off-by: Frank Viernau --- website/docs/tools/advisor.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/website/docs/tools/advisor.md b/website/docs/tools/advisor.md index a5b41874c9e21..737e4c6b3fdc6 100644 --- a/website/docs/tools/advisor.md +++ b/website/docs/tools/advisor.md @@ -30,8 +30,9 @@ The configuration is optional and limited to overriding the server URL. ```yaml ort: advisor: - osv: - serverUrl: "https://api-staging.osv.dev" + config: + osv: + serverUrl: "https://api-staging.osv.dev" ``` To enable this provider, pass `-a OSV` on the command line. @@ -44,8 +45,9 @@ The configuration is limited to the server URL, as authentication is not require ```yaml ort: advisor: - vulnerableCode: - serverUrl: "http://localhost:8000" + config: + vulnerableCode: + serverUrl: "http://localhost:8000" ``` To enable this provider, pass `-a VulnerableCode` on the command line.