Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: explicitly write we support K8s only (IaC) #1364

Merged
merged 1 commit into from
Aug 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion help/iac.txt
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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