Static application security testing inside Visual Studio 2022. The extension sends the solution, project or file you choose to your Offensive 360 server and shows the findings in the Error List and in its own Offensive 360 window, with a fix recommendation for each one.
- Visual Studio 2022 (17.0 or later): Community, Professional or Enterprise
- The address of your Offensive 360 server (on-premises or hosted)
- An access token, created in the O360 dashboard under Settings > Token
From the Marketplace: in Visual Studio open Extensions > Manage Extensions, search for Offensive 360, select Install and restart Visual Studio.
From a file: download Offensive360.VSExt.vsix from the releases page, close Visual Studio and double-click the file. On a computer where the file type is not registered, run install-vsix.cmd from this repository next to the file, or start VSIXInstaller.exe from your Visual Studio folder with the file as argument. Use cmd.exe or PowerShell for that, not Git Bash.
- Open Tools > Options.
- Select Offensive360 > General.
- Base URL: the address you open the O360 dashboard with, for example
https://sast.example.com. - Access Token: paste the token from the dashboard and select OK.
The address and the token are stored in your Visual Studio user profile. A server with a self-signed or internal certificate is accepted.
Open a solution (or a folder) and use the Build menu:
| Command | What is scanned |
|---|---|
| Offensive 360: Scan Solution | The folder of the solution |
| Offensive 360: Scan Project | The folder of the project selected in Solution Explorer |
| Offensive 360: Scan File | The project that contains the open file |
The same commands are in the context menus of Solution Explorer and of the code editor. The status bar shows the steps of the scan. Only one scan runs at a time.
Error List. Each finding is listed with its file and line. Double-click a row to open the code.
Right-click a finding for the Offensive 360 commands:
| Command | Result |
|---|---|
| Offensive 360: View Fix | Opens the details of the finding with the recommended fix and references |
| Offensive 360: Suppress | Hides the finding in later scans (after a confirmation) |
| Offensive 360: Clear All | Removes the findings of the last scan from the Error List |
Offensive 360 window. A tab next to the Error List with all findings, most severe first. Filter by severity with the check boxes, search by text, and select a row to see the description, the recommendation and the code, and to open the file on that line.
Suppressed findings are stored in .SASTO360\sastIgnore in the solution folder, with paths relative to that folder. The list applies to solution, project and file scans. Commit the file to share it with your team; edit it to bring a finding back.
Binary, media, package and generated files are left out of the upload. A solution whose compressed size exceeds 60 MB is uploaded in several parts and the findings are merged.
| Message | What to do |
|---|---|
| Your access token is invalid or expired (HTTP 401) | Create a new token in the dashboard under Settings > Token and enter it under Tools > Options > Offensive360 |
| Cannot connect to the server | Check the Base URL: it is the address you open the dashboard with. Check VPN and proxy |
| A scan is already in progress | Wait until the status bar shows that the running scan has finished |
| No solution or folder is open | Open a solution (.sln) or a folder first |
The log of the extension is at %LOCALAPPDATA%\Offensive360\o360_scan_log.txt.
- Issues: GitHub Issues
- Website: offensive360.com




