Steampunk Spotter Visual Studio Code extensionSteampunk Spotter is the shift-left governance platform and AI guardrail for Ansible Playbooks and Terraform configurations. It enforces policy, compliance, security and version checks deterministically, so only code that meets your organization’s standards reaches production, whether an engineer or an AI tool wrote it. The Steampunk Spotter VS Code extension brings these checks into your editor. Scan Ansible content such as playbooks, roles, collections and task files, as well as Terraform configurations, as you write, and fix issues automatically before you commit. InstallationYou can install the extension from Visual Studio Marketplace or Open VSX Registry. The extension requires a Steampunk Spotter user account and the Steampunk Spotter CLI installed in the console that you use with VS Code. You can adjust the path to the Steampunk Spotter CLI in the extension settings. When you first activate the extension action, you will be prompted to log in with your Steampunk Spotter account. UsageThe extension currently supports the following actions:
ScanningRight-click and choose "Steampunk Spotter: Initiate a new scan."
A list of identified errors, warnings, and hints is provided with links to the module documentation.
Automatic fixingThe rewrite function can automatically fix many errors. Right-click and choose "Steampunk Spotter: Rewrite files with fixes". This will update the document to apply Spotter's suggestions, fixing multiple errors.
Scanning a directory structureRight-click on a directory in the Explorer part of the side bar and choose "Steampunk Spotter: Initiate a new scan."
Automatic scanning on file saveTo enable automatic scanning of the edited files on each save, visit the extension's settings and enable the "On Did Save Text Document" event.
DevelopmentUse the commands below to develop and publish the VSC extension.
Next stepsPlease refer to the Steampunk Spotter Documentation for a more comprehensive usage. AcknowledgementThis tool was created by XLAB Steampunk, IT automation specialist and leading expert in building Enterprise Ansible Collections. |




