Add a Bitbucket repository to Semgrep Managed Scans
Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through Managed Scans.
Prerequisites and permissions
Semgrep Managed Scans require one of the following plans:
Bitbucket Cloud Premium
Bitbucket Data Center (v8.8 or above for diff-aware scans)
Bitbucket Cloud
You must provide a Bitbucket workspace access token to Semgrep, which can be created by a user with the Product Admin role. Once you have Semgrep Managed Scans fully configured, you can update the token provided to Semgrep to one that’s more restrictive. The scopes you must assign to the token include:
Webhooks: Read and write
Repositories: Write
Pull requests: Write
Projects: Admin
Account: Read
Webhook permissions are required to support diff-aware scans.
Bitbucket Data Center
You must provide a Bitbucket HTTP access token to Semgrep. The user who creates the token must be assigned the Project Admin role for the project you connect to Semgrep.
Create an HTTP access token
1
Log in to Bitbucket Data Center as a user with the Project Admin role for the project you want to scan.
2
Go to Profile picture > Manage account > HTTP access tokens.
3
Click Create token.
4
Set the token name, permissions, and expiry. Under Permissions, select Project admin for the project Semgrep will access.
Project-level webhooks are required to support diff-aware scans.
Enable Semgrep Managed Scans and scan your first repository
1
In Semgrep AppSec Platform, click Projects.
2
Click Scan new project > Semgrep Managed Scan.
3
Click Manage Connections and then + Connect more.
4
Select Bitbucket.
5
In the Set up Managed Scans page that appears, provide the information needed by Semgrep to connect to your Bitbucket project:
i. Select Bitbucket or Bitbucket Data Center.
ii. Provide your Access token.
iii. Provide the name of your Bitbucket workspace.
iv. For Bitbucket Data Center users only: provide the Bitbucket Data Center URL.
v. Click Connect.
6
Repeat the steps above for each additional Bitbucket workspace you’d like added to Semgrep.
You have successfully set up Managed Scans for your workspace or project.
After enabling Managed Scans, Semgrep performs a full scan in batches on all the repositories in the workspace.
Once a repository has been added to Semgrep AppSec Platform, it becomes a project. A project in Semgrep AppSec Platform includes all the findings, history, and scan metadata of that repository.
Projects with a Managed Scan configuration are tagged with managed-scan, regardless of whether the project is actively being scanned by Semgrep Managed Scans or not. The Projects list also contains pending scans and scans that never started.
Add additional Bitbucket projects
You can enable Managed Scans for additional repositories after onboarding using the following steps:
1
In Semgrep AppSec Platform, click Projects.
2
Click Scan new project > Semgrep Managed Scan.
3
In the Enable Managed Scans for repos page, select the repositories you want to add to Semgrep Managed Scans.
i. Optional: If you do not see the repository you want to add, click Can’t find your project? and follow the troubleshooting steps provided.
4
Select the repositories you want to scan from the list.
5
Click Enable Managed Scans. The Enable Managed Scans dialog appears. By default, Semgrep runs both full and diff-aware scans.
6
Optional: Disable PR or MR diff-aware scans by turning off the Enable PR/MR scans toggle.
Delete the bitbucket-pipelines.yml file in your Bitbucket repository if appropriate.
If you plan to continue running some scans in Bitbucket CI/CD Pipelines (for example, using Managed Scans to run weekly full scans but Bitbucket CI/CD Pipelines for diff-aware scans) you can leave the workflow file in place, and edit it to reflect your desired configuration.
TIPSemgrep preserves your findings, scans, and triage history.
Scan management and configuration
Manually run a full scan
1
In Semgrep AppSec Platform, click Projects.
2
Search for your repository’s name.
3
Click the gear icon to access the settings page for that repository.
4
Click Run a new scan > Rule-based detection.
You can manually run a full scan for both primary and non-primary branches.
Re-run a failed scan or a scan that never finished
1
In Semgrep AppSec Platform, click Projects.
2
Click on the project name.
3
Find the scan that failed or never finished using the Status column, and click Details to open the Scan logs dialog.
4
Ensure that you’re on the Overview tab of the Scan logs dialog, then click Retry.
Disable diff-aware scans on PRs
1
In Semgrep AppSec Platform, click Projects.
2
Search for your repository’s name.
3
Click the window icon under Details to access the settings page for that repository.
4
Click the toggle for diff-aware scans.
Delete a project
1
In Semgrep AppSec Platform, click Projects.
2
Search for your repository’s name.
3
Click the window icon under Details to access the settings page for that repository.
4
Click the dropdown at the header and click Delete project.
Switch to the Not scanning tab of the Projects page.
3
Select the checkbox to Show archived projects.
4
Search for the archived repository’s name.
5
Click the window icon under Details to access the settings page for that repository.
6
Click the dropdown at the header and click Delete project.
Configure fail open to prevent diff-aware scans from blocking pull requests and merge requests
By default, diff-aware managed scans are set to fail open if a scan errors out or takes too long. This means that diff-aware scans are marked as successful on the pull request (PR) or merge request (MR), even if they have not completed after the specified timeout. This lets you make the Semgrep status check required in your source code manager (SCM) without blocking someone from merging a PR or MR if the check encounters an unexpected issue or takes too long.
Sample pull request showing the status of a diff-aware scan.
How fail open works
1
If enabled, the fail open feature is triggered whenever you open a PR or MR.
2
Initially, Semgrep sends an update to mark the PR or MR as pending.
3
Once the diff-aware scan begins, the PR or MR is updated to a status of running.
4
The diff-aware scan completes, and the PR or MR is updated to a status of succeeded or failed.
5
If the diff-aware scan is in pending or running status longer than the configured timeout, then the fail open process updates the PR or MR to display a status of succeeded. This prevents the Semgrep scan from blocking the developer from merging their changes.
If Semgrep marks a PR or MR as succeeded, you can merge the PR or MR without waiting for the diff-aware scan to complete. However, if the PR or MR is still open and the scan completes after the fail open timeout is reached, Semgrep can still report the findings and mark the status as failed.
Configure fail open
By default, fail open is enabled. However, you can disable this feature and adjust the timeout value:
Click the Fail open toggle to turn off this feature.
4
Set the Timeout value in minutes. The default value is 10 minutes, the minimum value is 1 minute, and the maximum value is 60 minutes.
Semgrep AppSec Platform settings page with fail open configuration options.
Disable webhooks
Performing diff-aware Managed Scans of Bitbucket projects requires webhooks to be enabled. Webhooks are enabled by default when you add Bitbucket as a source code manager when setting up Semgrep Managed Scans. You can disable webhooks at any time by following these steps:
Find your Bitbucket connection, and click the toggle to disable Incoming webhooks.
This will stop any diff-aware scans of your projects.
Revoke Semgrep’s access to your repositories
The following steps revoke the code access you previously granted Semgrep for all repositories you selected.
1
In Semgrep AppSec Platform, click Settings > Source Code Managers.
2
On the entry of the SCM you want to remove, click Remove app.
3
Click Remove to confirm.
Turn off Managed Scans for specific repositories in Semgrep AppSec Platform
1
Sign in to Semgrep AppSec Platform.
2
Go to Projects and find the project you no longer want scanned with Semgrep Managed Scanning. Click the project’s Details page > Settings tab.
3
Toggle the switch for Managed diff scans to turn off scans of new pull requests and merge requests and Managed full scans to turn off full scans of the base branch.
Appendices
Scan logs
To view your scan logs in Semgrep AppSec Platform, go to Projects, then click on the project name. The projects in the list are sorted by scan date, with the most recent scans listed first.
INFOIt can take a few minutes for your latest scan logs to appear. However, if the logs do not update 15 minutes after the scan, there may be issues with the scan itself.
Scan statistics
Scan statistics, such as how many of your repositories are being scanned, the scan success rate, and so on, can be provided once a week upon request. Contact your Semgrep account manager to request scan statistics.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Semgrep","colors":{"primary":"#008456","light":"#008456","dark":"#54D8B7"},"logo":{"light":"https://mintcdn.com/semgrep-ee9d73d8/6O2eWotSEeX-M9yU/logo/light.svg?fit=max\u0026auto=format\u0026n=6O2eWotSEeX-M9yU\u0026q=85\u0026s=b53db72fbb1f3942a5595610873e9cc6","dark":"https://mintcdn.com/semgrep-ee9d73d8/6O2eWotSEeX-M9yU/logo/dark.svg?fit=max\u0026auto=format\u0026n=6O2eWotSEeX-M9yU\u0026q=85\u0026s=2c839aeee7634559bcfcaab9f54df40d","href":"https://semgrep.dev"},"favicon":"https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/favicon.svg?fit=max\u0026auto=format\u0026n=yMsI1pCt6oL_Pkb9\u0026q=85\u0026s=61bb3fbb609f4fb63384c3321dee46d3","background":{"decoration":"gradient","color":{"light":"#f8f9f9","dark":"#131a2c"}},"navbar":{"links":[{"href":"https://semgrep.dev/orgs/-","label":"Login"}],"primary":{"type":"button","label":"Book demo","href":"https://semgrep.dev/contact/demo/"}},"footer":{"socials":{"x":"https://x.com/semgrep","github":"https://github.com/semgrep/semgrep","linkedin":"https://www.linkedin.com/company/semgrep"}},"integrations":{"gtm":{"tagId":"GTM-NNHHMTCL"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Registry","icon":"database","href":"https://semgrep.dev/explore/"},{"anchor":"Playground","icon":"codepen","href":"https://semgrep.dev/playground/new"},{"anchor":"Academy","icon":"graduation-cap","href":"https://academy.semgrep.dev"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"semgrep-ee9d73d8","hasAudioNarration":false,"actualSubdomain":"semgrep-ee9d73d8","customDomains":["docs.semgrep.dev"],"gitSource":{"type":"github","owner":"semgrep","repo":"semgrep-docs","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false,"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0782eeae6faf96d9a03e6d","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API","count":246},{"language":"default","tag":"Endpoints","count":236},{"language":"default","tag":"v2 (Experimental)","count":216},{"language":"default","tag":"Knowledge base","count":196},{"language":"default","tag":"Scan \u0026 secure","count":169},{"language":"default","tag":"Help","count":165},{"language":"default","tag":"Set up and deploy scans","count":66},{"language":"default","tag":"Scan and triage","count":47},{"language":"default","tag":"Core deployment","count":42},{"language":"default","tag":"Learning guides","count":40}],"searchSettings":{"maxResults":10,"isFiltersEnabled":true,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"h1{font-weight:400!important}.dark .accordion{background-color:#131c2d!important}.dark [data-component-part=\"accordion-button\"]{background-color:#131c2d!important}.dark [data-component-part=\"accordion-button\"]:hover{background-color:#1f2d44!important}.api-changelog-table th:first-child,.api-changelog-table td:first-child{min-width:0!important;width:1%;white-space:nowrap}.api-changelog-table td:last-child a,.api-changelog-table td:last-child>span{display:inline-block;margin-bottom:0.3rem}.api-changelog-table td:last-child a:last-child{margin-bottom:0}[data-component-part=\"tooltip-content\"]{max-width:min(28rem, calc(100vw - 2rem));overflow-wrap:anywhere;white-space:pre-line}.scm-support-matrix table{width:auto!important;min-width:0!important}.scm-support-matrix th:first-child,.scm-support-matrix td:first-child{vertical-align:bottom;width:12rem;min-width:10rem!important}.scm-support-matrix td:first-child{vertical-align:middle}.scm-support-matrix th:not(:first-child){position:relative;height:10rem;min-width:2.75rem;padding:0!important;white-space:nowrap}.scm-support-matrix th:not(:first-child)>span{position:absolute;bottom:0.6rem;left:50%;transform-origin:left bottom;transform:rotate(-45deg)}.scm-support-matrix td:not(:first-child){min-width:0!important;white-space:nowrap}.scm-legend-entry{white-space:nowrap}.scm-support-matrix a{border-bottom:none!important;text-decoration:none!important}#recommended-gitlab-version{scroll-margin-top:8rem}.home-card-row{display:grid;grid-template-columns:minmax(0, 1fr);gap:1rem}@media (min-width: 768px){.home-card-row{grid-template-columns:repeat(3, minmax(0, 1fr))}}.home-card-row>a,.home-card-row>div{height:100%;margin:0!important}.home-stage{display:flex;flex-direction:column;gap:0.5rem}.home-stage>:last-child{flex:1;margin:0!important}.home-stage-label{margin:0;font-size:0.8rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:#24434f}.dark .home-stage-label{color:#ffffff}.home-link-list ul{list-style:disc;padding-left:1.25rem;margin:0}.home-link-list li{margin:0.25rem 0}.home-link-list li::marker{color:#8a9ba3}.home-link-list a,.home-text-link{color:#24434f;font-weight:500;text-decoration:underline;text-decoration-color:rgba(36, 67, 79, 0.3);text-underline-offset:3px}.home-link-list a:hover,.home-text-link:hover{color:#008456;text-decoration-color:currentColor}.dark .home-link-list a,.dark .home-text-link{color:#ffffff;text-decoration-color:rgba(255, 255, 255, 0.35)}.dark .home-link-list a:hover,.dark .home-text-link:hover{color:#54d8b7}.home-stats{display:grid;grid-template-columns:minmax(0, 1fr);gap:1.5rem}@media (min-width: 768px){.home-stats{grid-template-columns:repeat(3, minmax(0, 1fr))}}.home-stats>div{display:flex;flex-direction:column;gap:0.25rem}.home-stat-number{margin:0;font-size:2rem;font-weight:700;line-height:1.2;color:#24434f}.home-stat-text{margin:0;color:#24434f}.dark .home-stat-number,.dark .home-stat-text{color:#ffffff}@media (min-width: 768px){.home-link-list-columns ul{column-count:3;column-gap:1.5rem}}.home-link-list-columns li{break-inside:avoid}"}]}
{"page":{"pagePath":"deployment/managed-scanning/bitbucket","slug":"/deployment/managed-scanning/bitbucket","pageMetadata":{"title":"Add a Bitbucket repository to Semgrep Managed Scans","sidebarTitle":"Bitbucket","description":"Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through **Managed Scans**.","href":"/deployment/managed-scanning/bitbucket"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through \", _jsx(_components.strong, {\n children: \"Managed Scans\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,Icon,Note,OptimizedImage,Step,Steps,Tip}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Icon)_missingMdxReference(`Icon`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`prerequisites-and-permissions`,children:`Prerequisites and permissions`}),`\n`,_jsx(_components.p,{children:`Semgrep Managed Scans require one of the following plans:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Bitbucket Cloud Premium`}),`\n`,_jsx(_components.li,{children:`Bitbucket Data Center (v8.8 or above for diff-aware scans)`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`bitbucket-cloud`,children:`Bitbucket Cloud`}),`\n`,_jsxs(_components.p,{children:[`You must provide a Bitbucket `,_jsx(_components.a,{href:`https://support.atlassian.com/bitbucket-cloud/docs/create-a-workspace-access-token/`,children:`workspace access token`}),` to Semgrep, which can be created by a user with the `,_jsx(_components.code,{children:`Product Admin`}),` role. Once you have Semgrep Managed Scans fully configured, you can update the token provided to Semgrep to one that’s more restrictive. The scopes you must assign to the token include:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Webhooks: Read and write`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Repositories: Write`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Pull requests: Write`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Projects: Admin`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Account: Read`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Webhook permissions are required to support diff-aware scans.`}),`\n`,_jsx(Heading,{level:`3`,id:`bitbucket-data-center`,children:`Bitbucket Data Center`}),`\n`,_jsxs(_components.p,{children:[`You must provide a Bitbucket `,_jsx(_components.a,{href:`https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html`,children:`HTTP access token`}),` to Semgrep. The user who creates the token must be assigned the `,_jsx(_components.strong,{children:`Project Admin`}),` role for the project you connect to Semgrep.`]}),`\n`,_jsx(Heading,{level:`4`,id:`create-an-http-access-token`,children:`Create an HTTP access token`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`Log in to Bitbucket Data Center as a user with the `,_jsx(_components.strong,{children:`Project Admin`}),` role for the project you want to scan.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Profile picture > Manage account > HTTP access tokens`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create token`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Set the token name, permissions, and expiry. Under `,_jsx(_components.strong,{children:`Permissions`}),`, select `,_jsx(_components.strong,{children:`Project admin`}),` for the project Semgrep will access.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Copy the token value and provide it when you `,_jsx(_components.a,{href:`/deployment/connect-scm#connect-to-on-premise-orgs-and-projects`,children:`connect Bitbucket Data Center to Semgrep`}),` or enable Managed Scans.`]})})]}),`\n`,_jsx(_components.p,{children:`Project-level webhooks are required to support diff-aware scans.`}),`\n`,_jsx(Heading,{level:`2`,id:`enable-semgrep-managed-scans-and-scan-your-first-repository`,children:`Enable Semgrep Managed Scans and scan your first repository`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`folder-open`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Projects`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Scan new project > Semgrep Managed Scan`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Manage Connections`}),` and then `,_jsx(_components.strong,{children:`+ Connect more`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Bitbucket`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Set up Managed Scans`}),` page that appears, provide the information needed by Semgrep to connect to your Bitbucket project:`,_jsx(`br`,{}),_jsx(`br`,{}),`\ni. Select `,_jsx(_components.strong,{children:`Bitbucket`}),` or `,_jsx(_components.strong,{children:`Bitbucket Data Center`}),`.`,_jsx(`br`,{}),_jsx(`br`,{}),`\nii. Provide your `,_jsx(_components.strong,{children:`Access token`}),`.`,_jsx(`br`,{}),_jsx(`br`,{}),`\niii. Provide the name of your `,_jsx(_components.strong,{children:`Bitbucket workspace`}),`.`,_jsx(`br`,{}),_jsx(`br`,{}),`\niv. `,_jsx(_components.em,{children:`For Bitbucket Data Center users only`}),`: provide the `,_jsx(_components.strong,{children:`Bitbucket Data Center URL`}),`.`,_jsx(`br`,{}),_jsx(`br`,{}),`\nv. Click `,_jsx(_components.strong,{children:`Connect`}),`.`]})}),_jsx(Step,{children:_jsx(_components.p,{children:`Repeat the steps above for each additional Bitbucket workspace you’d like added to Semgrep.`})})]}),`\n`,_jsx(_components.p,{children:`You have successfully set up Managed Scans for your workspace or project.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`After enabling Managed Scans, Semgrep performs a full scan in batches on all the repositories in the workspace.`}),`\n`,_jsxs(_components.li,{children:[`Once a repository has been added to Semgrep AppSec Platform, it becomes a `,_jsx(_components.strong,{children:`project`}),`. A project in Semgrep AppSec Platform includes all the findings, history, and scan metadata of that repository.`]}),`\n`,_jsxs(_components.li,{children:[`Projects with a Managed Scan configuration are tagged with `,_jsx(_components.code,{children:`managed-scan`}),`, regardless of whether the project is actively being scanned by Semgrep Managed Scans or not. The `,_jsx(_components.strong,{children:`Projects`}),` list also contains pending scans and scans that never started.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-additional-bitbucket-projects`,children:`Add additional Bitbucket projects`}),`\n`,_jsx(_components.p,{children:`You can enable Managed Scans for additional repositories after onboarding using the following steps:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`folder-open`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Projects`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Scan new project > Semgrep Managed Scan`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Enable Managed Scans for repos`}),` page, select the repositories you want to add to Semgrep Managed Scans.`,_jsx(`br`,{}),_jsx(`br`,{}),`\ni. Optional: If you do not see the repository you want to add, click `,_jsx(_components.strong,{children:`Can’t find your project?`}),` and follow the troubleshooting steps provided.`]})}),_jsx(Step,{children:_jsx(_components.p,{children:`Select the repositories you want to scan from the list.`})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Enable Managed Scans`}),`. The `,_jsx(_components.strong,{children:`Enable Managed Scans`}),` dialog appears. By default, Semgrep runs both full and diff-aware scans.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Optional: Disable PR or MR diff-aware scans by turning off the `,_jsx(_components.strong,{children:`Enable PR/MR scans`}),` toggle.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Enable`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`if-the-page-does-not-display-any-repositories`,children:`If the page does not display any repositories`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`Ensure that you’ve connected your Bitbucket account by following the steps in `,_jsx(_components.a,{href:`/deployment/connect-scm`,children:`Connect a source code manager`}),` and confirm your token meets the `,_jsx(_components.a,{href:`#prerequisites-and-permissions`,children:`prerequisites`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`folder-open`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Projects`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`If the page does not display the repository you want to add, click `,_jsx(_components.strong,{children:`Can’t find your project? > Sync projects`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`If the page does not display any repositories, click `,_jsx(_components.strong,{children:`Sync projects`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Optional: Perform a hard refresh (`,_jsx(`kbd`,{children:`Ctrl`}),`+`,_jsx(`kbd`,{children:`F5`}),` or `,_jsx(`kbd`,{children:`Cmd`}),`+`,_jsx(`kbd`,{children:`Shift`}),`+`,_jsx(`kbd`,{children:`R`}),`).`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`convert-or-migrate-an-existing-semgrep-ci-job`,children:`Convert or migrate an existing Semgrep CI job`}),`\n`,_jsx(_components.p,{children:`You can immediately add any existing project to Managed Scans.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`Follow the steps in `,_jsx(_components.a,{href:`#enable-managed-scanning-and-scan-your-first-repository`,children:`Enable Semgrep Managed Scans`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Delete the `,_jsx(_components.code,{children:`bitbucket-pipelines.yml`}),` file in your Bitbucket repository if appropriate.`]})})]}),`\n`,_jsx(_components.p,{children:`If you plan to continue running some scans in Bitbucket CI/CD Pipelines (for example, using Managed Scans to run weekly full scans but Bitbucket CI/CD Pipelines for diff-aware scans) you can leave the workflow file in place, and edit it to reflect your desired configuration.`}),`\n`,_jsxs(Tip,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`TIP`})}),_jsx(_components.p,{children:`Semgrep preserves your findings, scans, and triage history.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`scan-management-and-configuration`,children:`Scan management and configuration`}),`\n`,_jsx(Heading,{level:`3`,id:`manually-run-a-full-scan`,children:`Manually run a full scan`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`folder-open`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Projects`}),`.`]})}),_jsx(Step,{children:_jsx(_components.p,{children:`Search for your repository’s name.`})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click the `,_jsx(Icon,{icon:`gear`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`gear icon`}),` to access the settings page for that repository.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Run a new scan > Rule-based detection`}),`.`]})})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`You can manually run a full scan for both primary and non-primary branches.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`re-run-a-failed-scan-or-a-scan-that-never-finished`,children:`Re-run a failed scan or a scan that never finished`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`folder-open`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Projects`}),`.`]})}),_jsx(Step,{children:_jsx(_components.p,{children:`Click on the project name.`})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Find the scan that failed or never finished using the `,_jsx(_components.strong,{children:`Status`}),` column, and click `,_jsx(_components.strong,{children:`Details`}),` to open the `,_jsx(_components.strong,{children:`Scan logs`}),` dialog.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Ensure that you’re on the `,_jsx(_components.strong,{children:`Overview`}),` tab of the `,_jsx(_components.strong,{children:`Scan logs`}),` dialog, then click `,_jsx(_components.strong,{children:`Retry`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`disable-diff-aware-scans-on-prs`,children:`Disable diff-aware scans on PRs`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`folder-open`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Projects`}),`.`]})}),_jsx(Step,{children:_jsx(_components.p,{children:`Search for your repository’s name.`})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click the `,_jsx(Icon,{icon:`window-restore`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`window icon`}),` under `,_jsx(_components.strong,{children:`Details`}),` to access the settings page for that repository.`]})}),_jsx(Step,{children:_jsx(_components.p,{children:`Click the toggle for diff-aware scans.`})})]}),`\n`,_jsx(Heading,{level:`3`,id:`delete-a-project`,children:`Delete a project`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`folder-open`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Projects`}),`.`]})}),_jsx(Step,{children:_jsx(_components.p,{children:`Search for your repository’s name.`})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click the `,_jsx(Icon,{icon:`window-restore`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`window icon`}),` under `,_jsx(_components.strong,{children:`Details`}),` to access the settings page for that repository.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click the dropdown at the header and click `,_jsx(_components.strong,{children:`Delete project`}),`.`]})})]}),`\n`,_jsxs(_components.p,{children:[`To delete an `,_jsx(_components.a,{href:`/deployment/manage-projects#archive-a-project`,children:`archived project`}),`, follow these steps:`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`folder-open`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Projects`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Switch to the `,_jsx(_components.strong,{children:`Not scanning`}),` tab of the `,_jsx(_components.strong,{children:`Projects`}),` page.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Select the checkbox to `,_jsx(_components.strong,{children:`Show archived`}),` projects.`]})}),_jsx(Step,{children:_jsx(_components.p,{children:`Search for the archived repository’s name.`})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click the `,_jsx(Icon,{icon:`window-restore`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`window icon`}),` under `,_jsx(_components.strong,{children:`Details`}),` to access the settings page for that repository.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click the dropdown at the header and click `,_jsx(_components.strong,{children:`Delete project`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`configure-fail-open-to-prevent-diff-aware-scans-from-blocking-pull-requests-and-merge-requests`,children:`Configure fail open to prevent diff-aware scans from blocking pull requests and merge requests`}),`\n`,_jsxs(_components.p,{children:[`By default, diff-aware managed scans are set to `,_jsx(_components.strong,{children:`fail open`}),` if a scan errors out or takes too long. This means that diff-aware scans are marked as successful on the pull request (PR) or merge request (MR), even if they have not completed after the specified timeout. This lets you make the Semgrep status check required in your source code manager (SCM) without blocking someone from merging a PR or MR if the check encounters an unexpected issue or takes too long.`]}),`\n`,_jsx(Frame,{caption:`Sample pull request showing the status of a diff-aware scan.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/pr-status-check-06f80c71ec387d84294255bdbfcdc25e.png?fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=dba084bd8b933fb73a83917b580d3e11`,alt:`Sample pull request showing the status of a diff-aware scan.`,\"data-og-width\":`1520`,width:`1520`,\"data-og-height\":`346`,height:`346`,\"data-path\":`images/pr-status-check-06f80c71ec387d84294255bdbfcdc25e.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/pr-status-check-06f80c71ec387d84294255bdbfcdc25e.png?w=280\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=79a0d4dc0b1ec6936b1d375b0de8189f 280w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/pr-status-check-06f80c71ec387d84294255bdbfcdc25e.png?w=560\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=2a56f4385f25063a8ed146a70b2dea26 560w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/pr-status-check-06f80c71ec387d84294255bdbfcdc25e.png?w=840\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=079e9bba239310095470b61b60da64bb 840w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/pr-status-check-06f80c71ec387d84294255bdbfcdc25e.png?w=1100\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=63888d59abd86b33c4bddb534bfb5226 1100w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/pr-status-check-06f80c71ec387d84294255bdbfcdc25e.png?w=1650\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=306ee4da0b2d288306fc7b0d0db29518 1650w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/pr-status-check-06f80c71ec387d84294255bdbfcdc25e.png?w=2500\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=f23410efad2473a56fb25f404abbd9b7 2500w`})}),`\n`,_jsx(Heading,{level:`4`,id:`how-fail-open-works`,children:`How fail open works`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsx(_components.p,{children:`If enabled, the fail open feature is triggered whenever you open a PR or MR.`})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Initially, Semgrep sends an update to mark the PR or MR as `,_jsx(_components.code,{children:`pending`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Once the diff-aware scan begins, the PR or MR is updated to a status of `,_jsx(_components.code,{children:`running`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`The diff-aware scan completes, and the PR or MR is updated to a status of `,_jsx(_components.code,{children:`succeeded`}),` or `,_jsx(_components.code,{children:`failed`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`If the diff-aware scan is in `,_jsx(_components.code,{children:`pending`}),` or `,_jsx(_components.code,{children:`running`}),` status longer than the configured timeout, then the fail open process updates the PR or MR to display a status of `,_jsx(_components.code,{children:`succeeded`}),`. This prevents the Semgrep scan from blocking the developer from merging their changes.`]})})]}),`\n`,_jsxs(_components.p,{children:[`If Semgrep marks a PR or MR as `,_jsx(_components.code,{children:`succeeded`}),`, you can merge the PR or MR without waiting for the diff-aware scan to complete. However, if the PR or MR is still open and the scan completes `,_jsx(_components.em,{children:`after`}),` the fail open timeout is reached, Semgrep can still report the findings and mark the status as `,_jsx(_components.code,{children:`failed`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`configure-fail-open`,children:`Configure fail open`}),`\n`,_jsx(_components.p,{children:`By default, fail open is enabled. However, you can disable this feature and adjust the timeout value:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`Sign in to `,_jsx(_components.a,{href:`https://semgrep.dev/login`,children:`Semgrep AppSec Platform`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Settings > General > Managed Scans`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click the `,_jsx(Icon,{icon:`toggle-large-on`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Fail open`}),` toggle to turn off this feature.`]})}),_jsxs(Step,{children:[_jsxs(_components.p,{children:[`Set the `,_jsx(_components.strong,{children:`Timeout`}),` value in minutes. The default value is `,_jsx(_components.strong,{children:`10 minutes`}),`, the minimum value is `,_jsx(_components.strong,{children:`1 minute`}),`, and the maximum value is `,_jsx(_components.strong,{children:`60 minutes`}),`.`]}),_jsx(Frame,{caption:`Semgrep AppSec Platform settings page with fail open configuration options.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/fail-open-config-ccc1c4b81d5710e419b725b1a1d193e0.png?fit=max\u0026auto=format\u0026n=yMsI1pCt6oL_Pkb9\u0026q=85\u0026s=0d13c1f03296177e06617c934127eefc`,alt:`Semgrep AppSec Platform settings page with fail open configuration options.`,\"data-og-width\":`1900`,width:`1900`,\"data-og-height\":`702`,height:`702`,\"data-path\":`images/fail-open-config-ccc1c4b81d5710e419b725b1a1d193e0.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/fail-open-config-ccc1c4b81d5710e419b725b1a1d193e0.png?w=280\u0026fit=max\u0026auto=format\u0026n=yMsI1pCt6oL_Pkb9\u0026q=85\u0026s=d2f571b70fb6bf3359c65736df9076a6 280w, https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/fail-open-config-ccc1c4b81d5710e419b725b1a1d193e0.png?w=560\u0026fit=max\u0026auto=format\u0026n=yMsI1pCt6oL_Pkb9\u0026q=85\u0026s=fc74e6df5fba017be1478dda498a5aea 560w, https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/fail-open-config-ccc1c4b81d5710e419b725b1a1d193e0.png?w=840\u0026fit=max\u0026auto=format\u0026n=yMsI1pCt6oL_Pkb9\u0026q=85\u0026s=4d81e966a1b75af7d3fe2aaf37922c7e 840w, https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/fail-open-config-ccc1c4b81d5710e419b725b1a1d193e0.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yMsI1pCt6oL_Pkb9\u0026q=85\u0026s=921dc3f83964af394dbb9cc3c824fde3 1100w, https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/fail-open-config-ccc1c4b81d5710e419b725b1a1d193e0.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yMsI1pCt6oL_Pkb9\u0026q=85\u0026s=1ea5b96046e739c020d2b812e2f6afa4 1650w, https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/fail-open-config-ccc1c4b81d5710e419b725b1a1d193e0.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yMsI1pCt6oL_Pkb9\u0026q=85\u0026s=fd38a210396185d4cbaeab7c0cedbc93 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`disable-webhooks`,children:`Disable webhooks`}),`\n`,_jsx(_components.p,{children:`Performing diff-aware Managed Scans of Bitbucket projects requires webhooks to be enabled. Webhooks are enabled by default when you add Bitbucket as a source code manager when setting up Semgrep Managed Scans. You can disable webhooks at any time by following these steps:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, go to `,_jsx(_components.a,{href:`https://semgrep.dev/orgs/-/settings/source-code`,children:`Settings > Source code managers`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Find your Bitbucket connection, and click the `,_jsx(Icon,{icon:`toggle-large-on`,iconType:`solid`}),` toggle to disable `,_jsx(_components.strong,{children:`Incoming webhooks`}),`.`]})})]}),`\n`,_jsx(_components.p,{children:`This will stop any diff-aware scans of your projects.`}),`\n`,_jsx(Heading,{level:`2`,id:`revoke-semgrep’s-access-to-your-repositories`,children:`Revoke Semgrep’s access to your repositories`}),`\n`,_jsx(_components.p,{children:`The following steps revoke the code access you previously granted Semgrep for all repositories you selected.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[`In Semgrep AppSec Platform, click `,_jsx(Icon,{icon:`gear`,iconType:`solid`}),` `,_jsx(_components.strong,{children:`Settings > Source Code Managers`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`On the entry of the SCM you want to remove, click `,_jsx(_components.strong,{children:`Remove app`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Remove`}),` to confirm.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`turn-off-managed-scans-for-specific-repositories-in-semgrep-appsec-platform`,children:`Turn off Managed Scans for specific repositories in Semgrep AppSec Platform`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsx(_components.p,{children:`Sign in to Semgrep AppSec Platform.`})}),_jsx(Step,{children:_jsxs(_components.p,{children:[`Go to Projects and find the project you no longer want scanned with Semgrep Managed Scanning. Click the project’s `,_jsx(_components.strong,{children:`Details`}),` page > `,_jsx(_components.strong,{children:`Settings`}),` tab.`]})}),_jsxs(Step,{children:[_jsxs(_components.p,{children:[`Toggle the switch for `,_jsx(_components.strong,{children:`Managed diff scans`}),` to turn off scans of new pull requests and merge requests and `,_jsx(_components.strong,{children:`Managed full scans`}),` to turn off full scans of the base branch.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/turn-off-sms-4b1b14b41b9fb0f8b3f2e9bffc2d96e8.png?fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=39d543308f295cbf3806f42669bc56b7`,alt:`Semgrep AppSec Platform toggles to turn off managed scans of repositories`,\"data-og-width\":`1900`,width:`1900`,\"data-og-height\":`472`,height:`472`,\"data-path\":`images/turn-off-sms-4b1b14b41b9fb0f8b3f2e9bffc2d96e8.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/turn-off-sms-4b1b14b41b9fb0f8b3f2e9bffc2d96e8.png?w=280\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=5f41c03a21265121880da59dbbbd0141 280w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/turn-off-sms-4b1b14b41b9fb0f8b3f2e9bffc2d96e8.png?w=560\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=846c9495cc235194540d493944852da8 560w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/turn-off-sms-4b1b14b41b9fb0f8b3f2e9bffc2d96e8.png?w=840\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=6e4e48920bdafdc4b5e80a83dc800f9f 840w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/turn-off-sms-4b1b14b41b9fb0f8b3f2e9bffc2d96e8.png?w=1100\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=b4a74d92c18df7c3581407e2a395e1fd 1100w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/turn-off-sms-4b1b14b41b9fb0f8b3f2e9bffc2d96e8.png?w=1650\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=5bb6043c7ea7e60b9c8a56846cd462b6 1650w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/turn-off-sms-4b1b14b41b9fb0f8b3f2e9bffc2d96e8.png?w=2500\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=ebbeaa8f790c214fc9f8af27431f3896 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`appendices`,children:`Appendices`}),`\n`,_jsx(Heading,{level:`3`,id:`scan-logs`,children:`Scan logs`}),`\n`,_jsxs(_components.p,{children:[`To view your scan logs in Semgrep AppSec Platform, go to `,_jsx(_components.strong,{children:`Projects`}),`, then click on the project name. The projects in the list are sorted by scan date, with the most recent scans listed first.`]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`INFO`})}),_jsx(_components.p,{children:`It can take a few minutes for your latest scan logs to appear. However, if the logs do not update 15 minutes after the scan, there may be issues with the scan itself.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`scan-statistics`,children:`Scan statistics`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Scan statistics`}),`, such as how many of your repositories are being scanned, the scan success rate, and so on, can be provided once a week upon request. Contact your Semgrep account manager to request scan statistics.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add a Bitbucket repository to Semgrep Managed Scans","sidebarTitle":"Bitbucket","description":"Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through **Managed Scans**.","href":"/deployment/managed-scanning/bitbucket"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites and permissions","slug":"prerequisites-and-permissions","depth":2,"children":[{"title":"Bitbucket Cloud","slug":"bitbucket-cloud","depth":3,"children":[]},{"title":"Bitbucket Data Center","slug":"bitbucket-data-center","depth":3,"children":[]},{"title":"Create an HTTP access token","slug":"create-an-http-access-token","depth":4,"children":[]}]},{"title":"Enable Semgrep Managed Scans and scan your first repository","slug":"enable-semgrep-managed-scans-and-scan-your-first-repository","depth":2,"children":[]},{"title":"Add additional Bitbucket projects","slug":"add-additional-bitbucket-projects","depth":2,"children":[{"title":"If the page does not display any repositories","slug":"if-the-page-does-not-display-any-repositories","depth":3,"children":[]},{"title":"Convert or migrate an existing Semgrep CI job","slug":"convert-or-migrate-an-existing-semgrep-ci-job","depth":3,"children":[]}]},{"title":"Scan management and configuration","slug":"scan-management-and-configuration","depth":2,"children":[{"title":"Manually run a full scan","slug":"manually-run-a-full-scan","depth":3,"children":[]},{"title":"Re-run a failed scan or a scan that never finished","slug":"re-run-a-failed-scan-or-a-scan-that-never-finished","depth":3,"children":[]},{"title":"Disable diff-aware scans on PRs","slug":"disable-diff-aware-scans-on-prs","depth":3,"children":[]},{"title":"Delete a project","slug":"delete-a-project","depth":3,"children":[]},{"title":"Configure fail open to prevent diff-aware scans from blocking pull requests and merge requests","slug":"configure-fail-open-to-prevent-diff-aware-scans-from-blocking-pull-requests-and-merge-requests","depth":3,"children":[]},{"title":"How fail open works","slug":"how-fail-open-works","depth":4,"children":[]},{"title":"Configure fail open","slug":"configure-fail-open","depth":4,"children":[]}]},{"title":"Disable webhooks","slug":"disable-webhooks","depth":2,"children":[]},{"title":"Revoke Semgrep’s access to your repositories","slug":"revoke-semgrep’s-access-to-your-repositories","depth":2,"children":[]},{"title":"Turn off Managed Scans for specific repositories in Semgrep AppSec Platform","slug":"turn-off-managed-scans-for-specific-repositories-in-semgrep-appsec-platform","depth":2,"children":[]},{"title":"Appendices","slug":"appendices","depth":2,"children":[{"title":"Scan logs","slug":"scan-logs","depth":3,"children":[]},{"title":"Scan statistics","slug":"scan-statistics","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/semgrep-ee9d73d8/3525e17c6c545faa/fs.js"],"subdomain":"semgrep-ee9d73d8","siteName":"Semgrep","title":"Add a Bitbucket repository to Semgrep Managed Scans - Semgrep","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{},"searchTabScopes":[{"tab":"Scan \u0026 secure"},{"tab":"Scan at code generation"},{"tab":"Write rules"},{"tab":"API"},{"tab":"Help"},{"tab":"Explore"},{"tab":"What's New"}]},"lastModified":"2026-11-12T17:16:56.435Z","originalFileLocation":"deployment/managed-scanning/bitbucket.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through Managed Scans.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Semgrep\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add a Bitbucket repository to Semgrep Managed Scans - Semgrep\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through Managed Scans.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Semgrep\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://semgrep-ee9d73d8.mintlify.site/_mintlify/api/og/v2?division=Managed+Scans\u0026amp;title=Add+a+Bitbucket+repository+to+Semgrep+Managed+Scans\u0026amp;description=Add+Bitbucket+repositories+to+your+Semgrep+organization+in+bulk+without+adding+or+changing+your+existing+CI+workflows+through+**Managed+Scans**.\u0026amp;theme=7b4286f3087331c259d78329\u0026amp;signature=1cd065035eb1a7502494c776e348510bd987ba00846256d8f7bc099adc528fb9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Add a Bitbucket repository to Semgrep Managed Scans - Semgrep\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through Managed Scans.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://semgrep-ee9d73d8.mintlify.site/_mintlify/api/og/v2?division=Managed+Scans\u0026amp;title=Add+a+Bitbucket+repository+to+Semgrep+Managed+Scans\u0026amp;description=Add+Bitbucket+repositories+to+your+Semgrep+organization+in+bulk+without+adding+or+changing+your+existing+CI+workflows+through+**Managed+Scans**.\u0026amp;theme=7b4286f3087331c259d78329\u0026amp;signature=1cd065035eb1a7502494c776e348510bd987ba00846256d8f7bc099adc528fb9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/semgrep-ee9d73d8/kWw4JJfCeFf62dGq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Semgrep\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#008456\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/deployment/managed-scanning/bitbucket.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.semgrep.dev/#organization\",\"name\":\"Semgrep\",\"url\":\"https://docs.semgrep.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/semgrep-ee9d73d8/6O2eWotSEeX-M9yU/logo/light.svg?fit=max\u0026auto=format\u0026n=6O2eWotSEeX-M9yU\u0026q=85\u0026s=b53db72fbb1f3942a5595610873e9cc6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.semgrep.dev#website\",\"name\":\"Semgrep\",\"url\":\"https://docs.semgrep.dev\",\"publisher\":{\"@id\":\"https://docs.semgrep.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket#webpage\",\"url\":\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket\",\"name\":\"Add a Bitbucket repository to Semgrep Managed Scans\",\"description\":\"Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through Managed Scans.\",\"dateModified\":\"2026-11-12T17:16:56.435Z\",\"isPartOf\":{\"@id\":\"https://docs.semgrep.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Set up and deploy scans\",\"item\":\"https://docs.semgrep.dev/deployment/checklist\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Core deployment\",\"item\":\"https://docs.semgrep.dev/deployment/core-deployment\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Scan repositories with the AppSec Platform\",\"item\":\"https://docs.semgrep.dev/category/scan-repositories-with-the-appsec-platform\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Managed Scans\",\"item\":\"https://docs.semgrep.dev/deployment/managed-scanning/overview\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Add a Bitbucket repository to Semgrep Managed Scans\",\"item\":\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket#article\",\"headline\":\"Add a Bitbucket repository to Semgrep Managed Scans\",\"name\":\"Add a Bitbucket repository to Semgrep Managed Scans\",\"description\":\"Add Bitbucket repositories to your Semgrep organization in bulk without adding or changing your existing CI workflows through Managed Scans.\",\"url\":\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket\",\"mainEntityOfPage\":{\"@id\":\"https://docs.semgrep.dev/deployment/managed-scanning/bitbucket#webpage\"},\"dateModified\":\"2026-11-12T17:16:56.435Z\",\"publisher\":{\"@id\":\"https://docs.semgrep.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.semgrep.dev#website\"}}]}\u003c/script>","agentPointerHref":"/deployment/managed-scanning/bitbucket.md","siteName":"Semgrep","nav":{"global":{"anchors":[{"anchor":"Registry","icon":"database","href":"https://semgrep.dev/explore/"},{"anchor":"Playground","icon":"codepen","href":"https://semgrep.dev/playground/new"},{"anchor":"Academy","icon":"graduation-cap","href":"https://academy.semgrep.dev"}]},"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":""}]},{"tab":"Scan \u0026 secure","icon":"shield-halved","groups":[{"group":"Get started","pages":[{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Quickstart for Semgrep Managed Scans","sidebarTitle":"Quickstart: Managed Scans","href":"/getting-started/quickstart-managed-scans"},{"title":"Prerequisites","href":"/prerequisites"},{"title":"Supported source code managers","sidebarTitle":"Supported SCMs","href":"/getting-started/scm-support"},{"group":"Supported languages","root":{"title":"Supported languages","href":"/supported-languages"},"pages":[{"title":"C# support","sidebarTitle":"C#","href":"/languages/csharp"},{"title":"Go support","sidebarTitle":"Go","href":"/languages/go"},{"title":"Java support","sidebarTitle":"Java","href":"/languages/java"},{"title":"JavaScript support","sidebarTitle":"JavaScript","href":"/languages/javascript"},{"title":"Kotlin support","sidebarTitle":"Kotlin","href":"/languages/kotlin"},{"title":"Python support","sidebarTitle":"Python","href":"/languages/python"},{"title":"Ruby support","sidebarTitle":"Ruby","href":"/languages/ruby"},{"title":"Scala support","sidebarTitle":"Scala","href":"/languages/scala"},{"title":"Swift support","sidebarTitle":"Swift","href":"/languages/swift"}]},{"group":"Local and CLI scans","root":{"title":"Local and CLI scans","href":"/category/local-and-cli-scans"},"pages":[{"title":"Local scans with Semgrep","sidebarTitle":"Local CLI scans","href":"/getting-started/cli"},{"title":"Run rules","href":"/running-rules"},{"title":"Update Semgrep","href":"/update"},{"title":"Scan local repositories and upload findings","sidebarTitle":"Upload local scan findings","href":"/deployment/local-to-scp-scans"},{"title":"Troubleshooting the CLI","href":"/troubleshooting/semgrep"}]}]},{"group":"Set up and deploy scans","pages":[{"group":"Core deployment","root":{"title":"Core deployment","href":"/deployment/core-deployment"},"pages":[{"title":"Pre-deployment checklist","href":"/deployment/checklist"},{"title":"Create a Semgrep account and set up organizations","sidebarTitle":"Create an account","href":"/deployment/create-account-and-orgs"},{"title":"Single-sign on (SSO) configuration","sidebarTitle":"SSO authentication","href":"/deployment/sso"},{"group":"SCIM provisioning","root":{"title":"SCIM provisioning (beta)","sidebarTitle":"SCIM provisioning","href":"/deployment/scim"},"pages":[{"title":"SCIM provisioning with Okta","sidebarTitle":"SCIM with Okta","href":"/kb/semgrep-appsec-platform/scim-okta"},{"title":"SCIM provisioning with Microsoft Entra ID","sidebarTitle":"SCIM with Entra ID","href":"/kb/semgrep-appsec-platform/scim-microsoft-entra-id"}]},{"title":"Connect a source code manager","sidebarTitle":"Connect SCM","href":"/deployment/connect-scm"},{"title":"Source code manager permissions","sidebarTitle":"SCM permissions","href":"/deployment/prepare/scm-permissions"},{"title":"Enable source code manager code access","sidebarTitle":"Grant code access","href":"/semgrep-appsec-platform/scm-code-access"},{"title":"Network access and allowlists","sidebarTitle":"Network access","href":"/deployment/prepare/network-access"},{"group":"Scan repositories with the AppSec Platform","root":{"title":"Scan repositories with the AppSec Platform","href":"/category/scan-repositories-with-the-appsec-platform"},"pages":[{"group":"Managed Scans","root":{"title":"Semgrep Managed Scans","sidebarTitle":"Managed Scans","href":"/deployment/managed-scanning/overview"},"pages":[{"title":"Add an Azure DevOps repository to Semgrep Managed Scans","sidebarTitle":"Azure DevOps","description":null,"href":"/deployment/managed-scanning/azure"},{"title":"Add a Bitbucket repository to Semgrep Managed Scans","sidebarTitle":"Bitbucket","href":"/deployment/managed-scanning/bitbucket"},{"title":"Add Cursor Origin repositories to Semgrep Managed Scans","sidebarTitle":"Cursor Origin","description":"Add Cursor Origin repositories to your Semgrep organization without adding or changing CI workflows through Managed Scans.","href":"/deployment/managed-scanning/cursor"},{"title":"Add a GitHub repository to Semgrep Managed Scans","sidebarTitle":"GitHub","href":"/deployment/managed-scanning/github"},{"title":"Add a GitLab repository to Semgrep Managed Scans","sidebarTitle":"GitLab","href":"/deployment/managed-scanning/gitlab"}]},{"group":"AI-powered detection","root":{"title":"AI-powered detection overview","sidebarTitle":"AI-powered detection","href":"/semgrep-code/ai-powered-detection-concepts"},"pages":[{"title":"Scan with AI-powered detection","sidebarTitle":"Scan with AI","href":"/deployment/add-ai-to-scans"}]},{"title":"Add Semgrep to CI","href":"/deployment/add-semgrep-to-ci"},{"title":"Add Semgrep manually to CI providers","href":"/deployment/add-semgrep-to-other-ci-providers"},{"title":"Customize your CI job","href":"/deployment/customize-ci-jobs"},{"title":"Handling blocking findings and errors","sidebarTitle":"Configure blocking findings","href":"/semgrep-ci/configuring-blocking-and-errors-in-ci"},{"group":"Configuring SCA scans","root":{"title":"Set up Semgrep Supply Chain for your infrastructure","href":"/semgrep-supply-chain/setup-infrastructure"},"pages":[{"title":"Set up Semgrep Supply Chain with Apache Maven (Java)","sidebarTitle":"Apache Maven","href":"/semgrep-supply-chain/setup-maven"}]},{"group":"Manage projects","root":{"title":"Manage projects","href":"/deployment/manage-projects"},"pages":[{"title":"Keep projects in sync with SCM repositories","href":"/deployment/sync-projects-with-scm"},{"title":"Set a primary branch","href":"/deployment/primary-branch"}]},{"title":"Troubleshooting CI scans","sidebarTitle":"Troubleshooting CI","href":"/troubleshooting/semgrep-app"}]},{"group":"PR or MR comments","root":{"title":"PR or MR comments","href":"/category/pr-or-mr-comments"},"pages":[{"title":"Enable Azure pull request comments","sidebarTitle":"Azure PR comments","href":"/semgrep-appsec-platform/azure-pr-comments"},{"title":"Set up GitHub pull request comments","sidebarTitle":"GitHub PR comments","href":"/semgrep-appsec-platform/github-pr-comments"},{"title":"Set up GitLab merge request comments","sidebarTitle":"GitLab MR comments","href":"/semgrep-appsec-platform/gitlab-mr-comments"},{"group":"Bitbucket PR comments","root":{"title":"Bitbucket PR comments","href":"/category/bitbucket-pr-comments"},"pages":[{"title":"Enable Bitbucket Cloud pull request comments","sidebarTitle":"Bitbucket Cloud","href":"/semgrep-appsec-platform/bitbucket-cloud-pr-comments"},{"title":"Enable Bitbucket Data Center pull request comments","sidebarTitle":"Bitbucket Data Center","href":"/semgrep-appsec-platform/bitbucket-data-center-pr-comments"}]}]},{"title":"Developer exception requests (beta)","href":"/semgrep-appsec-platform/developer-exception-requests"},{"group":"Customize core deployment","root":{"title":"Customize a core deployment","href":"/deployment/beyond-core-deployment"},"pages":[{"group":"Ignore files, folders, and code","pages":[{"title":"Ignore files, folders, and code","sidebarTitle":"Semgrep Code","href":"/ignoring-files-folders-code"},{"title":"Ignore manifest files, lockfiles, and dependencies","sidebarTitle":"Semgrep Supply Chain","href":"/semgrep-supply-chain/ignoring-dependencies"}]},{"title":"Perform cross-file analysis","href":"/semgrep-code/semgrep-pro-engine-intro"},{"group":"Unified Policies","root":{"title":"Unified Policies","href":"/semgrep-appsec-platform/unified-policies/overview"},"pages":[{"title":"Create and manage Unified Policies","href":"/semgrep-appsec-platform/unified-policies/get-started"}]},{"title":"License compliance","href":"/semgrep-supply-chain/license-compliance"},{"title":"Write rules","sidebarTitle":"Write custom rules","href":"/writing-rules/overview-1"}]}]},{"group":"Deployment at scale","root":{"title":"Deployment at scale","href":"/category/deployment-at-scale"},"pages":[{"group":"Teams and users","root":{"title":"Manage user access to projects","sidebarTitle":"Teams and users","href":"/deployment/teams/overview"},"pages":[{"title":"Manage teams and roles","href":"/deployment/teams/manage"}]},{"title":"Access tokens","sidebarTitle":"Tokens","href":"/deployment/tokens"},{"title":"Tag projects","href":"/semgrep-appsec-platform/tags"},{"title":"Set up Semgrep Network Broker","sidebarTitle":"Semgrep Network Broker","href":"/semgrep-ci/network-broker"}]},{"group":"Secure guardrails","root":{"title":"Secure guardrails in Semgrep","sidebarTitle":"Secure guardrails","href":"/secure-guardrails/secure-guardrails-in-semgrep"},"pages":[{"title":"Secure defaults","href":"/secure-guardrails/secure-defaults"},{"title":"Custom rules for secure guardrails","sidebarTitle":"Custom rules","href":"/secure-guardrails/custom-guardrails-rules"}]},{"group":"Notifications","root":{"title":"Alerts and notifications","sidebarTitle":"Notifications","href":"/semgrep-appsec-platform/notifications"},"pages":[{"title":"Receive Slack notifications","sidebarTitle":"Slack","href":"/semgrep-appsec-platform/slack-notifications"},{"title":"Receive email notifications","sidebarTitle":"Email","href":"/semgrep-appsec-platform/email-notifications"},{"title":"Enable webhooks","sidebarTitle":"Webhooks","href":"/semgrep-appsec-platform/webhooks"}]},{"title":"Dashboard","href":"/semgrep-appsec-platform/dashboard"},{"title":"Reporting","href":"/semgrep-appsec-platform/reporting"},{"group":"Extensions","root":{"title":"Extensions","href":"/extensions/overview"},"pages":[{"title":"Semgrep Visual Studio Code extension","sidebarTitle":"Visual Studio Code extension","href":"/extensions/semgrep-vs-code"},{"title":"Semgrep IntelliJ extension","sidebarTitle":"IntelliJ extension","href":"/extensions/semgrep-intellij"},{"title":"Run scans on pre-commit","href":"/extensions/pre-commit"}]},{"group":"AppSec Platform integrations","root":{"title":"AppSec Platform integrations","href":"/category/appsec-platform-integrations"},"pages":[{"title":"View exposure and runtime context from Cortex by Palo Alto Networks","sidebarTitle":"Cortex","href":"/semgrep-appsec-platform/cortex"},{"title":"Create Jira tickets","sidebarTitle":"Jira","href":"/semgrep-appsec-platform/jira"},{"title":"View runtime context from Sysdig","sidebarTitle":"Sysdig","href":"/semgrep-appsec-platform/sysdig"},{"title":"View Semgrep findings in Wiz's Security Graph","sidebarTitle":"Wiz","href":"/semgrep-appsec-platform/wiz"}]}]},{"group":"Scan and triage","pages":[{"group":"SAST (Code)","pages":[{"title":"Semgrep Code overview","sidebarTitle":"Overview","href":"/semgrep-code/overview"},{"group":"AI-powered detection","root":{"title":"AI-powered detection overview","sidebarTitle":"AI-powered detection","href":"/semgrep-code/ai-powered-detection-concepts"},"pages":[{"title":"Scan with AI-powered detection","sidebarTitle":"Scan with AI","href":"/deployment/add-ai-to-scans"}]},{"group":"View findings","root":{"title":"View findings in Semgrep AppSec Platform","sidebarTitle":"View findings","href":"/semgrep-code/findings"},"pages":[{"title":"View findings' details","href":"/semgrep-code/finding-details"}]},{"group":"Triage and remediation","root":{"title":"Triage and remediate findings","sidebarTitle":"Triage and remediation","href":"/semgrep-code/triage-remediation"},"pages":[{"title":"Autofix for Semgrep Code","sidebarTitle":"Autofix","href":"/semgrep-code/triage-remediation/autofix"}]},{"group":"Manage rules and policies","root":{"title":"Manage rules and policies","href":"/semgrep-code/policies"},"pages":[{"title":"Semgrep Pro rules","href":"/semgrep-code/pro-rules"},{"title":"Write rules using Semgrep Editor","sidebarTitle":"Write custom rules","href":"/semgrep-code/editor"}]},{"group":"Perform cross-file analysis","root":{"title":"Perform cross-file analysis","href":"/semgrep-code/semgrep-pro-engine-intro"},"pages":[{"title":"Cross-file analysis examples","href":"/semgrep-code/semgrep-pro-engine-examples"}]},{"title":"Remove duplicate findings","href":"/semgrep-code/remove-duplicates"}]},{"group":"SCA (Supply Chain)","pages":[{"title":"Overview","href":"/semgrep-supply-chain/overview"},{"title":"Supply Chain requirements and feature support","sidebarTitle":"Requirements and feature support","href":"/semgrep-supply-chain/requirements-and-feature-support"},{"title":"Set up and configure Supply Chain scans","href":"/semgrep-supply-chain/set-up-and-configure"},{"group":"Detect vulnerabilities","pages":[{"group":"View findings","root":{"title":"View findings in Semgrep AppSec Platform","sidebarTitle":"View findings","href":"/semgrep-supply-chain/findings"},"pages":[{"title":"View finding details","href":"/semgrep-supply-chain/finding-details"}]},{"title":"View advisories and search for related findings","sidebarTitle":"View advisories and related findings","href":"/semgrep-supply-chain/advisories"},{"title":"View and search for dependencies","href":"/semgrep-supply-chain/dependency-search"},{"title":"View Dependency paths (beta)","href":"/semgrep-supply-chain/dependency-paths"}]},{"group":"Triage and fix vulnerabilities","root":{"title":"Triage and fix Supply Chain findings","sidebarTitle":"Triage and fix","href":"/semgrep-supply-chain/triage-and-fix/overview"},"pages":[{"title":"Upgrade Guidance (beta)","href":"/semgrep-supply-chain/upgrade-guidance"},{"title":"Supply Chain Autofix","sidebarTitle":"Autofix","href":"/semgrep-supply-chain/autofix"}]},{"group":"Policies","pages":[{"title":"Manage rules and policies","href":"/semgrep-supply-chain/policies"},{"title":"Ignore manifest files, lockfiles, and dependencies","href":"/semgrep-supply-chain/ignoring-deps"}]},{"group":"Malware detection and response","pages":[{"title":"Detect and remove malicious dependencies","href":"/semgrep-supply-chain/malicious-dependencies"},{"title":"Semgrep Malware Firewall","sidebarTitle":"Malware Firewall","href":"/semgrep-supply-chain/malware-firewall"},{"title":"Semgrep Malware Firewall exceptions","sidebarTitle":"Malware Firewall exceptions","href":"/semgrep-supply-chain/malware-firewall-exceptions"},{"title":"Supply Chain threat notifications and response","sidebarTitle":"Get Supply Chain threat notifications","href":"/semgrep-supply-chain/incident-notifications"},{"title":"Respond to a malware incident with Semgrep Supply Chain","href":"/semgrep-supply-chain/incident-response"}]},{"title":"License compliance","href":"/semgrep-supply-chain/license-compliance"},{"title":"Generate a software bill of materials","sidebarTitle":"SBOM","href":"/semgrep-supply-chain/sbom"},{"title":"Semgrep Supply Chain FAQ","sidebarTitle":"FAQ","href":"/semgrep-supply-chain/faq"}]},{"group":"Secrets","pages":[{"title":"Semgrep Secrets overview","sidebarTitle":"Overview","href":"/semgrep-secrets/conceptual-overview"},{"group":"Scan for secrets","root":{"title":"Scan for secrets","href":"/semgrep-secrets/getting-started"},"pages":[{"title":"Scan your Git history (beta)","href":"/semgrep-secrets/historical-scanning"},{"title":"Generic secrets AI","sidebarTitle":"Scan for generic secrets","href":"/semgrep-secrets/generic-secrets"}]},{"group":"View findings","root":{"title":"View findings in Semgrep AppSec Platform","sidebarTitle":"View findings","href":"/semgrep-secrets/findings"},"pages":[{"title":"View findings details","href":"/semgrep-secrets/finding-details"}]},{"title":"Triage and remediate findings","sidebarTitle":"Triage and remediation","href":"/semgrep-secrets/triage-remediation"},{"title":"Manage rules and policies","href":"/semgrep-secrets/policies"},{"title":"Semgrep Secrets rule structure and sample","sidebarTitle":"Custom rules","href":"/semgrep-secrets/rules-1"},{"title":"Write custom validators","sidebarTitle":"Custom validators","href":"/semgrep-secrets/validators-1"},{"title":"Semgrep Secrets glossary","sidebarTitle":"Glossary","href":"/semgrep-secrets/glossary"}]},{"group":"Agentic Workflows","pages":[{"title":"Semgrep Agentic Workflows (beta)","sidebarTitle":"Overview","href":"/workflows/overview"},{"title":"Get started with Semgrep Agentic Workflows (beta)","sidebarTitle":"Get started","href":"/workflows/get-started"}]}]},{"group":"Semgrep MCP","pages":[{"title":"Semgrep MCP (beta)","sidebarTitle":"Overview","href":"/mcp/overview"},{"title":"Authentication and access","href":"/mcp/authentication"},{"group":"Connect an MCP client","pages":[{"title":"Connect Claude Code","sidebarTitle":"Claude Code","href":"/mcp/connect/claude-code"},{"title":"Connect ChatGPT","sidebarTitle":"ChatGPT","href":"/mcp/connect/chatgpt"},{"title":"Connect Codex","sidebarTitle":"Codex","href":"/mcp/connect/codex"},{"title":"Connect Copilot","sidebarTitle":"Copilot","href":"/mcp/connect/copilot"},{"title":"Connect Cursor","sidebarTitle":"Cursor","href":"/mcp/connect/cursor"},{"title":"Connect VS Code","sidebarTitle":"VS Code","href":"/mcp/connect/vs-code"},{"title":"Connect other MCP clients","sidebarTitle":"Other clients","href":"/mcp/connect/other-clients"}]},{"title":"Tools and capabilities","href":"/mcp/tools"},{"title":"Run scans and workflows","href":"/mcp/run-scans-and-workflows"},{"title":"Troubleshoot the hosted MCP server","sidebarTitle":"Troubleshooting","href":"/mcp/troubleshooting"}]},{"group":"Semgrep Multimodal","pages":[{"group":"Overview","root":{"title":"Semgrep Multimodal overview","href":"/semgrep-multimodal/overview"},"pages":[{"title":"Semgrep Multimodal metrics and methodology","sidebarTitle":"Metrics and methodology","href":"/semgrep-multimodal/metrics"}]},{"group":"Getting started","root":{"title":"Enable Semgrep Multimodal","href":"/semgrep-multimodal/getting-started"},"pages":[{"title":"Customize Semgrep Multimodal","href":"/semgrep-multimodal/customize"},{"title":"Best practices for writing Memories","href":"/semgrep-multimodal/best-practices-for-memories"}]},{"title":"Analyze Code findings","sidebarTitle":"Analyze Semgrep Code findings with Semgrep Multimodal","href":"/semgrep-multimodal/analyze"},{"title":"Data privacy and legal considerations","href":"/semgrep-multimodal/privacy"}]},{"group":"Semgrep Community Edition","pages":[{"group":"Get started","root":{"title":"Get started with Semgrep Community Edition","href":"/getting-started/quickstart-ce"},"pages":[{"sidebarTitle":"Customize scans","title":"Customize Semgrep Community Edition (CE) scans","href":"/customize-semgrep-ce"}]},{"sidebarTitle":"Supported languages","title":"Supported languages for Semgrep Community Edition (CE)","href":"/semgrep-ce-languages"},{"title":"Semgrep Community Edition in CI","sidebarTitle":"Semgrep CE in CI","href":"/deployment/oss-deployment"},{"group":"About Semgrep CE","pages":[{"title":"Semgrep Community Edition (CE) philosophy","sidebarTitle":"Semgrep CE philosophy","href":"/contributing/semgrep-philosophy-1"},{"title":"Semgrep AppSec Platform versus Semgrep Community Edition","href":"/semgrep-pro-vs-oss-1"},{"title":"Compare Semgrep to Opengrep","href":"/faq/comparisons/opengrep-1"}]}]},{"group":"References","pages":[{"group":"CI references","root":{"title":"CI references","href":"/category/ci-references-1"},"pages":[{"title":"Continuous integration (CI) environment variables","sidebarTitle":"CI environment variables","href":"/semgrep-ci/ci-environment-variables-1"},{"title":"Sample continuous integration (CI) configurations","sidebarTitle":"Sample CI configurations","href":"/semgrep-ci/sample-ci-configs-1"},{"title":"Findings in CI","href":"/semgrep-ci/findings-ci-1"},{"title":"Packages in the Semgrep docker image","sidebarTitle":"Packages in Semgrep docker","href":"/semgrep-ci/packages-in-semgrep-docker-1"}]},{"group":"Language reference","root":{"title":"Language reference","sidebarTitle":"Language reference","href":"/category/language-reference"},"pages":[{"title":"Language maturity levels","href":"/references/language-maturity-levels"},{"title":"Feature definitions","href":"/references/feature-definitions"},{"title":"Semantic detection in Java","href":"/semgrep-code/java"}]},{"group":"Glossaries","root":{"title":"Glossaries","href":"/category/glossaries-1"},"pages":[{"title":"Semgrep Code product terms","sidebarTitle":"Code glossary","href":"/semgrep-code/glossary"},{"title":"Semgrep Supply Chain glossary","sidebarTitle":"Supply Chain glossary","href":"/semgrep-supply-chain/glossary"}]},{"sidebarTitle":"Semgrepignore v2","title":"Semgrepignore v2 reference","href":"/semgrepignore-v2-reference"},{"title":"CLI reference","sidebarTitle":"CLI reference","href":"/cli-reference"},{"title":"Semgrep JSON and SARIF fields","sidebarTitle":"JSON and SARIF fields","href":"/semgrep-appsec-platform/json-and-sarif"}]}]},{"tab":"Scan at code generation","icon":"robot","pages":[{"title":"Scan at code generation","href":"/semgrep-guardian/overview"}]},{"tab":"Write rules","icon":"pen-to-square","pages":[{"title":"Write rules","href":"/writing-rules/overview"}]},{"tab":"API","icon":"code","dropdowns":[{"dropdown":"v1","icon":"code","groups":[{"group":"Overview","pages":[{"title":"Semgrep API v1","href":"/api-reference/v1/Introduction"},{"title":"Authentication","href":"/api-reference/v1/Authentication"},{"title":"Terms of Use","href":"/api-reference/v1/Terms-of-Use"},{"title":"Changelog","href":"/api-reference/v1/Changelog"},{"title":"Deprecation Policy","href":"/api-reference/v1/Deprecation-Policy"}]},{"group":"Endpoints","pages":[{"group":"Code, Supply Chain, and AI-powered detection","pages":[{"title":"List code, supply chain, or AI-powered detection findings","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments/{deploymentSlug}/findings","href":"/api-reference/v1/findingsservice/list-code-supply-chain-or-ai-powered-detection-findings"}]},{"group":"Deployment","pages":[{"title":"List deployments","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments","href":"/api-reference/v1/deploymentsservice/list-deployments"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":true,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments/{deploymentId}/policies","href":"/api-reference/v1/policiesservice/list-policies"},{"title":"List policy rules","deprecated":true,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments/{deploymentId}/policies/{policyId}","href":"/api-reference/v1/policiesservice/list-policy-rules"},{"title":"Update policy","deprecated":true,"version":null,"openapi":"/public_v1.openapi.yaml put /api/v1/deployments/{deploymentId}/policies/{policyId}","href":"/api-reference/v1/policiesservice/update-policy"}]},{"group":"Projects","pages":[{"title":"Add tags to project","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml put /api/v1/deployments/{deploymentSlug}/projects/{projectName}/tags","href":"/api-reference/v1/projectsservice/add-tags-to-project"},{"title":"Remove tags from project","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml delete /api/v1/deployments/{deploymentSlug}/projects/{projectName}/tags","href":"/api-reference/v1/projectsservice/remove-tags-from-project"},{"title":"Get project details","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments/{deploymentSlug}/projects/{projectName}","href":"/api-reference/v1/projectsservice/get-project-details"},{"title":"Delete project","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml delete /api/v1/deployments/{deploymentSlug}/projects/{projectName}","href":"/api-reference/v1/projectsservice/delete-project"},{"title":"Update project details","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml patch /api/v1/deployments/{deploymentSlug}/projects/{projectName}","href":"/api-reference/v1/projectsservice/update-project-details"},{"title":"List all projects","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments/{deploymentSlug}/projects","href":"/api-reference/v1/projectsservice/list-all-projects"},{"title":"Toggle Managed Scans for a project","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml patch /api/v1/deployments/{deploymentSlug}/projects/{projectName}/managed-scan","href":"/api-reference/v1/projectsservice/toggle-managed-scans-for-a-project"}]},{"group":"Scans","pages":[{"title":"Get scan details","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments/{deploymentId}/scan/{scanId}","href":"/api-reference/v1/scansservice/get-scan-details"},{"title":"List scans (beta)","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentId}/scans/search","href":"/api-reference/v1/scansservice/list-scans-beta"}]},{"group":"Secrets","pages":[{"title":"List secrets","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments/{deploymentId}/secrets","href":"/api-reference/v1/secretsservice/list-secrets"}]},{"group":"Supply Chain","pages":[{"title":"Create a new SBOM export job","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentId}/sbom/export","href":"/api-reference/v1/supplychainservice/create-a-new-sbom-export-job"},{"title":"Get the status of a SBOM export job","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml get /api/v1/deployments/{deploymentId}/sbom/export/{taskToken}","href":"/api-reference/v1/supplychainservice/get-the-status-of-a-sbom-export-job"},{"title":"List dependencies","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentId}/dependencies","href":"/api-reference/v1/supplychainservice/list-dependencies"},{"title":"List lockfiles in a given repository with dependencies","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentId}/dependencies/repositories/{repositoryId}/lockfiles","href":"/api-reference/v1/supplychainservice/list-lockfiles-in-a-given-repository-with-dependencies"},{"title":"List repositories with dependencies","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentId}/dependencies/repositories","href":"/api-reference/v1/supplychainservice/list-repositories-with-dependencies"}]},{"group":"Ticketing","pages":[{"title":"Create Jira tickets","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentSlug}/tickets","href":"/api-reference/v1/ticketingservice/create-jira-tickets"},{"title":"Link an existing ticket to findings","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentId}/tickets/link","href":"/api-reference/v1/ticketingservice/link-an-existing-ticket-to-findings"},{"title":"Unlink a Jira ticket","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml delete /api/v1/deployments/{deploymentId}/ticketing/v2/tickets/{externalTicketId}","href":"/api-reference/v1/ticketingservice/unlink-a-jira-ticket"},{"title":"Unlink a ticket from findings","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentId}/tickets/unlink","href":"/api-reference/v1/ticketingservice/unlink-a-ticket-from-findings"}]},{"group":"Triage","pages":[{"title":"Bulk triage","deprecated":null,"version":null,"openapi":"/public_v1.openapi.yaml post /api/v1/deployments/{deploymentSlug}/triage","href":"/api-reference/v1/triageservice/bulk-triage"}]}]}]},{"dropdown":"v2 (Experimental)","icon":"flask","groups":[{"group":"Overview","pages":[{"title":"Semgrep API v2","href":"/api-reference/v2/Introduction"},{"title":"Authentication","href":"/api-reference/v2/Authentication"},{"title":"Terms of Use","href":"/api-reference/v2/Terms-of-Use"},{"title":"Changelog","href":"/api-reference/v2/Changelog"},{"title":"Deprecation Policy","href":"/api-reference/v2/Deprecation-Policy"}]},{"group":"Endpoints","pages":[{"group":"AI Fix Jobs","pages":[{"title":"Create fix job","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/issues/{issueId}/fix_jobs","href":"/api-reference/v2/aifixjobsservice/create-fix-job"}]},{"group":"AI tasks","pages":[{"title":"Create combined task","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/ai/{deploymentId}/combined_task","href":"/api-reference/v2/aitasksservice/create-combined-task"},{"title":"Get task info","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/ai/{deploymentId}/info","href":"/api-reference/v2/aitasksservice/get-task-info"}]},{"group":"Autofix","pages":[{"title":"Create autofix","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/v1/deployments/{deploymentId}/issues/{issueId}/autofix","href":"/api-reference/v2/autofixservice/create-autofix"}]},{"group":"Automations","pages":[{"title":"List automations","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/notifications/deployments/{deploymentId}/automations","href":"/api-reference/v2/automationsservice/list-automations"},{"title":"Create automation","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/notifications/deployments/{deploymentId}/automations","href":"/api-reference/v2/automationsservice/create-automation"},{"title":"Update automation","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/notifications/deployments/{deploymentId}/automations/{automationId}","href":"/api-reference/v2/automationsservice/update-automation"},{"title":"Delete automation","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/notifications/deployments/{deploymentId}/automations/{automationId}","href":"/api-reference/v2/automationsservice/delete-automation"},{"title":"List automations","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/v2/deployments/{deploymentId}/automations","href":"/api-reference/v2/automationsservice/list-automations-1"}]},{"group":"Autotriage Feedback","pages":[{"title":"Submit autotriage feedback","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/ai/deployments/{deploymentId}/autotriage_feedback","href":"/api-reference/v2/autotriagefeedbackservice/submit-autotriage-feedback"}]},{"group":"Deployment","pages":[{"title":"List deployment users","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/users","href":"/api-reference/v2/deploymentservice/list-deployment-users"},{"title":"Add deployment user","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/users","href":"/api-reference/v2/deploymentservice/add-deployment-user"},{"title":"Create deployment","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments","href":"/api-reference/v2/deploymentservice/create-deployment"},{"title":"Get deployment","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}","href":"/api-reference/v2/deploymentservice/get-deployment"},{"title":"Update deployment","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/agent/deployments/{deploymentId}","href":"/api-reference/v2/deploymentservice/update-deployment"},{"title":"Get deployment authorized actions","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/authorized_actions","href":"/api-reference/v2/deploymentservice/get-deployment-authorized-actions"},{"title":"Get deployment default user role","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/default_user_role","href":"/api-reference/v2/deploymentservice/get-deployment-default-user-role"},{"title":"Get deployment for current token","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployment","href":"/api-reference/v2/deploymentservice/get-deployment-for-current-token"},{"title":"Get deployment GitHub app status","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/github_app_status","href":"/api-reference/v2/deploymentservice/get-deployment-github-app-status"},{"title":"List deployment users (paginated)","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/users/list","href":"/api-reference/v2/deploymentservice/list-deployment-users-paginated"},{"title":"Remove deployment user","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/agent/deployments/{deploymentId}/users/{userId}","href":"/api-reference/v2/deploymentservice/remove-deployment-user"},{"title":"Send product toggle feedback","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/products/feedback","href":"/api-reference/v2/deploymentservice/send-product-toggle-feedback"},{"title":"Toggle cross-file analysis","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/has_deepsemgrep","href":"/api-reference/v2/deploymentservice/toggle-cross-file-analysis"},{"title":"Toggle dependency query","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/has_dependency_query","href":"/api-reference/v2/deploymentservice/toggle-dependency-query"},{"title":"Toggle triage via comment","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/has_triage_via_comment","href":"/api-reference/v2/deploymentservice/toggle-triage-via-comment"},{"title":"Update deployment user role","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/agent/deployments/{deploymentId}/users/{userId}/roles","href":"/api-reference/v2/deploymentservice/update-deployment-user-role"}]},{"group":"Deployment Products","pages":[{"title":"Get deployment product config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/products","href":"/api-reference/v2/deploymentproductsservice/get-deployment-product-config"},{"title":"Create or update deployment product config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/agent/deployments/{deploymentId}/products","href":"/api-reference/v2/deploymentproductsservice/create-or-update-deployment-product-config"},{"title":"Get deployment admin product config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/products/admin","href":"/api-reference/v2/deploymentproductsservice/get-deployment-admin-product-config"}]},{"group":"Deployment Tags","pages":[{"title":"Get a deployment tag","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/tags/{repositoryTag}","href":"/api-reference/v2/deploymenttagservice/get-a-deployment-tag"},{"title":"Create or update a deployment tag","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/agent/deployments/{deploymentId}/tags/{repositoryTag}","href":"/api-reference/v2/deploymenttagservice/create-or-update-a-deployment-tag"},{"title":"Delete a deployment tag","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/agent/deployments/{deploymentId}/tags/{repositoryTag}","href":"/api-reference/v2/deploymenttagservice/delete-a-deployment-tag"},{"title":"Find deployment tags with project counts","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/tags/find","href":"/api-reference/v2/deploymenttagservice/find-deployment-tags-with-project-counts"},{"title":"List deployment tags","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/tags","href":"/api-reference/v2/deploymenttagservice/list-deployment-tags"}]},{"group":"Deployments","pages":[{"title":"List deployments","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/v2/deployments","href":"/api-reference/v2/deploymentsservice/list-deployments"}]},{"group":"Editor","pages":[{"title":"Validate a rule against example code","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/run","href":"/api-reference/v2/editorservice/validate-a-rule-against-example-code"}]},{"group":"External Ticketing","pages":[{"title":"Create external tickets","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/create_tickets","href":"/api-reference/v2/externalticketingservice/create-external-tickets"},{"title":"Delete external ticket","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/tickets/{nangoExternalTicketId}","href":"/api-reference/v2/externalticketingservice/delete-external-ticket"},{"title":"Get external ticketing instances","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/notifications/deployments/{deploymentId}/ticketing/v2","href":"/api-reference/v2/externalticketingservice/get-external-ticketing-instances"},{"title":"Link an existing ticket to findings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/tickets/link","href":"/api-reference/v2/externalticketingservice/link-an-existing-ticket-to-findings"},{"title":"Unlink a ticket from findings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/tickets/unlink","href":"/api-reference/v2/externalticketingservice/unlink-a-ticket-from-findings"}]},{"group":"Global Ignores","pages":[{"title":"Get product ignores","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/ignores","href":"/api-reference/v2/ignoresservice/get-product-ignores"},{"title":"Create product ignores","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/ignores","href":"/api-reference/v2/ignoresservice/create-product-ignores"},{"title":"Delete product ignores","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/agent/deployments/{deploymentId}/ignores","href":"/api-reference/v2/ignoresservice/delete-product-ignores"},{"title":"Update product ignores","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/agent/deployments/{deploymentId}/ignores","href":"/api-reference/v2/ignoresservice/update-product-ignores"}]},{"group":"Infrastructure Configurations","pages":[{"title":"Get Managed Scans VPC bootstrap CloudFormation template","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/infra-config/bootstrap-sms-vpc","href":"/api-reference/v2/infrastructureconfigurationsservice/get-managed-scans-vpc-bootstrap-cloudformation-template"}]},{"group":"Issues","pages":[{"title":"Bulk update issues","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/agent/deployments/{deploymentId}/findings/v2","href":"/api-reference/v2/issuesservice/bulk-update-issues"},{"title":"Export issues","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/issues/export","href":"/api-reference/v2/issuesservice/export-issues"},{"title":"Get issue","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/issues/v2/{issueId}","href":"/api-reference/v2/issuesservice/get-issue"},{"title":"Get issue code snippets","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/issues/v2/{issueId}/code-snippets","href":"/api-reference/v2/issuesservice/get-issue-code-snippets"},{"title":"Get issue counts","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/issue_counts","href":"/api-reference/v2/issuesservice/get-issue-counts"},{"title":"Get issue filters","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/issue_filters","href":"/api-reference/v2/issuesservice/get-issue-filters"},{"title":"List issue groups","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/issues/search","href":"/api-reference/v2/issuesservice/list-issue-groups"},{"title":"List issues","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/issues","href":"/api-reference/v2/issuesservice/list-issues"},{"title":"List related issues","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/deployments/{deploymentId}/issues/{issueId}/related-issues","href":"/api-reference/v2/issuesservice/list-related-issues"}]},{"group":"Issues (Semgrep Agentic Workflows)","pages":[{"title":"Count issues","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/issues/{deploymentId}/counts","href":"/api-reference/v2/publicissuesservice/count-issues"},{"title":"Export issues as CSV","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/deployments/{deploymentId}/issue-exports","href":"/api-reference/v2/publicissuesservice/export-issues-as-csv"},{"title":"Get issue activity history","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/issues/{deploymentId}/issue/{issueId}/activity","href":"/api-reference/v2/publicissuesservice/get-issue-activity-history"},{"title":"Get issue by ID","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/issues/{deploymentId}/issue/{issueId}","href":"/api-reference/v2/publicissuesservice/get-issue-by-id"},{"title":"Triage issue","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/issues/{deploymentId}/issue/{issueId}","href":"/api-reference/v2/publicissuesservice/triage-issue"},{"title":"Get issue export","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/deployments/{deploymentId}/issue-exports/{exportId}","href":"/api-reference/v2/publicissuesservice/get-issue-export"},{"title":"List issues","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/issues/{deploymentId}/list","href":"/api-reference/v2/publicissuesservice/list-issues"}]},{"group":"Managed Scan Settings","pages":[{"title":"Get Semgrep Managed Scan settings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/managed_scan_settings","href":"/api-reference/v2/managedscansettingsservice/get-semgrep-managed-scan-settings"},{"title":"Create Semgrep Managed Scan settings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/managed_scan_settings","href":"/api-reference/v2/managedscansettingsservice/create-semgrep-managed-scan-settings"},{"title":"Update Semgrep Managed Scan settings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/agent/deployments/{deploymentId}/managed_scan_settings/{managedScanSettingsId}","href":"/api-reference/v2/managedscansettingsservice/update-semgrep-managed-scan-settings"},{"title":"Delete Semgrep Managed Scan settings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/agent/deployments/{deploymentId}/managed_scan_settings/{managedScanSettingsId}","href":"/api-reference/v2/managedscansettingsservice/delete-semgrep-managed-scan-settings"}]},{"group":"Memories","pages":[{"title":"Create memory","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/ai/deployments/{deploymentId}/memories","href":"/api-reference/v2/memoriesservice/create-memory"},{"title":"Create memory from triage","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/ai/deployments/{deploymentId}/memories/triage","href":"/api-reference/v2/memoriesservice/create-memory-from-triage"},{"title":"Update memory","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/ai/deployments/{deploymentId}/memories/{memoryId}","href":"/api-reference/v2/memoriesservice/update-memory"},{"title":"Delete memory","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/ai/deployments/{deploymentId}/memories/{memoryId}","href":"/api-reference/v2/memoriesservice/delete-memory"},{"title":"Find relevant issues","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/ai/deployments/{deploymentId}/relevant_issues","href":"/api-reference/v2/memoriesservice/find-relevant-issues"},{"title":"Get memories by IDs","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/ai/deployments/{deploymentId}/memories/ids","href":"/api-reference/v2/memoriesservice/get-memories-by-ids"},{"title":"Get memory statistics","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/ai/deployments/{deploymentId}/memories/stats","href":"/api-reference/v2/memoriesservice/get-memory-statistics"},{"title":"List memories","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/ai/deployments/{deploymentId}/memories/list","href":"/api-reference/v2/memoriesservice/list-memories"},{"title":"List suggested memories","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/ai/deployments/{deploymentId}/memories/suggested","href":"/api-reference/v2/memoriesservice/list-suggested-memories"}]},{"group":"Notification Rules","pages":[{"title":"Create notification rule","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/actions","href":"/api-reference/v2/notificationrulesservice/create-notification-rule"},{"title":"Replace notification rule","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/agent/deployments/{deploymentId}/actions/{notificationRuleId}","href":"/api-reference/v2/notificationrulesservice/replace-notification-rule"},{"title":"Delete notification rule","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/agent/deployments/{deploymentId}/actions/{notificationRuleId}","href":"/api-reference/v2/notificationrulesservice/delete-notification-rule"},{"title":"List notification rules","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/actions/list","href":"/api-reference/v2/notificationrulesservice/list-notification-rules"},{"title":"Test notification rule","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/actions/{notificationRuleId}/test","href":"/api-reference/v2/notificationrulesservice/test-notification-rule"}]},{"group":"Notification Webhooks","pages":[{"title":"List notification webhooks","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/notification_webhooks/deployments/{deploymentId}/webhooks","href":"/api-reference/v2/notificationwebhooksservice/list-notification-webhooks"},{"title":"Create notification webhook","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/notification_webhooks/deployments/{deploymentId}/webhooks","href":"/api-reference/v2/notificationwebhooksservice/create-notification-webhook"},{"title":"Get notification webhook","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/notification_webhooks/deployments/{deploymentId}/webhooks/{webhookId}","href":"/api-reference/v2/notificationwebhooksservice/get-notification-webhook"},{"title":"Update notification webhook","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/notification_webhooks/deployments/{deploymentId}/webhooks/{webhookId}","href":"/api-reference/v2/notificationwebhooksservice/update-notification-webhook"},{"title":"Delete notification webhook","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/notification_webhooks/deployments/{deploymentId}/webhooks/{webhookId}","href":"/api-reference/v2/notificationwebhooksservice/delete-notification-webhook"},{"title":"Test notification webhook","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/notification_webhooks/deployments/{deploymentId}/webhooks/{webhookId}/test","href":"/api-reference/v2/notificationwebhooksservice/test-notification-webhook"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":true,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/policies/v1/deployments/{deploymentId}","href":"/api-reference/v2/policiesservice/list-policies"},{"title":"List policy rules","deprecated":true,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/policies/v1/deployments/{deploymentId}/{policyId}/rules","href":"/api-reference/v2/policiesservice/list-policy-rules"},{"title":"Update policy rule","deprecated":true,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/policies/v1/deployments/{deploymentId}/{policyId}/rules/{rulePath}","href":"/api-reference/v2/policiesservice/update-policy-rule"}]},{"group":"Policies V2","pages":[{"title":"Get a detection policy","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/policies/v2/deployments/{deploymentId}/detection-policy/{product}","href":"/api-reference/v2/policiesv2service/get-a-detection-policy"},{"title":"Apply a detection policy","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml put /api/policies/v2/deployments/{deploymentId}/detection-policy/{product}","href":"/api-reference/v2/policiesv2service/apply-a-detection-policy"},{"title":"Get remediation policies","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/policies/v2/deployments/{deploymentId}/remediation-policies","href":"/api-reference/v2/policiesv2service/get-remediation-policies"},{"title":"Apply remediation policies","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml put /api/policies/v2/deployments/{deploymentId}/remediation-policies","href":"/api-reference/v2/policiesv2service/apply-remediation-policies"},{"title":"Get the detection policy summary","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/policies/v2/deployments/{deploymentId}/detection-policy","href":"/api-reference/v2/policiesv2service/get-the-detection-policy-summary"},{"title":"Get the policy vocabulary","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/policies/v2/deployments/{deploymentId}/vocab","href":"/api-reference/v2/policiesv2service/get-the-policy-vocabulary"},{"title":"Preview a detection policy apply","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/policies/v2/deployments/{deploymentId}/detection-policy/{product}:dryRun","href":"/api-reference/v2/policiesv2service/preview-a-detection-policy-apply"},{"title":"Preview a remediation policies apply","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/policies/v2/deployments/{deploymentId}/remediation-policies:dryRun","href":"/api-reference/v2/policiesv2service/preview-a-remediation-policies-apply"}]},{"group":"Projects","pages":[{"title":"Add Semgrep CI secrets to GitHub repositories","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/repos/_secret","href":"/api-reference/v2/projectsservice/add-semgrep-ci-secrets-to-github-repositories"},{"title":"Archive project","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/repos/{repoId}/archive","href":"/api-reference/v2/projectsservice/archive-project"},{"title":"Bulk archive projects","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/repos/_archive","href":"/api-reference/v2/projectsservice/bulk-archive-projects"},{"title":"Bulk edit projects by filter","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/agent/deployments/{deploymentId}/repos/filtered","href":"/api-reference/v2/projectsservice/bulk-edit-projects-by-filter"},{"title":"Bulk edit selected projects","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/agent/deployments/{deploymentId}/repos","href":"/api-reference/v2/projectsservice/bulk-edit-selected-projects"},{"title":"Get project","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/v2/deployments/{deploymentId}/projects/{projectId}","href":"/api-reference/v2/projectsservice/get-project"},{"title":"Delete project","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/v2/deployments/{deploymentId}/projects/{projectId}","href":"/api-reference/v2/projectsservice/delete-project"},{"title":"Get branch","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/v2/deployments/{deploymentId}/projects/{projectId}/branches/{branchId}","href":"/api-reference/v2/projectsservice/get-branch"},{"title":"Get project count","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/repos/count","href":"/api-reference/v2/projectsservice/get-project-count"},{"title":"List project IDs by tag","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/repos/by-tag","href":"/api-reference/v2/projectsservice/list-project-ids-by-tag"},{"title":"List projects","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/v2/deployments/{deploymentId}/projects/list","href":"/api-reference/v2/projectsservice/list-projects"},{"title":"Provision Semgrep CI GitHub Actions","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/repos/_provision","href":"/api-reference/v2/projectsservice/provision-semgrep-ci-github-actions"},{"title":"Sync all projects to SCM","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/repos/_refresh_async","href":"/api-reference/v2/projectsservice/sync-all-projects-to-scm"},{"title":"Sync project to SCM","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/repos/{repoId}/_sync","href":"/api-reference/v2/projectsservice/sync-project-to-scm"},{"title":"Update project","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/agent/deployments/{deploymentId}/repos/{idOrName}","href":"/api-reference/v2/projectsservice/update-project"}]},{"group":"Projects - Managed Scan Settings","pages":[{"title":"Bulk get many projects' Managed Scan settings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/sms/v2/deployments/{deploymentId}/project_settings","href":"/api-reference/v2/projectmanagedscansettingsservice/bulk-get-many-projects-managed-scan-settings"},{"title":"Get a project's Managed Scan settings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/sms/v2/deployments/{deploymentId}/projects/{projectId}/settings","href":"/api-reference/v2/projectmanagedscansettingsservice/get-a-projects-managed-scan-settings"}]},{"group":"Reporting","pages":[{"title":"Get backlog by product report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/backlog/by-product","href":"/api-reference/v2/reportsservice/get-backlog-by-product-report"},{"title":"Get backlog by rule report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/backlog/by-rule","href":"/api-reference/v2/reportsservice/get-backlog-by-rule-report"},{"title":"Get backlog by severity report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/backlog/by-severity","href":"/api-reference/v2/reportsservice/get-backlog-by-severity-report"},{"title":"Get findings activity report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/activity","href":"/api-reference/v2/reportsservice/get-findings-activity-report"},{"title":"Get findings by project and product report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/by-project/by-product","href":"/api-reference/v2/reportsservice/get-findings-by-project-and-product-report"},{"title":"Get findings by project and severity report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/by-project/by-severity","href":"/api-reference/v2/reportsservice/get-findings-by-project-and-severity-report"},{"title":"Get findings funnel report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/funnel","href":"/api-reference/v2/reportsservice/get-findings-funnel-report"},{"title":"Get guardrails activity report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/guardrails-activity","href":"/api-reference/v2/reportsservice/get-guardrails-activity-report"},{"title":"Get guardrails adoption report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/guardrails-adoption","href":"/api-reference/v2/reportsservice/get-guardrails-adoption-report"},{"title":"Get Malware Firewall blocked malicious dependencies by advisory report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/malware-firewall/blocked-mal-deps/by-advisory","href":"/api-reference/v2/reportsservice/get-malware-firewall-blocked-malicious-dependencies-by-advisory-report"},{"title":"Get Malware Firewall blocked malicious dependencies by dependency, version, and ecosystem report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/malware-firewall/blocked-mal-deps/by-dep-version-and-ecosystem","href":"/api-reference/v2/reportsservice/get-malware-firewall-blocked-malicious-dependencies-by-dependency-version-and-ecosystem-report"},{"title":"Get Malware Firewall blocked malicious dependencies by ecosystem report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/malware-firewall/blocked-mal-deps/by-ecosystem","href":"/api-reference/v2/reportsservice/get-malware-firewall-blocked-malicious-dependencies-by-ecosystem-report"},{"title":"Get Malware Firewall scan activity report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/malware-firewall/scan-activity","href":"/api-reference/v2/reportsservice/get-malware-firewall-scan-activity-report"},{"title":"Get Malware Firewall summary report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/malware-firewall/summary","href":"/api-reference/v2/reportsservice/get-malware-firewall-summary-report"},{"title":"Get median open age by product report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/median-open-age/by-product","href":"/api-reference/v2/reportsservice/get-median-open-age-by-product-report"},{"title":"Get median open age by severity report","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/reports/median-open-age/by-severity","href":"/api-reference/v2/reportsservice/get-median-open-age-by-severity-report"},{"title":"Get report findings","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/reporting/{deploymentId}/findings","href":"/api-reference/v2/reportsservice/get-report-findings"}]},{"group":"Review Comment Product Content","pages":[{"title":"List review comment product content","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/deployments/{deploymentId}/scm_comment_product_content","href":"/api-reference/v2/reviewcommentproductcontentservice/list-review-comment-product-content"},{"title":"Create review comment product content","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/deployments/{deploymentId}/scm_comment_product_content","href":"/api-reference/v2/reviewcommentproductcontentservice/create-review-comment-product-content"},{"title":"Update review comment product content","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/deployments/{deploymentId}/scm_comment_product_content/{reviewCommentProductContentId}","href":"/api-reference/v2/reviewcommentproductcontentservice/update-review-comment-product-content"},{"title":"Delete review comment product content","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/deployments/{deploymentId}/scm_comment_product_content/{reviewCommentProductContentId}","href":"/api-reference/v2/reviewcommentproductcontentservice/delete-review-comment-product-content"}]},{"group":"Ruleboards","pages":[{"title":"List ruleboards","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/ruleboards","href":"/api-reference/v2/ruleboardservice/list-ruleboards"},{"title":"Create ruleboard","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/ruleboards","href":"/api-reference/v2/ruleboardservice/create-ruleboard"},{"title":"Get ruleboard","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/ruleboards/{ruleboardSlug}","href":"/api-reference/v2/ruleboardservice/get-ruleboard"},{"title":"Update ruleboard","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/agent/deployments/{deploymentId}/ruleboards/{ruleboardSlug}","href":"/api-reference/v2/ruleboardservice/update-ruleboard"},{"title":"Delete ruleboard","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/agent/deployments/{deploymentId}/ruleboards/{ruleboardSlug}","href":"/api-reference/v2/ruleboardservice/delete-ruleboard"},{"title":"Get ruleboard finding counts","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/ruleboards/{ruleboardSlug}/finding_counts","href":"/api-reference/v2/ruleboardservice/get-ruleboard-finding-counts"},{"title":"Get ruleboard overview","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/ruleboards/{ruleboardSlug}/overview","href":"/api-reference/v2/ruleboardservice/get-ruleboard-overview"},{"title":"Update ruleboard overview","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/agent/deployments/{deploymentId}/ruleboards/{ruleboardSlug}/overview","href":"/api-reference/v2/ruleboardservice/update-ruleboard-overview"}]},{"group":"Scans","pages":[{"title":"Get scan","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/v2/deployments/{deploymentId}/scans/{scanId}","href":"/api-reference/v2/scansservice/get-scan"},{"title":"List scan subproject stats","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/deployments/{deploymentId}/scans/{scanId}/subproject-stats","href":"/api-reference/v2/scansservice/list-scan-subproject-stats"},{"title":"List scans","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/v2/deployments/{deploymentId}/projects/{projectId}/scans/list","href":"/api-reference/v2/scansservice/list-scans"},{"title":"Retry failed Managed Scans","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/v2/deployments/{deploymentId}/scans/retry","href":"/api-reference/v2/scansservice/retry-failed-managed-scans"}]},{"group":"Semgrep Agentic Workflows","pages":[{"title":"Get workflow job findings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/workflows/v1/deployments/{deploymentId}/jobs/id/{jobId}/findings","href":"/api-reference/v2/semgrepworkflowsservice/get-workflow-job-findings"},{"title":"Get workflow job overview","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/workflows/v1/deployments/{deploymentId}/jobs/id/{jobId}/overview","href":"/api-reference/v2/semgrepworkflowsservice/get-workflow-job-overview"},{"title":"List available workflow types","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/workflows/v1/deployments/{deploymentId}/registry","href":"/api-reference/v2/semgrepworkflowsservice/list-available-workflow-types"},{"title":"List workflow jobs","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/workflows/v1/deployments/{deploymentId}/jobs/list","href":"/api-reference/v2/semgrepworkflowsservice/list-workflow-jobs"},{"title":"Trigger a workflow run","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/workflows/v1/deployments/{deploymentId}/trigger","href":"/api-reference/v2/semgrepworkflowsservice/trigger-a-workflow-run"}]},{"group":"Slack","pages":[{"title":"Get Slack installation details","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/slack/installations","href":"/api-reference/v2/slackservice/get-slack-installation-details"},{"title":"Delete Slack installation","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/agent/deployments/{deploymentId}/slack/installations","href":"/api-reference/v2/slackservice/delete-slack-installation"},{"title":"Get Slack app installation URL","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/slack/install","href":"/api-reference/v2/slackservice/get-slack-app-installation-url"},{"title":"Get Slack channel mappings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/slack/channel_mappings","href":"/api-reference/v2/slackservice/get-slack-channel-mappings"},{"title":"Get Slack notification mappings","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/slack/channels","href":"/api-reference/v2/slackservice/get-slack-notification-mappings"},{"title":"Handle Slack OAuth callback","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/slack/oauth/callback","href":"/api-reference/v2/slackservice/handle-slack-oauth-callback"}]},{"group":"Source Code Management (SCM) apps","pages":[{"title":"Add Azure DevOps project","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/scm/deployments/{deploymentId}/scm_apps/{scmAppId}/add_ado_project","href":"/api-reference/v2/scmappsservice/add-azure-devops-project"},{"title":"Complete Azure DevOps SCM app install","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/scm/ado_app_install","href":"/api-reference/v2/scmappsservice/complete-azure-devops-scm-app-install"},{"title":"Complete Cursor Origin installation","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/deployments/{deploymentId}/cursor-installations/{requestId}/receipt","href":"/api-reference/v2/scmappsservice/complete-cursor-origin-installation"},{"title":"Complete SCM app request","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/scm/app_request_complete","href":"/api-reference/v2/scmappsservice/complete-scm-app-request"},{"title":"Create Azure DevOps SCM app (Service Principal)","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/scm/ado_app","href":"/api-reference/v2/scmappsservice/create-azure-devops-scm-app-service-principal"},{"title":"Create SCM app request","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/scm/app_request","href":"/api-reference/v2/scmappsservice/create-scm-app-request"},{"title":"Delete SCM app","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/scm/deployments/{deploymentId}/scm_apps/{scmAppId}","href":"/api-reference/v2/scmappsservice/delete-scm-app"},{"title":"Get public GitHub app status","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/scm/deployments/{deploymentId}/scm_apps/public_gha","href":"/api-reference/v2/scmappsservice/get-public-github-app-status"},{"title":"Get SCM app","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/scm/deployments/{deploymentId}/scm_apps/{requestId}","href":"/api-reference/v2/scmappsservice/get-scm-app"},{"title":"List SCM apps","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/scm/deployments/{deploymentId}/scm_apps","href":"/api-reference/v2/scmappsservice/list-scm-apps"},{"title":"Rotate SCM app webhook secret","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/scm/deployments/{deploymentId}/scm_apps/{scmAppId}/rotate_webhook_secret","href":"/api-reference/v2/scmappsservice/rotate-scm-app-webhook-secret"},{"title":"Start Cursor Origin installation","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/deployments/{deploymentId}/cursor-installations","href":"/api-reference/v2/scmappsservice/start-cursor-origin-installation"}]},{"group":"Source Code Management (SCM) configurations","pages":[{"title":"Check SCM config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/scm/deployments/{deploymentId}/configs/{configId}/check","href":"/api-reference/v2/scmservice/check-scm-config"},{"title":"List SCM configs","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/scm/deployments/{deploymentId}/configs","href":"/api-reference/v2/scmservice/list-scm-configs"},{"title":"Create SCM config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/scm/deployments/{deploymentId}/configs","href":"/api-reference/v2/scmservice/create-scm-config"},{"title":"Delete SCM config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/scm/deployments/{deploymentId}/configs/{configId}","href":"/api-reference/v2/scmservice/delete-scm-config"},{"title":"Update SCM config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/scm/deployments/{deploymentId}/configs/{configId}","href":"/api-reference/v2/scmservice/update-scm-config"},{"title":"Search SCM configs","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/scm/deployments/{deploymentId}/configs/search","href":"/api-reference/v2/scmservice/search-scm-configs"},{"title":"Sync SCM config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/scm/deployments/{deploymentId}/configs/{configId}/_sync","href":"/api-reference/v2/scmservice/sync-scm-config"}]},{"group":"Source Code Management (SCM) webhooks","pages":[{"title":"List SCM webhook subscriptions","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/scm/deployments/{deploymentId}/subscriptions/{configId}","href":"/api-reference/v2/scmsubscriptionsservice/list-scm-webhook-subscriptions"},{"title":"Subscribe to SCM webhook","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/scm/deployments/{deploymentId}/subscriptions/{configId}","href":"/api-reference/v2/scmsubscriptionsservice/subscribe-to-scm-webhook"},{"title":"Unsubscribe from SCM webhook","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/scm/deployments/{deploymentId}/subscriptions/{configId}","href":"/api-reference/v2/scmsubscriptionsservice/unsubscribe-from-scm-webhook"},{"title":"Rotate SCM webhook secret","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/scm/deployments/{deploymentId}/subscriptions/{configId}/rotate_secret","href":"/api-reference/v2/scmsubscriptionsservice/rotate-scm-webhook-secret"}]},{"group":"Supply Chain","pages":[{"title":"Generate a project's SBOM","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/sca/deployments/{deploymentId}/sbom_async","href":"/api-reference/v2/supplychain2service/generate-a-projects-sbom"},{"title":"List dependencies","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/sca/deployments/{deploymentId}/dependencies","href":"/api-reference/v2/supplychain2service/list-dependencies"},{"title":"List dependencies","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/sca/deployments/{deploymentId}/dependencies","href":"/api-reference/v2/supplychain2service/list-dependencies-1"},{"title":"List findings for advisory","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/sca/deployments/{deploymentId}/advisories/{advisoryId}/findings","href":"/api-reference/v2/supplychain2service/list-findings-for-advisory"},{"title":"List lockfiles with dependencies in a given repository","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/sca/deployments/{deploymentId}/{repositoryId}/lockfiles","href":"/api-reference/v2/supplychain2service/list-lockfiles-with-dependencies-in-a-given-repository"},{"title":"List repositories with dependencies","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/sca/deployments/{deploymentId}/repositories","href":"/api-reference/v2/supplychain2service/list-repositories-with-dependencies"}]},{"group":"Supply Chain - Managed Scans dependency resolution configurations","pages":[{"title":"Get SCA resolution configs","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/projects/{projectId}/resolution_configs","href":"/api-reference/v2/smsscaresolutionconfigservice/get-sca-resolution-configs"}]},{"group":"Supply Chain - Managed Scans package manager configurations","pages":[{"title":"List package manager auth configs","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/deployments/{deploymentId}/packagemanagerauthconfigs","href":"/api-reference/v2/smspackagemanagerconfigservice/list-package-manager-auth-configs"},{"title":"Create package manager auth config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/agent/deployments/{deploymentId}/packagemanagerauthconfigs","href":"/api-reference/v2/smspackagemanagerconfigservice/create-package-manager-auth-config"},{"title":"Delete package manager auth config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/agent/deployments/{deploymentId}/packagemanagerauthconfigs/{packageManagerConfigId}","href":"/api-reference/v2/smspackagemanagerconfigservice/delete-package-manager-auth-config"},{"title":"Update package manager auth config","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml patch /api/agent/deployments/{deploymentId}/packagemanagerauthconfigs/{packageManagerConfigId}","href":"/api-reference/v2/smspackagemanagerconfigservice/update-package-manager-auth-config"}]},{"group":"Tasks","pages":[{"title":"Get task result","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/tasks/v2/{taskTokenJwt}","href":"/api-reference/v2/tasksservice/get-task-result"}]},{"group":"Teams","pages":[{"title":"Check RBAC status","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/permissions/v2/deployments/{deploymentId}/status","href":"/api-reference/v2/teamsservice/check-rbac-status"},{"title":"Create a deployment RBAC team","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/permissions/v2/deployments/{deploymentId}/teams","href":"/api-reference/v2/teamsservice/create-a-deployment-rbac-team"},{"title":"Get a deployment RBAC team","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/permissions/v2/deployments/{deploymentId}/teams/{teamId}","href":"/api-reference/v2/teamsservice/get-a-deployment-rbac-team"},{"title":"Delete a deployment RBAC team","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml delete /api/permissions/v2/deployments/{deploymentId}/teams/{teamId}","href":"/api-reference/v2/teamsservice/delete-a-deployment-rbac-team"},{"title":"Update a deployment RBAC team","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml patch /api/permissions/v2/deployments/{deploymentId}/teams/{teamId}","href":"/api-reference/v2/teamsservice/update-a-deployment-rbac-team"},{"title":"List an RBAC team's child teams","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/permissions/v2/deployments/{deploymentId}/teams/{teamId}/teams","href":"/api-reference/v2/teamsservice/list-an-rbac-teams-child-teams"},{"title":"List an RBAC team's repositories","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/permissions/v2/deployments/{deploymentId}/teams/{teamId}/repos","href":"/api-reference/v2/teamsservice/list-an-rbac-teams-repositories"},{"title":"List an RBAC team's users","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml get /api/permissions/v2/deployments/{deploymentId}/teams/{teamId}/members","href":"/api-reference/v2/teamsservice/list-an-rbac-teams-users"},{"title":"List deployment teams","deprecated":null,"version":null,"tag":"Beta","openapi":"/public_v2.openapi.yaml post /api/permissions/v2/deployments/{deploymentId}/teams/list","href":"/api-reference/v2/teamsservice/list-deployment-teams"}]},{"group":"Tokens","pages":[{"title":"Delete tokens","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/tokens/v1/deployments/{deploymentId}/tokens","href":"/api-reference/v2/tokenservice/delete-tokens"}]},{"group":"Versions","pages":[{"title":"Get project version info","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/versions/{deploymentId}/project-info/{product}","href":"/api-reference/v2/versionsservice/get-project-version-info"}]},{"group":"Wiz Credentials","pages":[{"title":"List Wiz credentials","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/notifications/deployments/{deploymentId}/wiz","href":"/api-reference/v2/wizcredentialservice/list-wiz-credentials"},{"title":"Create Wiz credential","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/notifications/deployments/{deploymentId}/wiz","href":"/api-reference/v2/wizcredentialservice/create-wiz-credential"},{"title":"Get Wiz credential","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/notifications/deployments/{deploymentId}/wiz/{id}","href":"/api-reference/v2/wizcredentialservice/get-wiz-credential"},{"title":"Update Wiz credential","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml put /api/notifications/deployments/{deploymentId}/wiz/{id}","href":"/api-reference/v2/wizcredentialservice/update-wiz-credential"},{"title":"Delete Wiz credential","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml delete /api/notifications/deployments/{deploymentId}/wiz/{id}","href":"/api-reference/v2/wizcredentialservice/delete-wiz-credential"},{"title":"Validate Wiz credential","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml post /api/notifications/deployments/{deploymentId}/wiz/validate","href":"/api-reference/v2/wizcredentialservice/validate-wiz-credential"}]},{"group":"Other","pages":[{"title":"Get identity","deprecated":null,"version":null,"tag":"Experimental","openapi":"/public_v2.openapi.yaml get /api/agent/identity","href":"/api-reference/v2/miscservice/get-identity"}]}]}]}]},{"tab":"Help","icon":"circle-question","menu":[{"item":"Knowledge base","icon":"book","pages":[{"title":"Knowledge base","href":"/kb"}]},{"item":"Learning guides","icon":"graduation-cap","pages":[{"title":"Learning guides","href":"/learn"}]},{"item":"Support","icon":"headset","pages":[{"title":"Support","href":"/support"}]}],"pages":[{"title":"Help","href":"/kb"}]},{"tab":"Explore","icon":"compass","menu":[{"item":"What's Semgrep","icon":"sparkles","pages":[{"title":"What's Semgrep","href":"/introduction"}]},{"item":"For developers","icon":"code","pages":[{"title":"For developers","href":"/for-developers/overview"}]},{"item":"References","icon":"code-simple","pages":[{"title":"References","href":"/category/ci-references"}]},{"item":"Support \u0026 resources","icon":"headset","pages":[{"title":"Support \u0026 resources","href":"/support"}]},{"item":"Registry","icon":"database","href":"https://semgrep.dev/explore"},{"item":"Playground","icon":"codepen","href":"https://semgrep.dev/playground/new"},{"item":"Semgrep Academy","icon":"graduation-cap","href":"https://academy.semgrep.dev/"}],"pages":[{"title":"Explore","href":"/introduction"}]},{"tab":"What's New","icon":"bullhorn","menu":[{"item":"What's New","icon":"sparkles","pages":[{"title":"What's New","href":"/whats-new"}]},{"item":"Release notes","icon":"newspaper","pages":[{"title":"Release notes","href":"/release-notes/2026-11-16"}]}],"pages":[{"title":"What's New","href":"/whats-new"}]}]},"basePath":"","title":"Add a Bitbucket repository to Semgrep Managed Scans - Semgrep","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CG7QalVD.js","DynamicMarkdown-B_9ywLDq.js","zoom-image-lightbox-uS0aI388.js","lightbox-handle-r17bVUz3.js"]}