Skip to content

2. Getting started

Miguel Henriques edited this page Jun 1, 2023 · 3 revisions

Installation

To install run:

python3 -m pip install -e .

Since the parser for Chef uses Ruby and its Ripper package, you will need to install them in your machine if you want to get results for Chef scripts.

Even if you do not use GLITCH to analyze Puppet scripts, you should also install the package puppetparser.

Usage

You can use the help command to see all the possible options in GLITCH's command-line tool:

python3 -m glitch --help

One example of usage to analyze a file or folder would be:

python3 -m glitch --tech (chef|puppet|ansible|terraform|docker) --csv --config PATH_TO_CONFIG PATH_TO_FILE_OR_FOLDER
Clone this wiki locally