mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-05 20:40:16 -08:00
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:
@@ -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
|
||||
|
||||
@@ -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", ""),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user