Check a GitHub code scanning alert against your code.
If your repositories use GitHub code scanning, Anitu can examine a specific alert and tell you whether the code supports it.
Check an alert
Open Integrations → GitHub Code Scanning.
Choose a repository and an alert.
Run the check.
Each check examines one alert at one commit.
Draft: describe what the check returns, whether it uses plan allowance, and which GitHub permission it needs.
Reading the result
The check describes the alert at the commit it examined. If Anitu cannot determine the alert’s state at that commit, it says The alert’s status at this commit is unknown. A result for one commit says nothing about later commits.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anitu Super Security","description":"Documentation for Anitu Super Security: AI-driven security review of your source code, with evidence-backed findings and code fixes.","colors":{"primary":"#7153db","light":"#9a7cff","dark":"#7153db"},"favicon":"/logo/symbol-dark.png","appearance":{"default":"system"},"footer":{"links":[{"header":"Anitu Security Labs","items":[{"label":"Security and data handling","href":"/security/data-handling"},{"label":"Troubleshooting","href":"/troubleshooting"}]}]},"seo":{"metatags":{"robots":"noindex"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"integrations":{"telemetry":{"enabled":false}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4271"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[]}
{"page":{"pagePath":"guides/github-code-scanning","slug":"/guides/github-code-scanning","pageMetadata":{"title":"GitHub Code Scanning","description":"Check a GitHub code scanning alert against your code.","href":"/guides/github-code-scanning"},"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: \"Check a GitHub code scanning alert against your code.\"\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={em:`em`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`If your repositories use GitHub code scanning, Anitu can examine a specific alert and tell you whether the code supports it.`}),`\n`,_jsx(Heading,{level:`2`,id:`check-an-alert`,children:`Check an alert`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Integrations → GitHub Code Scanning`}),`.`]}),`\n`,_jsx(_components.li,{children:`Choose a repository and an alert.`}),`\n`,_jsx(_components.li,{children:`Run the check.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Each check examines one alert at one commit.`}),`\n`,_jsxs(Warning,{children:[_jsx(_components.strong,{children:`Draft:`}),` describe what the check returns, whether it uses plan allowance, and which GitHub permission it needs.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reading-the-result`,children:`Reading the result`}),`\n`,_jsxs(_components.p,{children:[`The check describes the alert at the commit it examined. If Anitu cannot determine the alert’s state at that commit, it says `,_jsx(_components.em,{children:`The alert’s status at this commit is unknown`}),`. A result for one commit says nothing about later commits.`]})]})}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":"GitHub Code Scanning","description":"Check a GitHub code scanning alert against your code.","href":"/guides/github-code-scanning"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Check an alert","slug":"check-an-alert","depth":2,"children":[]},{"title":"Reading the result","slug":"reading-the-result","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"localhost","siteName":"Anitu Super Security","title":"GitHub Code Scanning - Anitu Super Security","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"guides/github-code-scanning.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=\"Check a GitHub code scanning alert against your code.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Anitu Super Security\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"GitHub Code Scanning - Anitu Super Security\">\u003cmeta data-mint-head property=\"og:description\" content=\"Check a GitHub code scanning alert against your code.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anitu Super Security\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./guides/github-code-scanning\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"GitHub Code Scanning - Anitu Super Security\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Check a GitHub code scanning alert against your code.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anitu Super Security\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7153db\">\u003clink data-mint-head rel=\"canonical\" href=\"https://local./guides/github-code-scanning\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/github-code-scanning.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Anitu Super Security\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Anitu Super Security\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/github-code-scanning.md","siteName":"Anitu Super Security","nav":{"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"}]},{"group":"Concepts","pages":[{"title":"How reviews work","href":"/concepts/how-reviews-work"},{"title":"Findings and evidence","href":"/concepts/findings-and-evidence"},{"title":"Glossary","href":"/concepts/glossary"}]},{"group":"Connect your code","pages":[{"title":"Connect GitHub","href":"/guides/connect-github"},{"title":"Connect GitLab","href":"/guides/connect-gitlab"}]},{"group":"Work with results","pages":[{"title":"Run a review","href":"/guides/run-a-review"},{"title":"Findings and reports","href":"/guides/findings-and-reports"},{"title":"Threat model and tests","href":"/guides/threat-model-and-tests"},{"title":"Code fixes","href":"/guides/code-fixes"},{"title":"Vulnerability management","href":"/guides/vulnerability-management"}]},{"group":"Integrations","pages":[{"title":"Slack","href":"/guides/slack"},{"title":"Agent access","description":"Let your own AI agents run reviews, read findings and publish fixes over MCP.","href":"/guides/agent-access"},{"title":"GitHub Code Scanning","href":"/guides/github-code-scanning"}]},{"group":"Account","pages":[{"title":"Billing and usage","description":"Plans, how usage is measured, and managing your subscription.","href":"/account/billing"},{"title":"Account and workspace","href":"/account/settings"}]},{"group":"Security","pages":[{"title":"Security and data handling","href":"/security/data-handling"}]},{"group":"Help","pages":[{"title":"Troubleshooting","href":"/troubleshooting"}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/review-statuses"}]}]},"basePath":"","title":"GitHub Code Scanning - Anitu Super Security","buildId":"997e403e4737","dynamics":[],"chunks":[]}