diff --git a/help/iac.txt b/help/iac.txt index c59b493b3d7..b8aaf79dbce 100644 --- a/help/iac.txt +++ b/help/iac.txt @@ -2,7 +2,7 @@ Usage: $ snyk iac [command] [options] --file= -Find security issues in your Infrastructure as Code files. +Find security issues in your Infrastructure as Code files (currently we support Kubernetes files only). Commands: diff --git a/src/lib/errors/invalid-iac-file.ts b/src/lib/errors/invalid-iac-file.ts index 32f2104a3b6..52c2f02fcfc 100644 --- a/src/lib/errors/invalid-iac-file.ts +++ b/src/lib/errors/invalid-iac-file.ts @@ -6,7 +6,7 @@ export function NotSupportedIacFileError(atLocations: string[]) { const errorMsg = 'Not supported infrastructure as code target files in ' + locationsStr + - '.\nPlease see our documentation for supported target files: ' + + '.\nPlease see our documentation for supported target files (currently we support Kubernetes files only): ' + chalk.underline( 'https://support.snyk.io/hc/en-us/articles/360006368877-Scan-and-fix-security-issues-in-your-Kubernetes-configuration-files', ) + @@ -23,7 +23,7 @@ export function IllegalIacFileError(atLocations: string[]): CustomError { const errorMsg = 'Illegal infrastructure as code target file ' + locationsStr + - '.\nPlease see our documentation for supported target files: ' + + '.\nPlease see our documentation for supported target files (currently we support Kubernetes files only): ' + chalk.underline( 'https://support.snyk.io/hc/en-us/articles/360006368877-Scan-and-fix-security-issues-in-your-Kubernetes-configuration-files', ) +