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

Add /go/bin to PATH. #637

Merged
merged 1 commit into from
Apr 1, 2021
Merged

Add /go/bin to PATH. #637

merged 1 commit into from
Apr 1, 2021

Conversation

seancallaway
Copy link
Contributor

Resolves #577 by adding /go/bin to the container's PATH.

Local Test Output

docker run -it --entrypoint /bin/sh accurics/terrascan:6b94411 
/ $ echo $PATH
/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/ $ terrascan
Terrascan

Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.
For more information, please visit https://docs.accurics.com

Usage:
  terrascan [command]

Available Commands:
  help        Help about any command
  init        Initializes Terrascan and clones policies from the Terrascan GitHub repository.
  scan        Detect compliance and security violations across Infrastructure as Code.
  server      Run Terrascan as an API server
  version     Terrascan version

Flags:
  -c, --config-path string   config file path
  -h, --help                 help for terrascan
  -l, --log-level string     log level (debug, info, warn, error, panic, fatal) (default "info")
  -x, --log-type string      log output type (console, json) (default "console")
  -o, --output string        output type (human, json, yaml, xml, junit-xml) (default "human")

Use "terrascan [command] --help" for more information about a command.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov
Copy link

codecov bot commented Mar 31, 2021

Codecov Report

Merging #637 (6b94411) into master (538b9ed) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #637   +/-   ##
=======================================
  Coverage   78.09%   78.09%           
=======================================
  Files         104      104           
  Lines        2597     2597           
=======================================
  Hits         2028     2028           
  Misses        422      422           
  Partials      147      147           

@devang-gaur
Copy link
Contributor

fixes #577

@devang-gaur devang-gaur merged commit dfc0d08 into tenable:master Apr 1, 2021
@seancallaway seancallaway deleted the 577/docker-path branch April 1, 2021 15:50
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 this pull request may close these issues.

Add /go/bin to the PATH variable in Docker image
2 participants