Skip to content

Commit

Permalink
feat: explicitly write we support K8s only (IaC)
Browse files Browse the repository at this point in the history
  • Loading branch information
orkamara committed Aug 25, 2020
1 parent 87151b8 commit 8be11a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion help/iac.txt
Expand Up @@ -2,7 +2,7 @@ Usage:

$ snyk iac [command] [options] --file=<path>

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:

Expand Down
4 changes: 2 additions & 2 deletions src/lib/errors/invalid-iac-file.ts
Expand Up @@ -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',
) +
Expand All @@ -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',
) +
Expand Down

0 comments on commit 8be11a4

Please sign in to comment.