Command Line Interface
Gremlin Command line interface allows the user to perform commands directly from the host. The impact of the attack will be localized to that host.
Commands
Attacks
The <span class="code-class-custom">attack</span> command starts a localized Gremlin experiment. Please visit experiments for all experiments and parameters.
Attack-container
The <span class="code-class-custom">attack-container</span> command starts an experiment against a locally-hosted Docker container. Please visit experiments for all experiments and parameters.
In order to run <span class="code-class-custom">attack-container</span>, the container must reside on the host and must be specified.
Check
The <span class="code-class-custom">check</span> command inspects the state of your Gremlin installation. The currently-supported set of checks is: <span class="code-class-custom">api</span>, <span class="code-class-custom">auth</span>, <span class="code-class-custom">docker</span>, <span class="code-class-custom">env</span>, <span class="code-class-custom">files</span>, <span class="code-class-custom">os</span>, <span class="code-class-custom">proxy</span>, <span class="code-class-custom">tags</span>, <span class="code-class-custom">version</span>.
You may run an individual check by passing it as an argument to the <span class="code-class-custom">check</span> command. For example, <span class="code-class-custom">gremlin check proxy</span>. If you leave this off (<span class="code-class-custom">gremlin check</span>), then all checks will be run.
This output is not sent to Gremlin, but it may be helpful to contact Gremlin Support to triage an installation issue.
Help
The <span class="code-class-custom">help</span> command list all of the available commands and displays help.
Init
The init commands sets up the agent configuration. A prompt will appear to request a <span class="code-class-custom">Team ID</span> and <span class="code-class-custom">Team Secret</span>.
Please see the table below for optional parameters.
Logout
The <span class="code-class-custom">logout</span> command removes this Gremlin Agent from the Gremlin Control Plane.
Rollback
The <span class="code-class-custom">rollback</span> command interrupts an active experiment. It can also revert the last impact.
Rollback-container
The <span class="code-class-custom">rollback-container</span> command interrupts an active experiment against a local Docker container.
Status
The <span class="code-class-custom">status</span> command will display the status of any experiments.
To display a specific attack use <span class="code-class-custom">-u</span> followed by the <span class="code-class-custom">GUID</span>.
Version
The <span class="code-class-custom">version</span> command will state the installed version of Gremlin.