docs(server): fix info about scanning licenses on the client side. (#9805)

Co-authored-by: Teppei Fukuda <knqyf263@gmail.com>
This commit is contained in:
DmitriyLewen
2025-11-18 15:50:53 +06:00
committed by GitHub
parent 31218f6129
commit f64e0daf25
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ Some scanners run on the client side, even in client/server mode.
| License | Server |
!!! note
Scanning of misconfigurations and licenses is performed on the client side (as in standalone mode).
Scanning of misconfigurations and secrets is performed on the client side (as in standalone mode).
Otherwise, the client would need to send files to the server that may contain sensitive information.
## Server

View File

@@ -468,7 +468,7 @@ func checkOptions(ctx context.Context, opts flag.Options, targetKind TargetKind)
if opts.ServerAddr != "" && opts.Scanners.AnyEnabled(types.MisconfigScanner, types.SecretScanner) {
log.WarnContext(ctx,
fmt.Sprintf(
"Trivy runs in client/server mode, but misconfiguration and license scanning will be done on the client side, see %s",
"Trivy runs in client/server mode, but misconfiguration and secret scanning will be done on the client side, see %s",
doc.URL("/docs/references/modes/client-server", ""),
),
)