Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PrancerNew to Visual Studio Code? Get it now.
Prancer

Prancer

Prancer

|
91 installs
| (4) | Free
Prancer Static Code Analysis for Infrastructure as Code (IaC)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Prancer VSCode Extension

Prancer (https://www.prancer.io) VSCode extension helps DevOps engineers working on Infrastructure as Code (IaC) to have early feedback on their templates. This extension can find the security problems in your Infrastructure as Code (IaC) by doing static code analysis (SCA) on your IaC, and also remediate those problems for you! The extension is powered by more than 1000 security compliance policies (https://github.com/prancer-io/prancer-compliance-test/)

Features

By opening a new IaC file, or saving an existing file, the extension starts to make an API call to Prancer Backend servers to review the code and send back the result. These IaC formats are supported by Prancer Extension:

  • Azure:
    • ARM templates
    • Terraform
    • ASO
  • AWS
    • Cloud Formation
    • Terraform
    • ACK
  • GCP
    • Deployment files
    • Terraform
    • KCC
  • Kubernetes
    • Object files
    • Helm

Requirements

  • Signup for a free account at (https://account.prancer.io)
  • Login to your Prancer portal and generate an API access token
  • Enter the access token, company name, and other configurations items in the extension configuration page
  • Start using the extension!

Development Installation Steps:

  • git clone https://github.com/prancer-io/prancer-vscode-extension.git
  • Open visual studio code and open /prancer-vsccode-extension project
  • Save workspace as "workspace.prancer"
  • Press "F5" to start debugging. it should open Extension-Development-Host (a new Visual studio code window)
  • It should show information "Prancer-extension started"
  • On opening the "src/test/deploy.yaml" file, the prancer-extension will run "prancer --db NONE --file data/tempdata.yaml --iac cloudformation" and output the results in "Output" window (Select Prancer-Output on the pulldown) and u should see 2 issues with this file. To manually trigger the operation, edit the file and save it to run the extension.
  • Now edit the file by deleting the "VersionConfiguration" and "status: Enabled" lines for S3 configuration, and it should add this failure to the existing ones.

Extension Settings

Prancer-extension requires these settings:

  • "Company" name used in registration with Prancer Account.
  • API "token" generated from the Prancer portal.
  • The Prancer portal address for accessing the API. Ex: https://portal.prancer.io/
  • Terraform : If you want to review Terraform files individually or all in the current folder

Known Issues

  • The line number issues will be fixed in the subsequent releases.
  • Click on the first non-space character to list the known issues.
  • For long running templates timeout is returned.
  • Modules in Terraform are not supported.

For more information

  • Prancer Website
  • Prancer Documentation
  • Prancer Compliance database

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft