Init Cloud IaC Scanner support static code scan, visualization and report.
- CSP : AWS, NCP are supported.
- IaC : Terraform is supported.
- CSP :
OpenStack
will be supported soon. - IaC :
Ansible
will be supported.
- Install docker & docker-compose on your environment.
install docker
install docker-compose - Cloning Init Cloud Scanner
git clone https://github.com/init-cloud/initcloud-scanner.git
cd ./initcloud-scanner
- Set your Environment Variables.
touch .env
# .env
TZ= #YOUR TIMEZONE
# Dashboard
BOARD_PORT=5555 # YOUR BOARD PORT
REACT_APP_BASE_URL= # YOUR PUBLIC IP OR DOMAIN e.g) http://100.100.100.100
REACT_APP_LOCAL_BASE_URL=http://localhost:9090 # PORT IS YOUR SCANNER PORT
# Scanner
SCANNER_PORT=9090 # YOUR SCANNER PORT
JWT_SECRET= # YOUR RANDOM VALUE LONGER THAN 32
# Parser
PARSER_PORT=9001 # YOUR PARSER PORT
# DB
MARIADB_DATABASE=initcloud
MARIADB_USER=__YOUR_DATABASE_USER__
MARIADB_PASSWORD=__YOUR_DATABASE_PASSWORD__
MARIADB_ROOT=__YOUR_DATABASE_ROOT__
MARIADB_ROOT_PASSWORD=__YOUR_DATABASE_ROOT_PASSWORD__
DB_PORT=9002 #__YOUR_DATABASE_PORT__
- Run with Docker-compose
# pwd : ./backend-scanner
docker compose up
# or
docker compose up -d