diff --git a/cmd/kosli/root.go b/cmd/kosli/root.go index e18c2b3e2..4ab7db2ac 100644 --- a/cmd/kosli/root.go +++ b/cmd/kosli/root.go @@ -208,7 +208,7 @@ The ^.kosli_ignore^ will be treated as part of the artifact like any other file, attestationOriginUrlFlag = "[optional] The url pointing to where the attestation came from or is related. (defaulted to the CI url in some CIs: https://docs.kosli.com/ci-defaults )." attestationNameFlag = "The name of the attestation as declared in the flow or trail yaml template." attestationCompliantFlag = "[defaulted] Whether the attestation is compliant or not. A boolean flag https://docs.kosli.com/faq/#boolean-flags" - attestationRepoRootFlag = "[defaulted] The directory where the source git repository is available. Only used if --commit is used." + attestationRepoRootFlag = "[defaulted] The directory where the source git repository is available. Only used if --commit is used or defaulted in CI (https://docs.kosli.com/ci-defaults)." attestationCustomTypeNameFlag = "The name of the custom attestation type." attestationCustomDataFileFlag = "The filepath of a json file containing the custom attestation data." uploadJunitResultsFlag = "[defaulted] Whether to upload the provided Junit results directory as an attachment to Kosli or not." diff --git a/cmd/kosli/testdata/output/docs/snyk.md b/cmd/kosli/testdata/output/docs/snyk.md index a4c1d6634..f2a721b23 100644 --- a/cmd/kosli/testdata/output/docs/snyk.md +++ b/cmd/kosli/testdata/output/docs/snyk.md @@ -53,7 +53,7 @@ snyk [IMAGE-NAME | FILE-PATH | DIR-PATH] [flags] | --redact-commit-info strings | [optional] The list of commit info to be redacted before sending to Kosli. Allowed values are one or more of [author, message, branch]. | | --registry-password string | [conditional] The container registry password or access token. Only required if you want to read container image SHA256 digest from a remote container registry. | | --registry-username string | [conditional] The container registry username. Only required if you want to read container image SHA256 digest from a remote container registry. | -| --repo-root string | [defaulted] The directory where the source git repository is available. Only used if --commit is used. (default ".") | +| --repo-root string | [defaulted] The directory where the source git repository is available. Only used if --commit is used or defaulted in CI (https://docs.kosli.com/ci-defaults). (default ".") | | -R, --scan-results string | The path to Snyk scan SARIF results file from 'snyk test' and 'snyk container test'. By default, the Snyk results will be uploaded to Kosli's evidence vault. | | -T, --trail string | The Kosli trail name. | | --upload-results | [defaulted] Whether to upload the provided Snyk results file as an attachment to Kosli or not. (default true) |