aquasecurity / fanal

Static Analysis Library for Containers
Apache License 2.0
199 stars 100 forks source link

feat(secret): truncate matched line if it is long #494

Closed knqyf263 closed 2 years ago

knqyf263 commented 2 years ago

Description

It shows the entire line if it includes any secret, but it may be too long in some cases.

Issue

https://github.com/aquasecurity/trivy/issues/2049#issuecomment-1109542569