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

terrascan scan command doesn't work with TERRASCAN_CONFIG env variable #570

Closed
patilpankaj212 opened this issue Feb 26, 2021 · 0 comments · Fixed by #576
Closed

terrascan scan command doesn't work with TERRASCAN_CONFIG env variable #570

patilpankaj212 opened this issue Feb 26, 2021 · 0 comments · Fixed by #576
Assignees

Comments

@patilpankaj212
Copy link
Contributor

  • terrascan version: v1.3.3
  • Operating System: MacOS 10.15.7

Description

terrascan scan command doesn't produce desired results when config file is specified using TERRASCAN_CONFIG env variable

What I Did

TERRASCAN_CONFIG=pathToConfigFile terrascan scan -d pathToIacDir

The config file had scan and skip rules, which were not honoured when scan results were displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants