New --experimental flag to switch to a new implementation of Semgrep entirely written in OCaml with the following benefits:
Faster startup time
Incremental display of matches
AST (abstract syntax tree) and registry caching
A new interactive mode
CAUTIONNot all Semgrep features have been ported to the OCaml implementation.
Added a new field metavariable-type to Semgrep rule syntax. We at Semgrep have added a dedicated field for annotating the type information of metavariables. By adopting this approach, instead of relying solely on language-specific casting syntax, such as Java’s String class, we improve usability by eliminating the need to write redundant type cast expressions for a single metavariable (#8119).
The new syntax improves support for target languages that lack built-in casting syntax.
It also promotes a unified approach to expressing type, pattern, and regex constraints for metavariables, resulting in better consistency across rule definitions.
The following is an example rule written with the current and new metavariable-type syntax:
The metavariable-type field is now supported for the following languages (#8148, #8165,#8126):
Kotlin
Go
Scala
C#
TypeScript
PHP
Rust
Python
Pattern syntax: You can now introduce metavariables from parts of regular expressions using pattern-regex, by using regular expressions with named capturing groups. Such capture group metavariables must be explicitly named.
For example, the pattern:
pattern-regex: "foo-(?P<X>.*)"
binds what is matched by the capture group ?P<X> to the metavariable $X, which can be used as normal.
pattern-regex patterns with capture groups, such as pattern-regex: "(.*)" still introduce metavariables of the form $1, $2, and so on, but this should be considered deprecated behavior, and that functionality will be taken away in a future release. Named capturing groups should be used instead. (#8115)
Rule syntax: Error messages for rule parsing have been improved. For instance, parsing now complains if you miss a hyphen in a list of patterns, or if you try to give a string to patterns or pattern-either. (#8098).
JavaScript and TypeScript (#8112): Now, patterns of records with ellipses, such as:
{ $X: ... }
Properly match to records of anonymous functions, such as:
{ func: () => { return 1; }}
Matching: Writing a pattern which is a sequence of statements, such as
foo();...bar();
now allows matching to sequences of statements within objects, classes, and related language constructs, in all languages (#8052).
Added support for post-PEP 614 decorators. (#8100). Now Semgrep accepts decorators of the form @ named_expr_test NEWLINE, for example with the pattern:
Constant propagation is now applied to stack array declarations in C. A pattern $TYPE $NAME[101]; now produces two matches in the following snippet (#8085):
int main() { int bad_len = 101; /* match 1 */ int arr1[101]; /* match 2 */ int arr2[bad_len]; return 0;}
Solidity: Allow metavariables for versions. This can be used for the pragma directive in Solidity. For example: >= $VER; (#8105)
PHP (#8107): Added support for parsing patterns of the form: #[Attr1], #[Attr2] in code such as:
#[Attr1]#[Attr2]function test (){ echo "Test";}
Previously, to match against multiple attributes it was required to write #[Attr1, Attr2].
Added lone decorators as a valid Python Semgrep pattern (#8047), so for example $NAME($X) now generates two separate findings here:
JavaScript and TypeScript: Patterns for class properties can now have the static and async modifiers.
For instance:
@Foo(...)async bar(...) { ...}
or
@Foo(...)static bar(...) { ...}
Semgrep VS Code extension: Semgrep Language Server now supports multi-folder workspaces. (#7966)
New pre-commit hook semgrep-ci to use CI rules in pre-commit, which uses rules from the Policies page and blocks PRs when detecting findings from rules in Block mode (#7973).
Added support for date comparison and functionality to get current date. This requires date strings to be in the format “yyyy-mm-dd” (#8053).
The output of --debug is now less verbose by default. It now shows internal warning and error messages. Alternatively, use --verbose for detailed scan information.
Updated the maximum number of cores autodetected to 16 to prevent overloading on large machines when users do not specify number of jobs themselves. (#8028)
Taint mode: Several improvements to taint_assume_safe_{booleans,numbers} options. Most notably, we now use type info provided by explicit type casts, and we also use const-prop info to infer types.
Taint analysis: Improve handling of dataflow for tainted value propagation in class field definitions
This change resolves an issue where dataflow was not correctly accounted for when tainted values flowed through field definitions in class/object definitions. For instance, in Kotlin or Scala, singleton objects are commonly used to encapsulate executable logic, where each field definition behaves like a statement during object initialization. In order to handle this scenario, we have introduced an additional step to analyze a sequence of field definitions as a sequence of statements for taint analysis. This enhancement allows us to accurately track tainted values during object initialization. (#7742)
Allow any characters in file paths used to create dotted rule IDs. File path characters that aren’t allowed in rule IDs are simply removed. For example, a rule whose ID is my-rule found in the file hello/@world/rules.yaml becomes hello.world.my-rule. (#8057)
Fixed a typing issue with Go. Previously, the pattern ($VAR : *tau.rho).$F() wouldn’t produce a match in the following:
func f() { i_1 := &tau.rho{} i_2 := new(tau.rho) i_1.shift() //miss one i_2.left() //miss two return 101}
but now Semgrep doesn’t miss those two findings. (#8125)
You can now rename projects (repositories). This feature may be useful when you change the name of your repository in your source code manager. To rename a project from within Semgrep Cloud Platform, do the following: i. Click Projects. ii. Click the gear icon on the entry of the project you want to rename. iii. Click the three-dot icon > Rename project. iv. Enter the name of the new project and click Rename.
You can now select a default RBAC (role-based access control) role. Refer to Setting a default role.
The Policies page is now the default page used to manage rules. See the Policies documentation for more information.
Semgrep Pro Engine for Java: Semgrep’s taint mode can now relate Java properties and their corresponding getters or setters even when these are autogenerated, so the actual getters or setters are not declared in the sources.
Findings page: Added a badge to identify security-related findings.
Findings page: You can now select a range of findings cards at once while pressing Shift.
A new setting lets you configure where Semgrep Assistant’s triage suggestions appear. You can receive Semgrep Assistant messages within your Slack or GitHub PR comments.
Added a new drop-down menu to set a minimum autofix confidence level required to display autofix suggestions from Semgrep Assistant.
{"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":"6af36bf00e8abdf152c2eb5c","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API","count":244},{"language":"default","tag":"Endpoints","count":234},{"language":"default","tag":"v2 (Experimental)","count":214},{"language":"default","tag":"Knowledge base","count":174},{"language":"default","tag":"Help","count":144},{"language":"default","tag":"Scan \u0026 secure","count":124},{"language":"default","tag":"Set up and deploy scans","count":51},{"language":"default","tag":"Scan and triage","count":37},{"language":"default","tag":"What's New","count":34},{"language":"default","tag":"Core deployment","count":33}],"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"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}"}],"page":{"pagePath":"release-notes/june-2023","slug":"/release-notes/june-2023","pageMetadata":{"title":"June 2023","description":"June 30, 2023 · 7 min read","href":"/release-notes/june-2023"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"June 30, 2023 · 7 min read\"\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`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Icon,OptimizedImage,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Icon)_missingMdxReference(`Icon`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`semgrep-oss-engine`,children:`Semgrep OSS Engine`}),`\n`,_jsxs(_components.p,{children:[`This section of release notes includes upgrades of Semgrep OSS Engine for versions ranging between `,_jsx(_components.strong,{children:`1.27.0`}),` and `,_jsx(_components.strong,{children:`1.30.0`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`added`,children:`Added`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`New `,_jsx(_components.code,{children:`--experimental`}),` flag to switch to a new implementation of Semgrep entirely written in OCaml with the following benefits:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Faster startup time`}),`\n`,_jsx(_components.li,{children:`Incremental display of matches`}),`\n`,_jsx(_components.li,{children:`AST (abstract syntax tree) and registry caching`}),`\n`,_jsx(_components.li,{children:`A new interactive mode`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`CAUTION`})}),_jsx(_components.p,{children:`Not all Semgrep features have been ported to the OCaml implementation.`})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Added a new field `,_jsx(_components.code,{children:`metavariable-type`}),` to Semgrep rule syntax. We at Semgrep have added a dedicated field for annotating the type information of metavariables. By adopting this approach, instead of relying solely on language-specific casting syntax, such as Java’s `,_jsx(_components.code,{children:`String`}),` class, we improve usability by eliminating the need to write redundant type cast expressions for a single metavariable (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8148`,children:`#8119`}),`).`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The new syntax improves support for target languages that lack built-in casting syntax.`}),`\n`,_jsx(_components.li,{children:`It also promotes a unified approach to expressing type, pattern, and regex constraints for metavariables, resulting in better consistency across rule definitions.`}),`\n`,_jsxs(_components.li,{children:[`The following is an example rule written with the current and new `,_jsx(_components.code,{children:`metavariable-type`}),` syntax:`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Current syntax without metavariable-type`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` rules`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`no-string-eqeq`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` severity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`WARNING`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`find errors`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` languages`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`java`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` patterns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`pattern-not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`null == (String $Y)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`pattern`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`$X == (String $Y)`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# New syntax with metavariable-type`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rules`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`no-string-eqeq`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` severity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`WARNING`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`find errors`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` languages`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`java`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` patterns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`pattern-not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`null == $Y`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`pattern`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`$X == $Y`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`metavariable-type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` metavariable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`$Y`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`String`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`metavariable-type`}),` field is now supported for the following languages (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8148`,children:`#8148`}),`, `,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8165`,children:`#8165`}),`,`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8126`,children:`#8126`}),`):`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Kotlin`}),`\n`,_jsx(_components.li,{children:`Go`}),`\n`,_jsx(_components.li,{children:`Scala`}),`\n`,_jsx(_components.li,{children:`C#`}),`\n`,_jsx(_components.li,{children:`TypeScript`}),`\n`,_jsx(_components.li,{children:`PHP`}),`\n`,_jsx(_components.li,{children:`Rust`}),`\n`,_jsx(_components.li,{children:`Python`}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Pattern syntax: You can now introduce metavariables from parts of regular expressions using `,_jsx(_components.code,{children:`pattern-regex`}),`, by using regular expressions with `,_jsx(_components.a,{href:`https://www.regular-expressions.info/named.html`,children:`named capturing groups`}),`. Such capture group metavariables must be explicitly named.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`For example, the pattern:`,`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`pattern-regex: \"foo-(?P\u003cX>.*)\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,`binds what is matched by the capture group `,_jsx(_components.code,{children:`?P\u003cX>`}),` to the metavariable `,_jsx(_components.code,{children:`$X`}),`, which can be used as normal.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pattern-regex`}),` patterns with capture groups, such as `,_jsx(_components.code,{children:`pattern-regex: \"(.*)\"`}),` still introduce metavariables of the form `,_jsx(_components.code,{children:`$1`}),`, `,_jsx(_components.code,{children:`$2`}),`, and so on, but this should be considered deprecated behavior, and that functionality will be taken away in a future release. Named capturing groups should be used instead. (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8115`,children:`#8115`}),`)`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Rule syntax: Error messages for rule parsing have been improved. For instance, parsing now complains if you miss a hyphen in a list of patterns, or if you try to give a string to `,_jsx(_components.code,{children:`patterns`}),` or pattern-either. (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8098`,children:`#8098`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`JavaScript and TypeScript (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8112`,children:`#8112`}),`): Now, patterns of records with ellipses, such as:`,`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{ $X: ... }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,`Properly match to records of anonymous functions, such as:`,`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` func: () => { return 1; }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Matching: Writing a pattern which is a sequence of statements, such as`,`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`foo();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`bar();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,`now allows matching to sequences of statements within objects, classes, and related language constructs, in all languages (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8052`,children:`#8052`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Added support for post-PEP 614 decorators. (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8100`,children:`#8100`}),`). Now Semgrep accepts decorators of the form `,_jsx(_components.code,{children:`@ named_expr_test NEWLINE`}),`, for example with the pattern:`,`\n`,_jsx(CodeBlock,{numberOfLines:`11`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`lambda $X:$X($X):`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`#match 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`@omega := lambda ha:ha(ha)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`def func():`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` return None`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`#match 2`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`@omega[lambda a:a(a)].a.b.c.f(\"wahoo\")`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`def fun():`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` return None`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Constant propagation is now applied to stack array declarations in C. A pattern `,_jsx(_components.code,{children:`$TYPE $NAME[101];`}),` now produces two matches in the following snippet (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8085`,children:`#8085`}),`):`,`\n`,_jsx(CodeBlock,{numberOfLines:`10`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`int main() {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` int bad_len = 101;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` /* match 1 */`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` int arr1[101];`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` /* match 2 */`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` int arr2[bad_len];`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` return 0;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Solidity: Allow metavariables for versions. This can be used for the pragma directive in Solidity. For example: `,_jsx(_components.code,{children:`>= $VER;`}),` (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8105/files`,children:`#8105`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`PHP (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8107`,children:`#8107`}),`): Added support for parsing patterns of the form: `,_jsx(_components.code,{children:`#[Attr1], #[Attr2]`}),` in code such as:`,`\n`,_jsx(CodeBlock,{numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`#[Attr1]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`#[Attr2]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`function test ()`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` echo \"Test\";`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Previously, to match against multiple attributes it was required to write `,_jsx(_components.code,{children:`#[Attr1, Attr2]`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Added lone decorators as a valid Python Semgrep pattern (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8047`,children:`#8047`}),`), so for example `,_jsx(_components.code,{children:`$NAME($X)`}),` now generates two separate findings here:`,`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`@hello(\"world\")`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`@hi(\"semgrep!\")`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`def shift():`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` return \"left!\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`JavaScript and TypeScript: Patterns for class properties can now have the static and async modifiers.\nFor instance:`,`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`@Foo(...)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`async bar(...) {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`or`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`@Foo(...)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`static bar(...) {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Semgrep VS Code extension: Semgrep Language Server now supports multi-folder workspaces. (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/7966`,children:`#7966`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`New pre-commit hook semgrep-ci to use CI rules in pre-commit, which uses rules from the Policies page and blocks PRs when detecting findings from rules in Block mode (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/7973`,children:`#7973`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Added support for date comparison and functionality to get current date. This requires date strings to be in the format “yyyy-mm-dd” (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8053`,children:`#8053`}),`).`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`changed`,children:`Changed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The output of `,_jsx(_components.code,{children:`--debug`}),` is now less verbose by default. It now shows internal warning and error messages. Alternatively, use `,_jsx(_components.code,{children:`--verbose`}),` for detailed scan information.`]}),`\n`,_jsxs(_components.li,{children:[`Updated the maximum number of cores autodetected to 16 to prevent overloading on large machines when users do not specify number of jobs themselves. (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8028`,children:`#8028`}),`)`]}),`\n`,_jsx(_components.li,{children:`Taint mode: Several improvements to taint_assume_safe_{booleans,numbers} options. Most notably, we now use type info provided by explicit type casts, and we also use const-prop info to infer types.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`fixed`,children:`Fixed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Taint analysis: Improve handling of dataflow for tainted value propagation in class field definitions\nThis change resolves an issue where dataflow was not correctly accounted for when tainted values flowed through field definitions in class/object definitions. For instance, in Kotlin or Scala, singleton objects are commonly used to encapsulate executable logic, where each field definition behaves like a statement during object initialization. In order to handle this scenario, we have introduced an additional step to analyze a sequence of field definitions as a sequence of statements for taint analysis. This enhancement allows us to accurately track tainted values during object initialization. (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/7975`,children:`#7742`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Allow any characters in file paths used to create dotted rule IDs. File path characters that aren’t allowed in rule IDs are simply removed. For example, a rule whose ID is `,_jsx(_components.code,{children:`my-rule`}),` found in the file `,_jsx(_components.code,{children:`hello/@world/rules.yaml`}),` becomes `,_jsx(_components.code,{children:`hello.world.my-rule`}),`. (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8057`,children:`#8057`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Fixed a typing issue with Go. Previously, the pattern `,_jsx(_components.code,{children:`($VAR : *tau.rho).$F()`}),` wouldn’t produce a match in the following:`,`\n`,_jsx(CodeBlock,{numberOfLines:`10`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`func f() {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` i_1 := \u0026tau.rho{}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` i_2 := new(tau.rho)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` i_1.shift() //miss one`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` i_2.left() //miss two`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` return 101`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`but now Semgrep doesn’t miss those two findings. (`,_jsx(_components.a,{href:`https://github.com/semgrep/semgrep/pull/8125`,children:`#8125`}),`)`]}),`\n`,_jsx(Heading,{level:`2`,id:`semgrep-cloud-platform`,children:`Semgrep Cloud Platform`}),`\n`,_jsx(Heading,{level:`3`,id:`added-2`,children:`Added`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`You can now rename projects (repositories). This feature may be useful when you change the name of your repository in your source code manager. To rename a project from within Semgrep Cloud Platform, do the following:`}),`\n`,_jsxs(_components.p,{children:[` i. Click `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`https://semgrep.dev/orgs/-/projects/`,children:`Projects`})}),`.`]}),`\n`,_jsxs(_components.p,{children:[` ii. Click the `,_jsxs(_components.strong,{children:[_jsx(Icon,{icon:`gear`,iconType:`solid`}),` gear icon`]}),` on the entry of the project you want to rename.`]}),`\n`,_jsxs(_components.p,{children:[` iii. Click the `,_jsxs(_components.strong,{children:[_jsx(Icon,{icon:`ellipsis-h`,iconType:`solid`}),` three-dot icon > Rename project`]}),`.`]}),`\n`,_jsxs(_components.p,{children:[` iv. Enter the name of the new project and click `,_jsx(_components.strong,{children:`Rename`}),`.\n `,_jsxs(Frame,{children:[`\n `,_jsx(OptimizedImage,{src:`https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/projects-rename-repo-81ad3fa1bd76d58958cb7cacef579a46.png?fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=2f2aa56b9cbfeefaa38a24930e6f517f`,alt:`Screenshot of repository rename modal`,\"data-og-width\":`850`,width:`850`,\"data-og-height\":`699`,height:`699`,\"data-path\":`images/projects-rename-repo-81ad3fa1bd76d58958cb7cacef579a46.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/projects-rename-repo-81ad3fa1bd76d58958cb7cacef579a46.png?w=280\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=152419425a403d1afb4cfcfb701bf5b8 280w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/projects-rename-repo-81ad3fa1bd76d58958cb7cacef579a46.png?w=560\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=bb7462fa98d5d386474070baa7a37946 560w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/projects-rename-repo-81ad3fa1bd76d58958cb7cacef579a46.png?w=840\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=28648b0f41943b85afc8900092658bb9 840w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/projects-rename-repo-81ad3fa1bd76d58958cb7cacef579a46.png?w=1100\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=95afe94d39c4e04c816d43ca59a45c8c 1100w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/projects-rename-repo-81ad3fa1bd76d58958cb7cacef579a46.png?w=1650\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=a17cbee850942dbd1ec19e7b3708c9db 1650w, https://mintcdn.com/semgrep-ee9d73d8/dAOv4YoaZfaIbJZH/images/projects-rename-repo-81ad3fa1bd76d58958cb7cacef579a46.png?w=2500\u0026fit=max\u0026auto=format\u0026n=dAOv4YoaZfaIbJZH\u0026q=85\u0026s=65395632eea4e43e7ea25ae204e8397d 2500w`}),`\n `]})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`You can now select a default RBAC (role-based access control) role. Refer to `,_jsx(_components.a,{href:`/deployment/teams/manage#set-a-default-role-for-the-organization`,children:`Setting a default role`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`The Policies page is now the default page used to manage rules. See the `,_jsx(_components.a,{href:`/semgrep-code/policies`,children:`Policies`}),` documentation for more information.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`changed-2`,children:`Changed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`For organizations with multiple GitHub organizations, you can now add organizations as a newline separated list.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`removed`,children:`Removed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`Disliked`}),` column has been removed from the Dashboard.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`semgrep-code`,children:`Semgrep Code`}),`\n`,_jsx(Heading,{level:`3`,id:`added-3`,children:`Added`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Semgrep Pro Engine for Java: Semgrep’s taint mode can now relate Java properties and their corresponding getters or setters even when these are autogenerated, so the actual getters or setters are not declared in the sources.`}),`\n`,_jsx(_components.li,{children:`Findings page: Added a badge to identify security-related findings.`}),`\n`,_jsxs(_components.li,{children:[`Findings page: You can now select a range of findings cards at once while pressing `,_jsx(`kbd`,{children:`Shift`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`fixed-2`,children:`Fixed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Cleaned up and updated wording and UI to reflect the updated Team tier.`}),`\n`,_jsx(_components.li,{children:`Fixed many many issues in the Editor.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`removed-2`,children:`Removed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`Rule board`}),` has been deprecated and removed. To manage findings, use the `,_jsx(_components.strong,{children:`Policies page`}),`. See the `,_jsx(_components.a,{href:`/semgrep-code/policies`,children:`Policies documentation`}),` for more information.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`semgrep-supply-chain`,children:`Semgrep Supply Chain`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Semgrep Supply Chain now supports pnpm lockfiles (`,_jsx(_components.code,{children:`pnpm-lock.yaml`}),`) version 8 and above.`]}),`\n`,_jsxs(_components.li,{children:[`CLI scans now include the following metadata:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Severity`}),`\n`,_jsx(_components.li,{children:`Recommended version to upgrade a dependency to`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`semgrep-assistant-beta`,children:`Semgrep Assistant (beta)`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A new setting lets you configure where Semgrep Assistant’s triage suggestions appear. You can receive Semgrep Assistant messages within your Slack or GitHub PR comments.`}),`\n`,_jsx(_components.li,{children:`Added a new drop-down menu to set a minimum autofix confidence level required to display autofix suggestions from Semgrep Assistant.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`documentation-updates`,children:`Documentation updates`}),`\n`,_jsx(Heading,{level:`3`,id:`added-4`,children:`Added`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.a,{href:`/kb`,children:`Semgrep knowledge base`}),` is now live. The knowledge base hosts the following information:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Troubleshooting articles`}),`\n`,_jsx(_components.li,{children:`How-to guides and tutorials for specific or custom user needs`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Added a new document about `,_jsx(_components.a,{href:`/semgrep-multimodal/overview`,children:`Semgrep Assistant`}),`.`]}),`\n`,_jsx(_components.li,{children:`Minor updates and corrections.`}),`\n`]})]})}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":"June 2023","description":"June 30, 2023 · 7 min read","href":"/release-notes/june-2023"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Semgrep OSS Engine","slug":"semgrep-oss-engine","depth":2,"children":[{"title":"Added","slug":"added","depth":3,"children":[]},{"title":"Changed","slug":"changed","depth":3,"children":[]},{"title":"Fixed","slug":"fixed","depth":3,"children":[]}]},{"title":"Semgrep Cloud Platform","slug":"semgrep-cloud-platform","depth":2,"children":[{"title":"Added","slug":"added-2","depth":3,"children":[]},{"title":"Changed","slug":"changed-2","depth":3,"children":[]},{"title":"Removed","slug":"removed","depth":3,"children":[]}]},{"title":"Semgrep Code","slug":"semgrep-code","depth":2,"children":[{"title":"Added","slug":"added-3","depth":3,"children":[]},{"title":"Fixed","slug":"fixed-2","depth":3,"children":[]},{"title":"Removed","slug":"removed-2","depth":3,"children":[]}]},{"title":"Semgrep Supply Chain","slug":"semgrep-supply-chain","depth":2,"children":[]},{"title":"Semgrep Assistant (beta)","slug":"semgrep-assistant-beta","depth":2,"children":[]},{"title":"Documentation updates","slug":"documentation-updates","depth":2,"children":[{"title":"Added","slug":"added-4","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/semgrep-ee9d73d8/3525e17c6c545faa/fs.js"],"subdomain":"semgrep-ee9d73d8","siteName":"Semgrep","title":"June 2023 - Semgrep","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-02T22:14:48.805Z","originalFileLocation":"release-notes/june-2023.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=\"June 30, 2023 · 7 min read\">\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=\"June 2023 - Semgrep\">\u003cmeta data-mint-head property=\"og:description\" content=\"June 30, 2023 · 7 min read\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Semgrep\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.semgrep.dev/release-notes/june-2023\">\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=Documentation\u0026amp;title=June+2023\u0026amp;description=June+30%2C+2023+%C2%B7+7+min+read\u0026amp;theme=7b4286f3087331c259d78329\u0026amp;signature=5db8c8dc1788aa6a3620916c2dc6f5a82404c8e6783b5a785e3b4f6353e062d9\">\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=\"June 2023 - Semgrep\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"June 30, 2023 · 7 min read\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://semgrep-ee9d73d8.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=June+2023\u0026amp;description=June+30%2C+2023+%C2%B7+7+min+read\u0026amp;theme=7b4286f3087331c259d78329\u0026amp;signature=5db8c8dc1788aa6a3620916c2dc6f5a82404c8e6783b5a785e3b4f6353e062d9\">\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/release-notes/june-2023\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/release-notes/june-2023.md\">","agentPointerHref":"/release-notes/june-2023.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":"Semgrep Docs","sidebarTitle":"Home","mode":"custom","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","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","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"}]},{"title":"Manage projects","href":"/deployment/manage-projects"},{"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":"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":"Connect AI agents to Semgrep AppSec Platform (beta)","sidebarTitle":"MCP","href":"/semgrep-appsec-platform/mcp"},{"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 incident notifications and response","sidebarTitle":"Get Supply Chain incident 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"}]},{"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 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","groups":[{"group":"Semgrep Guardian","pages":[{"title":"Semgrep Guardian","sidebarTitle":"Overview","href":"/semgrep-guardian/overview"},{"title":"Semgrep Guardian quickstart","sidebarTitle":"Quickstart","href":"/semgrep-guardian/quickstart"}]},{"group":"Set up your coding agent","pages":[{"title":"Choose your Semgrep Guardian setup","sidebarTitle":"Choose your setup","href":"/semgrep-guardian/choose-your-setup"},{"title":"Install the Semgrep CLI for Guardian","sidebarTitle":"Install the Semgrep CLI","href":"/semgrep-guardian/install-cli"},{"title":"Set up Semgrep Guardian with Claude Code","sidebarTitle":"Claude Code","href":"/semgrep-guardian/ide-setup/claude-code"},{"title":"Set up Semgrep Guardian with Cursor","sidebarTitle":"Cursor","href":"/semgrep-guardian/ide-setup/cursor"},{"title":"Set up Semgrep Guardian with Codex","sidebarTitle":"Codex","href":"/semgrep-guardian/ide-setup/codex"},{"title":"Set up Semgrep Guardian with GitHub Copilot","sidebarTitle":"GitHub Copilot","href":"/semgrep-guardian/ide-setup/github-copilot"},{"title":"Set up Semgrep Guardian with VS Code","sidebarTitle":"VS Code","href":"/semgrep-guardian/ide-setup/vscode"},{"title":"Set up Semgrep Guardian with Devin (Windsurf)","sidebarTitle":"Devin (Windsurf)","href":"/semgrep-guardian/ide-setup/devin-windsurf"},{"title":"Set up Semgrep Guardian with Kiro","sidebarTitle":"Kiro","href":"/semgrep-guardian/ide-setup/kiro"},{"title":"Set up Semgrep Guardian with other IDEs","sidebarTitle":"Other IDEs","href":"/semgrep-guardian/ide-setup/other"}]},{"group":"Using Semgrep Guardian","pages":[{"title":"Semgrep Guardian rules and configuration","sidebarTitle":"Rules and configuration","href":"/semgrep-guardian/rules-and-configuration"},{"title":"Semgrep Guardian incident advisories","sidebarTitle":"Incident advisories","href":"/semgrep-guardian/incident-advisories"},{"title":"Semgrep Guardian FAQ","sidebarTitle":"FAQ","href":"/semgrep-guardian/faq"}]},{"group":"Deploy across your organization","pages":[{"title":"Semgrep Guardian authentication","sidebarTitle":"Authentication","href":"/semgrep-guardian/authentication"},{"title":"Semgrep Guardian enterprise deployment","sidebarTitle":"Enterprise deployment","href":"/semgrep-guardian/enterprise-deployment"}]}]},{"tab":"Write rules","icon":"pen-to-square","groups":[{"group":"Write rules for Semgrep Code","pages":[{"title":"Write rules","sidebarTitle":"Overview","href":"/writing-rules/overview"},{"group":"Rule structure syntax","root":{"title":"Rule structure syntax","href":"/writing-rules/rule-syntax"},"pages":[{"title":"Rule structure syntax examples","href":"/writing-rules/rule-ideas"}]},{"group":"Rule pattern syntax","root":{"title":"Rule pattern syntax","href":"/writing-rules/pattern-syntax"},"pages":[{"title":"Rule pattern syntax examples","href":"/writing-rules/pattern-examples"}]},{"group":"Advanced rule-writing techniques","pages":[{"title":"Rule-defined fix","href":"/writing-rules/rule-defined-fix"},{"group":"Dataflow analysis","root":{"title":"Dataflow analysis engine overview","sidebarTitle":"Dataflow analysis","href":"/writing-rules/data-flow/data-flow-overview"},"pages":[{"title":"Constant propagation","href":"/writing-rules/data-flow/constant-propagation"},{"group":"Taint analysis","root":{"title":"Taint analysis overview","sidebarTitle":"Taint analysis","href":"/writing-rules/data-flow/taint-mode/overview"},"pages":[{"title":"Advanced taint analysis techniques","sidebarTitle":"Advanced techniques for taint analysis","href":"/writing-rules/data-flow/taint-mode/advanced"}]},{"title":"Dataflow status","href":"/writing-rules/data-flow/status"}]},{"title":"Generic pattern matching","href":"/writing-rules/generic-pattern-matching"},{"title":"Metavariable analysis","href":"/writing-rules/metavariable-analysis"},{"group":"Experiments 🧪","pages":[{"title":"Introduction to Semgrep experiments","sidebarTitle":"Introduction","href":"/writing-rules/experiments/introduction"},{"title":"Pattern syntax (experimental)","href":"/writing-rules/experiments/pattern-syntax"},{"title":"Aliengrep","href":"/writing-rules/experiments/aliengrep"},{"group":"Join mode","root":{"title":"Join mode overview","href":"/writing-rules/experiments/join-mode/overview"},"pages":[{"title":"Recursive joins","href":"/writing-rules/experiments/join-mode/recursive-joins"}]},{"title":"Symbolic propagation","href":"/writing-rules/experiments/symbolic-propagation"},{"title":"Display propagated value of metavariables","href":"/writing-rules/experiments/display-propagated-metavariable"},{"title":"Include multiple focus metavariables using set union semantics","href":"/writing-rules/experiments/multiple-focus-metavariables"},{"title":"r2c-internal-project-depends-on","sidebarTitle":"Key: r2c-internal-project-depends-on","href":"/writing-rules/experiments/r2c-internal-project-depends-on"},{"title":"Match captured metavariables with specific types","href":"/writing-rules/experiments/metavariable-type"},{"title":"Deprecated experiments","href":"/writing-rules/experiments/deprecated-experiments"}]}]},{"title":"Private rules","href":"/writing-rules/private-rules"},{"title":"Test rules","href":"/writing-rules/testing-rules"},{"title":"Troubleshooting rules","href":"/troubleshooting/rules"},{"title":"Static analysis and rule-writing glossary","sidebarTitle":"Glossary","href":"/writing-rules/glossary"}]},{"group":"Write rules for Semgrep Secrets","pages":[{"title":"Semgrep Secrets rule structure and sample","sidebarTitle":"Custom rules","href":"/semgrep-secrets/rules"},{"title":"Write custom validators","sidebarTitle":"Custom validators","href":"/semgrep-secrets/validators"}]}]},{"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":"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","groups":[{"group":"Knowledge base","root":{"title":"Knowledge base","href":"/kb"},"pages":[{"group":"Semgrep Multimodal","root":{"title":"Semgrep Multimodal","href":"/kb/semgrep-multimodal"},"pages":[{"title":"Microsoft Foundry: Error 429 - Max Tokens Exceeded","href":"/kb/semgrep-multimodal/azure-openai-error-429"},{"title":"Missing PR or MR comments from Semgrep Multimodal","href":"/kb/semgrep-multimodal/missing-pr-mr-comments"}]},{"group":"Semgrep Code","root":{"title":"Semgrep Code","href":"/kb/semgrep-code"},"pages":[{"title":"Troubleshoot ValueError: Invalid header value error","href":"/kb/semgrep-code/InvalidHeaderValue"},{"title":"How to collect logs when running Semgrep in CLI","href":"/kb/semgrep-code/collect-cli-logs"},{"title":"Why isn’t Semgrep reporting all my tainted data flows?","href":"/kb/semgrep-code/finding_all_taints"},{"title":"My GitLab pipeline says that the token is invalid, but it is valid","href":"/kb/semgrep-code/gitlab-group-variables"},{"title":"Support for all versions of a programming language","href":"/kb/semgrep-code/support-for-language-versions"},{"title":"Reduce false positives in semgrep scan","sidebarTitle":"Reduce false positives","href":"/kb/semgrep-code/reduce-false-positives"},{"title":"How to run different versions of Semgrep","href":"/kb/semgrep-code/run-specific-version"},{"title":"Troubleshooting 'You are seeing this because the engine was killed' on monorepos","sidebarTitle":"Troubleshoot monorepo scan failures","href":"/kb/semgrep-code/scan-engine-kill"},{"title":"A Semgrep scan is having a problem - what next?","href":"/kb/semgrep-code/semgrep-scan-troubleshooting"},{"title":"Why am I getting findings in files that should be ignored?","href":"/kb/semgrep-code/semgrepignore-ignored"},{"title":"Why are there more Semgrep findings when the code hasn't changed?","href":"/kb/semgrep-code/unexpected-new-findings"}]},{"group":"Semgrep Supply Chain (SSC)","root":{"title":"Semgrep Supply Chain (SSC)","href":"/kb/semgrep-supply-chain"},"pages":[{"title":"How to exclude a Semgrep Supply Chain rule from a scan","href":"/kb/semgrep-supply-chain/exclude-rule"},{"title":"How to scan multiple or nested manifest files or lockfiles","href":"/kb/semgrep-supply-chain/scanning_multiple_lockfiles"},{"title":"Generate manifest files or lockfiles for Semgrep Supply Chain in a Circle CI pipeline","href":"/kb/semgrep-supply-chain/ssc-lockfiles-circleci"},{"title":"Generating Python lockfiles for Semgrep Supply Chain scans","href":"/kb/semgrep-supply-chain/ssc-python-lockfiles"},{"title":"Why aren't Supply Chain findings showing?","href":"/kb/semgrep-supply-chain/why-no-findings"},{"title":"Connect a private registry to Semgrep","href":"/kb/semgrep-supply-chain/connect-a-private-registry"},{"title":"Connect an AWS CodeArtifact registry to Semgrep","href":"/kb/semgrep-supply-chain/connect-aws-codeartifact"},{"title":"Semgrep is not displaying Upgrade Guidance or Autofix functionality","href":"/kb/semgrep-supply-chain/no-upgrade-guidance-or-autofix"},{"title":"No dependencies appear on the Dependencies page","href":"/kb/semgrep-supply-chain/no-dependency-results"}]},{"group":"Semgrep AppSec Platform","root":{"title":"Semgrep AppSec Platform","href":"/kb/semgrep-appsec-platform"},"pages":[{"title":"What does 'Act on your behalf' mean?","href":"/kb/semgrep-appsec-platform/act-on-your-behalf"},{"title":"Web API error 404 and token scopes","href":"/kb/semgrep-appsec-platform/api-404-token-scope"},{"title":"Automate private rules deployment using the Semgrep API","href":"/kb/semgrep-appsec-platform/automate-rules-deployment"},{"title":"Why can't I access my Semgrep organization after logging in with GitHub?","href":"/kb/semgrep-appsec-platform/cannot-access-semgrep-after-github-login"},{"title":"Why does the Projects page display a different dependency count from the Dependencies page?","href":"/kb/semgrep-appsec-platform/dependency-count-differ-platform"},{"title":"error: externally-managed-environment","href":"/kb/semgrep-appsec-platform/error-externally-managed-environment"},{"title":"FedRAMP authorization boundary for code scanning services like Semgrep","href":"/kb/semgrep-appsec-platform/fedramp-with-semgrep"},{"title":"Why do the findings count differ in the API and the Semgrep AppSec Platform UI?","href":"/kb/semgrep-appsec-platform/findings-count-differ-api-platform"},{"title":"Why are findings counts different across Semgrep AppSec Platform pages?","href":"/kb/semgrep-appsec-platform/findings-count-differ-platform"},{"title":"Why did the comments on a PR or MR not appear inline?","href":"/kb/semgrep-appsec-platform/inline-pr-comments"},{"title":"Why is my repository not receiving PR or MR comments?","href":"/kb/semgrep-appsec-platform/missing-pr-comments"},{"title":"Semgrep Managed Scans doesn't run for pull requests in GitHub merge queues","href":"/kb/semgrep-appsec-platform/no-runs-in-github-merge-queues"},{"title":"Why are my projects showing a status of 'Not yet started' after I enable Managed Scans?","href":"/kb/semgrep-appsec-platform/projects-not-yet-started-sms"},{"title":"Remove users from your Semgrep AppSec Platform organization","href":"/kb/semgrep-appsec-platform/remove-users"},{"title":"How to re-run a Semgrep Managed Scan","href":"/kb/semgrep-appsec-platform/rerun-managed-scans"},{"title":"SAML SSO error: There is no AttributeStatement on the Response","href":"/kb/semgrep-appsec-platform/saml-attributestatement"},{"title":"SAML SSO Error: Authentication method doesn't match requested","href":"/kb/semgrep-appsec-platform/saml-authentication-method-match"},{"title":"SAML SSO Error: Signature validation failed","href":"/kb/semgrep-appsec-platform/saml-bad-signature"},{"title":"SAML SSO with Google Workspace","href":"/kb/semgrep-appsec-platform/saml-google-workspace"},{"title":"SAML SSO with Microsoft Entra ID","href":"/kb/semgrep-appsec-platform/saml-microsoft-entra-id"},{"title":"Troubleshooting SAML SSO","href":"/kb/semgrep-appsec-platform/saml-stops-working"},{"title":"Why is the scan duration reported by Semgrep different from the scan duration of the end-to-end process of running a diff-aware managed scan?","href":"/kb/semgrep-appsec-platform/scan-duration-discrepancy"},{"title":"Search, filter, and sort findings in Semgrep AppSec Platform","href":"/kb/semgrep-appsec-platform/search-filter-sort-findings"},{"title":"The semgrep login command doesn't redirect to my Semgrep tenant site","href":"/kb/semgrep-appsec-platform/semgrep-login-cli-tenant"},{"title":"SAML SSO error BadRequest: Missing attribute","href":"/kb/semgrep-appsec-platform/sso-attribute-error"},{"title":"Why am I seeing a \"No SCMs with code access found\" error when enabling code snippets in AI prompts?","href":"/kb/semgrep-appsec-platform/gitlab-no-scms-with-code-access-found"},{"title":"Why are some of my findings in Open status instead of Provisionally ignored when Semgrep has also flagged the findings as False positives?","href":"/kb/semgrep-appsec-platform/findings-in-open-not-provisionally-ignored"}]},{"group":"Semgrep Secrets","root":{"title":"Semgrep Secrets","href":"/kb/semgrep-secrets"},"pages":[{"title":"Why didn't Semgrep Secrets find these example secrets?","href":"/kb/semgrep-secrets/no-example-secrets-found"},{"title":"Why didn't Semgrep ignore the files and folders in the Secrets Path ignores for this project?","href":"/kb/semgrep-secrets/per-product-ignore-not-working"}]},{"group":"Semgrep in CI","root":{"title":"Semgrep in CI","href":"/kb/semgrep-ci"},"pages":[{"title":"Semgrep with self-hosted Ubuntu runners in Azure Pipelines","href":"/kb/semgrep-ci/azure-self-hosted-ubuntu"},{"title":"Running Semgrep using templates in Azure Pipelines","href":"/kb/semgrep-ci/azure-using-templates-with-semgrep"},{"title":"Run Semgrep in Jenkins when using Bitbucket as the source code manager","href":"/kb/semgrep-ci/bitbucket-jenkins"},{"title":"Semgrep in CI vs CLI: align your SAST scan results and understand differences","href":"/kb/semgrep-ci/ci-vs-cli"},{"title":"Collecting Semgrep GitHub Actions logs from GitHub","href":"/kb/semgrep-ci/collect-gha-logs"},{"title":"GitLab 'Job's log exceeded limit' error","href":"/kb/semgrep-ci/collect-gitlab-logs"},{"title":"Failed to run a git command during a pull request or merge request scan","href":"/kb/semgrep-ci/git-command-errors"},{"title":"Use GitHub repository rulesets to implement Semgrep","href":"/kb/semgrep-ci/github-repository-rulesets-semgrep"},{"title":"Set up reusable GitHub workflows for Semgrep scans","href":"/kb/semgrep-ci/github-reusable-workflows-semgrep"},{"title":"Why aren't findings populating in the GitHub Advanced Security Dashboard after running Semgrep in CI?","href":"/kb/semgrep-ci/github-upload-findings-in-security-dashboard"},{"title":"Scan GitHub projects in Jenkins","href":"/kb/semgrep-ci/jenkins-diff-scans"},{"title":"Receive Semgrep MR comments through a GitLab runner","href":"/kb/semgrep-ci/mr-comments-through-gitlab-runner"},{"title":"Why are there new source code manager (SCM) connections that I didn't manually configure listed in Semgrep AppSec Platform?","href":"/kb/semgrep-ci/new-scm-connections"},{"title":"Does Semgrep scan compressed files or other non-code files?","href":"/kb/semgrep-ci/scan-compressed-files-artifacts"},{"title":"Scanning a monorepo in parts","href":"/kb/semgrep-ci/scan-monorepo-in-parts"},{"title":"Add Semgrep to your Semaphore pipeline","href":"/kb/semgrep-ci/semaphore-pipelines"},{"title":"How to trigger diff-aware scans","href":"/kb/semgrep-ci/trigger-diff-scans-env-var"},{"title":"Upload Semgrep CI findings to GitHub Advanced Security Dashboard","href":"/kb/semgrep-ci/upload-ci-findings-to-github"},{"title":"Upload Semgrep CI findings to GitLab Security Dashboard","href":"/kb/semgrep-ci/upload-ci-findings-to-gitlab"},{"title":"Configure GitHub Actions to use the nonroot Semgrep docker image","href":"/kb/semgrep-ci/using-nonroot-docker-image-with-gha"},{"title":"Why are duplicate findings appearing after running Semgrep in CI?","href":"/kb/semgrep-ci/why-duplicate-findings"}]},{"group":"Integrations","root":{"title":"Integrations","href":"/kb/integrations"},"pages":[{"title":"Customize Semgrep in pre-commit","href":"/kb/integrations/customize-semgrep-precommit"},{"title":"How to connect Semgrep and DefectDojo","href":"/kb/integrations/defect-dojo-integration"},{"title":"How to paginate responses from the Semgrep API","href":"/kb/integrations/pagination"}]},{"group":"Rules","root":{"title":"Rules","href":"/kb/rules"},"pages":[{"title":"Change rule severity and other metadata by forking rules","href":"/kb/rules/changing-rule-severity-and-other-metadata"},{"title":"Matching multiple tokens with ellipsis metavariables","href":"/kb/rules/ellipsis-metavariables"},{"title":"How to exclude certain file types for a particular rule","href":"/kb/rules/exclude_rule_for_certain_filetypes"},{"title":"Match the absence of something in a file","href":"/kb/rules/match-absence"},{"title":"Match comments with Semgrep","href":"/kb/rules/match-comments"},{"title":"Fix pattern parse errors when running rules","href":"/kb/rules/pattern-parse-error"},{"title":"Rule upgrades and supersession","href":"/kb/rules/pro-vs-community-secrets-vs-code-rules"},{"title":"Performance principles for rules and files to abide by when scanning repositories","href":"/kb/rules/rule-file-perf-principles"},{"title":"Run all available rules on a repository","href":"/kb/rules/run-all-available-rules"},{"title":"How does Semgrep assign severity levels to rules?","href":"/kb/rules/understand-severities"},{"title":"My rule with pattern-not doesn't work: using pattern-not-inside","href":"/kb/rules/using-pattern-not-inside"},{"title":"Use the Semgrep rule schema to write rules in VS Code","href":"/kb/rules/using-semgrep-rule-schema-in-vscode"}]}]}]},{"item":"Learning guides","icon":"graduation-cap","groups":[{"group":"Application Security","pages":[{"title":"Semgrep Learning Guides","sidebarTitle":"Overview","href":"/learn"},{"group":"Security Foundations","root":{"title":"Security Foundations","href":"/learn/security-foundations/overview"},"pages":[{"title":"Understanding static code scanning tools","sidebarTitle":"Static code scanning","href":"/learn/security-foundations/sast/overview"},{"title":"Understanding supply chain security","sidebarTitle":"Supply chain security","href":"/learn/security-foundations/supply-chain-security"},{"title":"Incorporating security testing into development workflows","sidebarTitle":"Security testing workflows","href":"/learn/security-foundations/security-testing-workflow"}]},{"group":"Vulnerabilities","root":{"title":"Understanding Security Vulnerabilities","sidebarTitle":"Vulnerabilities","href":"/learn/vulnerabilities/overview"},"pages":[{"title":"Code Injection","href":"/learn/vulnerabilities/code-injection"},{"group":"Command Injection","root":{"title":"Command Injection","href":"/learn/vulnerabilities/command-injection"},"pages":[{"title":"Command Injection in Argo Workflows","href":"/learn/vulnerabilities/command-injection/argo-injection"},{"title":"Injection Attacks in GitHub Actions","sidebarTitle":"Command Injection in GitHub Actions","href":"/learn/vulnerabilities/command-injection/github-actions-injection"}]},{"title":"Cross-Site Scripting (XSS)","href":"/learn/vulnerabilities/cross-site-scripting"},{"title":"Insecure Deserialization","href":"/learn/vulnerabilities/insecure-deserialization"},{"title":"Insecure Direct Object Reference (IDOR)","sidebarTitle":"Insecure Direct Object Reference","href":"/learn/vulnerabilities/idor"},{"title":"Open Redirect","href":"/learn/vulnerabilities/open-redirect"},{"title":"Server Side Request Forgery (SSRF)","sidebarTitle":"Server Side Request Forgery","href":"/learn/vulnerabilities/server-side-request-forgery"},{"title":"SQL Injection","href":"/learn/vulnerabilities/sql-injection"},{"title":"XML Security","href":"/learn/vulnerabilities/xml-security"}]}]},{"group":"Secure Coding","pages":[{"title":"Cheat Sheets","href":"/cheat-sheets/overview"},{"group":"Go","root":{"title":"Go","href":"/category/go"},"pages":[{"title":"Prevent Command Injection for Go","sidebarTitle":"Command Injection in Go","href":"/cheat-sheets/go-command-injection"},{"title":"Prevent XSS for Go","sidebarTitle":"XSS in Go","href":"/cheat-sheets/go-xss"}]},{"group":"Java","root":{"title":"Java","href":"/category/java"},"pages":[{"title":"Prevent Code Injection for Java","sidebarTitle":"Code Injection in Java","href":"/cheat-sheets/java-code-injection"},{"title":"Prevent Command Injection for Java","sidebarTitle":"Command Injection in Java","href":"/cheat-sheets/java-command-injection"},{"title":"Prevent XSS for Java and Java Server Pages (JSP)","sidebarTitle":"XSS in Java + JSP","href":"/cheat-sheets/java-jsp-xss"},{"title":"Prevent XML External Entity Vulnerabilities for Java","sidebarTitle":"XEE in Java","href":"/cheat-sheets/java-xxe"}]},{"group":"JavaScript","root":{"title":"JavaScript","href":"/category/javascript"},"pages":[{"title":"Prevent Code Injection in JavaScript","sidebarTitle":"Code Injection in JavaScript","href":"/cheat-sheets/javascript-code-injection"},{"title":"Prevent Command Injection for JavaScript","sidebarTitle":"Command Injection in JavaScript","href":"/cheat-sheets/javascript-command-injection"},{"title":"Prevent XSS in ExpressJS","sidebarTitle":"XSS in ExpressJS","href":"/cheat-sheets/express-xss"}]},{"group":"Python","root":{"title":"Python","href":"/category/python"},"pages":[{"title":"Prevent Code Injection for Python","sidebarTitle":"Code Injection in Python","href":"/cheat-sheets/python-code-injection"},{"title":"Prevent Command Injection for Python","sidebarTitle":"Command Injection in Python","href":"/cheat-sheets/python-command-injection"},{"title":"Prevent XSS in Django","sidebarTitle":"XSS in Django","href":"/cheat-sheets/django-xss"},{"title":"Prevent XSS for Flask","sidebarTitle":"XSS in Flask","href":"/cheat-sheets/flask-xss"},{"title":"Insecure Deserialization in Python","href":"/learn/vulnerabilities/insecure-deserialization/python"}]},{"group":"Ruby","root":{"title":"Ruby","href":"/category/ruby"},"pages":[{"title":"Prevent Code Injection for Ruby","sidebarTitle":"Code Injection for Ruby","href":"/cheat-sheets/ruby-code-injection"},{"title":"Prevent Command Injection for Ruby","sidebarTitle":"Command Injection for Ruby","href":"/cheat-sheets/ruby-command-injection"},{"title":"Prevent XSS for Ruby on Rails","sidebarTitle":"XSS for Ruby on Rails","href":"/cheat-sheets/rails-xss"}]}]}]},{"item":"Support","icon":"headset","groups":[{"group":"Support \u0026 resources","pages":[{"title":"Support","href":"/support"},{"group":"Usage and billing","root":{"title":"Usage and billing","href":"/usage-and-billing/overview"},"pages":[{"title":"Claim a license","href":"/deployment/claim-a-license"},{"title":"Upgrade your Semgrep subscription plan","href":"/usage-and-billing/plan-changes-and-payments"},{"title":"How Semgrep calculates contributor count","sidebarTitle":"Calculate Semgrep contributor count","href":"/usage-and-billing/contributor-count-explained"},{"title":"Additional usage and reconciliation of licenses","href":"/usage-and-billing/reconciliation"}]},{"title":"Licensing","sidebarTitle":"Licenses","href":"/licensing"},{"group":"Compliance","root":{"title":"Compliance","href":"/compliance/compliance-overview"},"pages":[{"title":"FedRAMP compliance","sidebarTitle":"FedRAMP","href":"/compliance/fedramp"},{"title":"GDPR compliance","sidebarTitle":"GDPR","href":"/compliance/gdpr"},{"title":"HIPAA/HITRUST compliance","sidebarTitle":"HIPAA/HITRUST","href":"/compliance/hipaa-hitrust"},{"title":"ISO 27001 compliance","sidebarTitle":"ISO 27001","href":"/compliance/iso27001"},{"title":"ISO 27017 compliance","sidebarTitle":"ISO 27017","href":"/compliance/iso-27017"},{"title":"NIST 800-171 compliance","sidebarTitle":"NIST 800-171","href":"/compliance/nist-800-171"},{"title":"PCI DSS compliance","sidebarTitle":"PCI DSS","href":"/compliance/pci-dss"},{"title":"SOC 2 compliance","sidebarTitle":"SOC 2","href":"/compliance/soc2"}]},{"title":"Semgrep trophy case","sidebarTitle":"Trophy case","href":"/trophy-case"},{"title":"Run a successful proof-of-value (POV) trial with Semgrep","sidebarTitle":"Run a successful trial","href":"/run-a-successful-pov"},{"title":"Semgrep metrics","sidebarTitle":"Metrics","href":"/metrics-1"},{"title":"Security","href":"/security"},{"group":"Contribute to Semgrep","pages":[{"title":"Contributing overview","href":"/contributing/contributing"},{"title":"Contribute rules to the Semgrep Registry","href":"/contributing/contributing-to-semgrep-rules-repository"},{"title":"Contributing code","href":"/contributing/contributing-code"},{"title":"semgrep-core contributing","href":"/contributing/semgrep-core-contributing"},{"title":"semgrep-cli contributing","sidebarTitle":"semgrep contributing","href":"/contributing/semgrep-contributing"},{"title":"How to add support for a new language","sidebarTitle":"Add support for a new language","href":"/contributing/adding-a-language"},{"title":"How to upgrade the grammar for a language","sidebarTitle":"Upgrade the grammar for a language","href":"/contributing/updating-a-grammar"},{"title":"Troubleshooting","href":"/contributing/troubleshooting"}]}]}]}]},{"tab":"Explore","icon":"compass","menu":[{"item":"What's Semgrep","icon":"sparkles","groups":[{"group":"What's Semgrep","pages":[{"title":"Introduction to Semgrep","href":"/introduction"},{"title":"Frequently asked questions","href":"/faq/overview"},{"title":"Run a successful proof-of-value (POV) trial with Semgrep","sidebarTitle":"Run a successful trial with Semgrep","href":"/run-a-successful-pov-1"},{"title":"Semgrep AppSec Platform versus Semgrep Community Edition","href":"/semgrep-pro-vs-oss"},{"title":"Semgrep Community Edition (CE) philosophy","sidebarTitle":"Semgrep CE philosophy","href":"/contributing/semgrep-philosophy"},{"group":"Comparisons with other tools","pages":[{"title":"Compare Semgrep to CodeQL","href":"/faq/comparisons/codeql"},{"title":"Compare Semgrep to Endor Labs","href":"/faq/comparisons/endor-labs"},{"title":"Compare Semgrep to Opengrep","href":"/faq/comparisons/opengrep"},{"title":"Compare Semgrep to Snyk","href":"/faq/comparisons/snyk"},{"title":"Compare Semgrep to SonarQube","href":"/faq/comparisons/sonarqube"}]},{"title":"Semgrep integration guide for partners","href":"/integrating"},{"title":"Semgrep metrics","href":"/metrics"}]}]},{"item":"For developers","icon":"code","pages":[{"title":"Semgrep for developers","sidebarTitle":"Overview","href":"/for-developers/overview"},{"title":"Sign in to Semgrep","href":"/for-developers/signin"},{"group":"Resolve findings","pages":[{"title":"Resolve findings in your pull request or merge request","href":"/for-developers/resolve-findings-through-comments"},{"title":"Resolve findings through Semgrep AppSec Platform","href":"/for-developers/resolve-findings-through-app"}]},{"group":"Run scans","pages":[{"title":"Run local CLI scans","href":"/for-developers/cli"},{"title":"Run IDE scans","href":"/for-developers/ide"}]},{"group":"References","pages":[{"title":"How Semgrep works","href":"/for-developers/detection"}]}]},{"item":"References","icon":"code-simple","pages":[{"group":"CI references","root":{"title":"CI references","href":"/category/ci-references"},"pages":[{"title":"Continuous integration (CI) environment variables","sidebarTitle":"CI environment variables","href":"/semgrep-ci/ci-environment-variables"},{"title":"Sample continuous integration (CI) configurations","sidebarTitle":"Sample CI configurations","href":"/semgrep-ci/sample-ci-configs"},{"title":"Findings in CI","href":"/semgrep-ci/findings-ci"},{"title":"Packages in the Semgrep docker image","sidebarTitle":"Packages in Semgrep docker","href":"/semgrep-ci/packages-in-semgrep-docker"}]},{"group":"Language-specific features","root":{"title":"Language-specific features","href":"/category/language-specific-features"},"pages":[{"title":"Semantic detection in Java","href":"/semgrep-code/java"}]},{"group":"Glossaries","root":{"title":"Glossaries","href":"/category/glossaries"},"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"}]},{"title":"Language maturity levels","href":"/references/language-maturity-levels"},{"title":"Feature definitions","href":"/references/feature-definitions"}]},{"item":"Support \u0026 resources","icon":"headset","pages":[{"title":"Support","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/"}]},{"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","groups":[{"group":"Most recent posts","pages":[{"group":"2026","pages":[{"title":"Week of October 26, 2026","sidebarTitle":"Week of October 26, 2026","href":"/release-notes/2026-10-26"},{"title":"Week of October 19, 2026","sidebarTitle":"Week of October 19, 2026","href":"/release-notes/2026-10-19"},{"title":"Week of October 12, 2026","sidebarTitle":"Week of October 12, 2026","href":"/release-notes/2026-10-12"},{"title":"Week of October 5, 2026","sidebarTitle":"Week of October 5, 2026","href":"/release-notes/2026-10-05"},{"title":"Week of September 28, 2026","sidebarTitle":"Week of September 28, 2026","href":"/release-notes/2026-09-28"},{"title":"Week of September 21, 2026","sidebarTitle":"Week of September 21, 2026","href":"/release-notes/2026-09-21"},{"title":"Week of September 14, 2026","sidebarTitle":"Week of September 14, 2026","href":"/release-notes/2026-09-14"},{"title":"Week of September 7, 2026","sidebarTitle":"Week of September 7, 2026","href":"/release-notes/2026-09-07"},{"title":"Week of August 31, 2026","sidebarTitle":"Week of August 31, 2026","href":"/release-notes/2026-08-31"},{"title":"Week of August 24, 2026","sidebarTitle":"Week of August 24, 2026","href":"/release-notes/2026-08-24"},{"title":"Week of August 17, 2026","sidebarTitle":"Week of August 17, 2026","href":"/release-notes/2026-08-17"},{"title":"Week of August 10, 2026","sidebarTitle":"Week of August 10, 2026","href":"/release-notes/2026-08-10"},{"title":"Week of August 3, 2026","sidebarTitle":"Week of August 3, 2026","href":"/release-notes/2026-08-03"},{"title":"Week of July 27, 2026","sidebarTitle":"Week of July 27, 2026","href":"/release-notes/2026-07-27"},{"title":"Week of July 20, 2026","sidebarTitle":"Week of July 20, 2026","href":"/release-notes/2026-07-20"},{"title":"Week of July 13, 2026","sidebarTitle":"Week of July 13, 2026","href":"/release-notes/2026-07-13"},{"title":"Week of July 6, 2026","sidebarTitle":"Week of July 6, 2026","href":"/release-notes/2026-07-06"},{"title":"June 2026","href":"/release-notes/june-2026"},{"title":"May 2026","href":"/release-notes/may-2026"},{"title":"April 2026","href":"/release-notes/april-2026"},{"title":"March 2026","href":"/release-notes/march-2026"},{"title":"February 2026","href":"/release-notes/february-2026"},{"title":"January 2026","href":"/release-notes/january-2026"},{"title":"December 2025","href":"/release-notes/december-2025"}]},{"group":"2025","pages":[{"title":"November 2025","href":"/release-notes/november-2025"},{"title":"October 2025","href":"/release-notes/october-2025"},{"title":"September 2025","href":"/release-notes/september-2025"},{"title":"August 2025","href":"/release-notes/august-2025"},{"title":"July 2025","href":"/release-notes/july-2025"},{"title":"June 2025","href":"/release-notes/june-2025"},{"title":"May 2025","href":"/release-notes/may-2025"},{"title":"April 2025","href":"/release-notes/april-2025"}]}]}]}]}]},"basePath":"","title":"June 2023 - Semgrep","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BXrZabKK.js","DynamicMarkdown-CtasenyM.js","zoom-image-lightbox-C5F0mVLH.js","lightbox-handle-r17bVUz3.js"]}