Local Code Scanning
Windows Setup for Local Code Scanning
Install and run the CybeDefend CLI on Windows for straightforward local code scanning.
If you’re on Windows, you can install the CybeDefend CLI as an .exe
file. Quickly run security scans from PowerShell, Command Prompt, or within CI runners like GitHub Actions (Windows-based).
Requirements
- Windows 10 or 11 (32-bit or 64-bit).
- API Key from your CybeDefend account.
- Optional: Integration with your CI pipeline.
Installation Steps
- Download
Grabcybedefend-windows-amd64.exe
(64-bit) orcybedefend-windows-386.exe
(32-bit) from Releases. - Rename (Optional)
Rename tocybedefend.exe
for easier usage. - Add to PATH
Place it in a folder included in your PATH, or just call it from its current location.
On Windows, some security tools may flag new executables. Ensure cybedefend.exe is unblocked in your antivirus or firewall settings.
Running a Scan
- Open PowerShell or CMD
Navigate to your project directory: - Initiate Scan
- View Results
If you see a SmartScreen prompt, confirm the binary’s source to proceed with the installation.
Using —ci can simplify output if you’re parsing logs in a Windows-based CI system.