Description
If the scan cache contains a bucket for a git repository, Trivy doesn't show the RepoMetadata field:
➜ trivy repo -f json -o repo.test --cache-dir .cache --scanners=secret -q https://github.com/test/repo/
➜ jq '.Metadata.RepoURL' repo.test
"https://github.com/test/repo/"
➜ trivy repo -f json -o repo.test --cache-dir .cache --scanners=secret -q https://github.com/test/repo/
➜ jq '.Metadata.RepoURL' repo.test
null
Description
If the scan cache contains a bucket for a git repository, Trivy doesn't show the
RepoMetadatafield: