This topic tells you how to use the Tanzu Insight CLI tanzu insight source get
command to get sources by repository, commit or organization.
Get sources by repository, commit or organization
tanzu insight source get --repo <repository-name> --commit <commit-hash> --org <organization-name> [flags]
insight source get --org company --repo example-repo --commit b33dfee51
insight source get --org company --repo example-repo --commit b33dfee51 --output-format api-json
insight source get --org company --repo example-repo --commit b33dfee51 --output-format cyclonedx-xml
-c, --commit string commit hash
-h, --help help for get
-o, --org string organization that owns the source
--output-format string specify the response's SBOM report format and file type format, options=[text, api-json, cyclonedx-xml, spdx-json] (default: text)
-r, --repo string repository name