Skip to content

Commit 5e58d68

Browse files
authored
Update Copilot Cookbook article on security vulnerabilities to add links to code scanning docs (#54853)
1 parent 2c9872e commit 5e58d68

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

content/copilot/copilot-chat-cookbook/security-analysis/finding-existing-vulnerabilities-in-code.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ topics:
1717

1818
While they may be considered "common knowledge" by many developers, the vast majority of newly introduced security weaknesses are due to vulnerabilities like cross-site scripting (XSS), SQL injection, and cross-site request forgery (CSRF). These vulnerabilities can be mitigated by following secure coding practices, such as using parameterized queries, input validation, and avoiding hard-coded sensitive data. GitHub Copilot can help detect and resolve these issues.
1919

20-
> [!NOTE] While {% data variables.product.prodname_copilot_chat_short %} can help find some common security vulnerabilities and help you fix them, you should not rely on {% data variables.product.prodname_copilot_short %} for a comprehensive security analysis. Using security tools and features will more thoroughly ensure your code is secure. For more information on {% data variables.product.github %} security features, see [AUTOTITLE](/code-security/getting-started/github-security-features).
20+
> [!NOTE] While {% data variables.product.prodname_copilot_chat_short %} can help find some common security vulnerabilities and help you fix them, you should not rely on {% data variables.product.prodname_copilot_short %} for a comprehensive security analysis. Using {% data variables.product.prodname_code_scanning %} will more thoroughly ensure your code is secure. For more information on setting up {% data variables.product.prodname_code_scanning %}, see [AUTOTITLE](/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning).
2121
2222
## Example scenario
2323

@@ -52,3 +52,4 @@ function displayName(name) {
5252
## Further reading
5353

5454
{% data reusables.copilot.example-prompts.further-reading-items %}
55+
* [AUTOTITLE](/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning)

0 commit comments

Comments
 (0)