Skip to content

Commit

Permalink
docs(website): Re-align the advisor configuration examples
Browse files Browse the repository at this point in the history
Add the missing `config` element introduced by 8a5fbbe.

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Dec 23, 2024
1 parent 11fbb12 commit 1d6fcf5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions website/docs/tools/advisor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.

0 comments on commit 1d6fcf5

Please sign in to comment.