Infrastructure Layer

Templates


Gremlin allows you to create Templates so that you can easily rerun attacks while avoiding typos or having to memorize the value for each parameter. Templates also enhance your ability to collaborate with peers, allowing others to run attacks based on templates, rather than having to explicitly share every single parameter in order to rerun the same attack that was previously run.

Types of Templates

A Gremlin attack consists of targets, a Gremlin, and an execution template.

The target template is used to select hosts or containers to attack.

The Gremlin template is used to define the specific impact type, across the three categories of attacks, and their parameters.

The execution template is used to set the number of times to execute the attack, within a specific time frame on specific days.

Saving Templates

On the create attack page,

  1. Complete the template section (Target, Gremlin, Execution), using valid inputs.
  2. Click the three dots in the upper right hand corner of the box to expose a dropdown menu.
  3. From the dropdown menu, select "Save as Template".

Importing Templates

On the create attack page,

  1. Click the three dots in the upper right hand corner of the box to expose a dropdown menu.
  2. From the dropdown menu, select "Import".
  3. From the pop-up that appears, select the template to import.
  4. Click Import.

Deleting a Template

On the create attack page,

  1. Click the three dots in the upper right hand corner of the box to expose a dropdown menu.
  2. From the dropdown menu, select "Import".
  3. From the pop-up that appears, select the template to delete.
  4. Instead of clicking Import, click Delete.
  5. Confirm to finish deleting the template.