> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/code-scanning/local-code-scanning.md).

# Local Code Scanning

Local code scanning lets you analyze your source code directly on your own machines without sending any code to Aikido. It is useful when you want to test changes during development, work in isolated environments, or keep sensitive repositories fully local.

{% hint style="success" %}
For most workflows we still recommend using the [standard Aikido integrations](/code-scanning/connect-your-source-code.md) as they give faster results and better coverage.
{% endhint %}

Before you start, make sure you have an Aikido account/workspace that supports local scanning. Follow [Account Creation for Local Scanning](/code-scanning/local-code-scanning/account-creation-for-local-scanning-on-aikido.md).

If you are looking to scan container images instead, check the [container image scanning docs](/container-image-scanning/local-image-scanning.md).

## General

{% content-ref url="/pages/6ZucbtCSDvqhamPeYorn" %}
[Account Creation for Local Scanning](/code-scanning/local-code-scanning/account-creation-for-local-scanning-on-aikido.md)
{% endcontent-ref %}

{% content-ref url="/pages/Q7gbRPGo5zxMmdoKkhpi" %}
[PR Gating for Code Using Local Scanner](/code-scanning/local-code-scanning/pr-gating-for-code-using-local-scanner.md)
{% endcontent-ref %}

{% content-ref url="/pages/Y1E6ao3TQNX3te38T05f" %}
[Release Gating for Code Using Local Scanner](/code-scanning/local-code-scanning/release-gating-for-code-using-local-scanner.md)
{% endcontent-ref %}

{% content-ref url="/pages/D4aMamglev0TiWJlZGg1" %}
[Performing Nightly Scans Using Local Scanner](/code-scanning/local-code-scanning/performing-nightly-scans-using-the-aikido-local-scanner.md)
{% endcontent-ref %}

{% content-ref url="/pages/piPazj14v4hv6rlEkEj5" %}
[CLI Options for local code scanning](/code-scanning/local-code-scanning/cli-options-for-local-scanner.md)
{% endcontent-ref %}

## CI/CD Integrations

{% content-ref url="/pages/znh8GA1Ar2UmUYbVetNM" %}
[Azure DevOps Server Setup for Local Code Scanning](/code-scanning/local-code-scanning/azure-devops-server-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/T9qGxM9g6IKVEvxmEvKw" %}
[Bitbucket Pipeline Setup for Local Code Scanning](/code-scanning/local-code-scanning/bitbucket-pipeline-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/D7bpG3XFiDFO02iT35kZ" %}
[Bamboo Setup for Local Code Scanning](/code-scanning/local-code-scanning/bamboo-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/W1cviArixDMKXbnqhK6z" %}
[CircleCI Setup for Local Code Scanning](/code-scanning/local-code-scanning/circleci-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/8MWCvQG0EjFFNkKlb3Me" %}
[GitHub Action Setup for Local On-Prem Code Scanning](/code-scanning/local-code-scanning/github-action-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/EqagFMj4kj0VdgPvAKBD" %}
[GitLab Self Managed Setup for Local Code Scanning](/code-scanning/local-code-scanning/gitlab-self-managed-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/1eaQgKcnAKxl2cUk6qCi" %}
[Jenkins Setup for Local Code Scanning](/code-scanning/local-code-scanning/jenkins-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/J45TXEi2sXmCnZnPDIZK" %}
[TeamCity Pipeline Setup for Local Code Scanning](/code-scanning/local-code-scanning/teamcity-pipeline-setup-for-local-code-scanning.md)
{% endcontent-ref %}

## Operating Systems

{% content-ref url="/pages/7a8zGcSew8qeXpRVQbp0" %}
[Linux Setup for Local Code Scanning](/code-scanning/local-code-scanning/linux-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/BKdOfXLtepb3XoAk7kgl" %}
[Mac Setup for Local Code Scanning](/code-scanning/local-code-scanning/mac-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/O97BgtB50aG311FWeOg8" %}
[Windows Setup for Local Code Scanning](/code-scanning/local-code-scanning/windows-setup-for-local-code-scanning.md)
{% endcontent-ref %}

## Other

{% content-ref url="/pages/YO6xWolItD9CBM3Z5aLd" %}
[Local Scanning in Existing SCM-Integrated Workspaces](/code-scanning/local-code-scanning/local-scanning-in-existing-scm-integrated-workspaces.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.aikido.dev/code-scanning/local-code-scanning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
