CLI IaC Scanning Tool Setup
Copy link

The command line interface (CLI) Infrastructure as Code (IaC) scanning tool, referred to as mimics, can be accessed using two methods: a downloadable executable locally or using Docker and a publicly-available repository/image.

For a high-level overview of IaC Security (including prerequisites to get started) check out the IaC Security Overview.

ℹ️

Alternative Scanning Method

If using a local executable or Docker are not possible in your organization, reach out to us using the Customer Support Portal  for alternative scanning methods.

Docker
Copy link

Using mimics via Docker is most likely preferable if you’re attempting to integrate with a CI/CD pipeline. It’s also more convenient, as setup is easy and you don’t have to worry about downloading a new version of the executable.

ℹ️

Not sure which version of Mimics to use?

Review Mimics Version History for version details.

Review CI/CD Tool Integrations for more information on integrating with these pipelines.

The only setup required: Download the appropriate version of Docker  for your environment.

Local Executable
Copy link

Using mimics via a local executable is most likely preferable if you’re a developer that will be testing your IaC setup ad-hoc. To setup the mimics executable locally:

  1. Download a Mimics version from the Mimics Version History page.
ℹ️

Rename Executable

When you download the executable, the file name will be suffixed with the version and architecture. We recommend renaming the executable to mimics (for Mac/Linux) or mimics.exe (for Windows) for ease of use. The examples below and on other pages utilize a simplified executable name.

  1. From a terminal, change directory to the location of the executable script file.
  2. Run the executable:
    1. For Mac or Linux Users:
      1. In the command line, run: chmod +x ./mimics.
      2. Run ./mimics. This displays the help menu.
    2. For Windows Users:
      1. In the command line, run: mimics.exe. This displays the help menu.