Security Workbench: code to production
Use the Workbench to review a repository as a project: see what changed, inspect issues in source context, apply quality gates and follow remediation over time. Code analysis brings security, reliability and maintainability into the same project history. Container, application and cloud scans complement that view.
Choose the right workspace
| Your objective | Where to start | Result |
|---|---|---|
| Review repository code and a pull or merge request | Code → Projects | Commit-specific analyses, persistent issues, measures and quality gates |
| Manage rules across repositories | Code → Rules & profiles | Versioned rules and quality profiles |
| Define acceptance criteria | Code → Quality gates | Conditions on overall code or new code |
| Scan a container image or an authorized application URL | Security scan targets | Tool executions, vulnerabilities and SBOMs |
| Investigate cloud or runtime exposure | Security Operations | Resource context, threats and response actions |
The Code workspace has Projects, Issues, Rules & profiles, Quality gates and Notifications. A project opens its own Overview, Issues, Security Hotspots, Measures, Dependencies, CI, Settings, Code, Tests and Activity views. CI contains webhooks, branch policies, publication and report imports; Settings contains repository configuration and analyzer selection.
Run your first repository analysis
- Connect GitHub or GitLab with access to the repository. For a private repository, use the appropriate connector credentials.
- Open Code → Projects → Create project. Set a stable project key, repository URL and default branch.
- Select the engines relevant to your stack. Configure a quality gate and language profiles; enable specialized engines only when their runtime and project prerequisites are ready.
- Select Run code analysis. Confirm the branch and analyzed commit before interpreting the result.
- In Overview, inspect each scanner's status and analyzed scope, then the quality gate. A failed or incomplete execution is not a clean scan.
- Use Issues and Code to inspect the rule, location and source context. Assign work, record a triage decision or link a ticket.
- Configure the repository and analyzers in Settings, then webhooks, automation, report imports and publication in CI once the baseline is established.
Read Code quality, branches and gates for the review workflow.
What is analyzed
| Area | Engines / input | Interpretation |
|---|---|---|
| Security patterns | OpenGrep | SAST rules; coverage depends on the selected rules and language |
| Secrets | Gitleaks | Credentials detected in the analyzed repository scope |
| Infrastructure as code | Checkov | Configuration findings in supported IaC files |
| Dependencies and images | Trivy | Known vulnerabilities and supported configuration checks |
| Component inventory | Syft | SBOM and dependency context |
| Complexity | Lizard | Source complexity measures |
| Duplication | jscpd | Duplication calculated automatically during managed scans |
| Python quality | Ruff | Curated native quality rules |
| JavaScript / TypeScript quality | ESLint | Curated syntactic rules; not TypeScript type checking or framework-template analysis |
| SQL quality | SQLFluff | Raw SQL with an explicit PostgreSQL, MySQL, T-SQL or Oracle dialect; no query execution or schema inference |
| Additional quality patterns | OpenGrep quality pack | Selected reliability and maintainability rules |
| Specialized compiled / typed analysis | PMD, Go vet, PHPStan, Clippy, Roslyn, Cppcheck | Explicit activation, offline dependencies and a validated isolated Linux runtime required |
| CI evidence | SARIF, coverage, duplication and test reports | Imported evidence retains its producer and scope; an import is not proof that all native engines ran |
Language support is a scope, not a blanket certification. Inspect the project's language coverage view and the native analyzer guide. The specialized integrations are implemented, but production runtime validation and representative repository validation remain prerequisites for activation. Argonix does not claim exhaustive SonarQube parity.
Review changes without losing history
An analysis records the reference, commit, engine executions and configuration used. The project distinguishes overall issues from new code so a pull request can be evaluated against a verified comparison base.
Issues have a persistent identity and separate occurrences. Triage, assignment, comments and ticket links remain attached to that identity. When Git proves an unambiguous file or unchanged-line move, the issue can retain its history. Ambiguous matches are not silently merged.
Security hotspots have a dedicated review queue: a pattern that requires human assessment is not automatically a confirmed vulnerability. Missing reports or failed engines must be investigated before treating a project as clean.
Connect the result to delivery
Quality gates evaluate explicit conditions and retain the evaluated configuration. Configure Git-provider publication separately; the connector needs permission to write commit statuses. Statuses and reviews refer to the analyzed commit, not whichever revision happens to be current later.
The project exposes publication state and failures. If a remote publication is uncertain, inspect and reconcile it before retrying. A successful analysis and a successfully published status are separate outcomes.
LCOV/Cobertura coverage and JUnit results enrich the project through CI → Import CI reports and are joined to the scan for the same SHA. jscpd provides duplication automatically for managed scans. SARIF producer identity matters: unrelated rules are not merged just because they point to the same line. Explicit supported native bindings have additional identity and completeness constraints.
Images, applications and vulnerability management
Repository quality analysis complements the existing scan-target workflow:
- Container images: image reference and OCI platform, registry credentials, Trivy CVEs and Syft SBOMs.
- Application URLs: authorized OWASP ZAP passive and active DAST. Authorization is tied to the exact origin and is revoked when the URL changes. Use a controlled environment and test accounts.
- Vulnerabilities: CVE/GHSA-level triage with affected components, fixed versions where available, EPSS and KEV context.
- SBOM inventories: component versions, document history and changes between inventories.
Risk acceptance is a recorded governance decision with a reason, author and optional expiry. A rescan should not erase that decision. Use Findings & risk decisions for the full lifecycle.
Link code to running workloads
The provenance view follows commit → build → image → runtime where evidence is available. Missing links are shown explicitly; a shared name alone does not prove that a running workload contains a particular commit. Pivot into the resource inventory to inspect the operational context.
Operate the scanner
Managed analyses use the dedicated scanner worker. Self-hosted installations must deploy a compatible scanner image, apply the required migrations and validate engine execution before enabling the relevant engines. Specialized analyzers reuse that worker; they require offline build context and a functioning isolation layer.
A tool being installed is insufficient: its real execution path must pass validation. See Native analyzer activation and Self-hosted installation.