[DOCS-15219] Add Fix with Cursor remediation to Code Security docs - #38509
[DOCS-15219] Add Fix with Cursor remediation to Code Security docs#38509thkhaha wants to merge 1 commit into
Conversation
Document the Fix with Cursor and Copy fix prompt remediation flow across SAST, SCA, and IaC pages, add it to the pull request comments and IDE plugins pages, and note the deep-link handling on the VS Code & Cursor extension page. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
|
Opened DOCS-15221 to assign a Docs writer and follow up with editorial review. |
joepeeples
left a comment
There was a problem hiding this comment.
Approved with a few small, non-blocking suggestions, thanks!
|
|
||
| {{< img src="/ide_plugins/vscode/cursor_fix_in_chat.mp4" alt="Using Fix in Chat to fix an inline code error" style="width:100%" video=true >}} | ||
|
|
||
| The extension also handles the {{< ui >}}Fix with Cursor{{< /ui >}} deep link used in Code Security. When you click {{< ui >}}Fix with Cursor{{< /ui >}} in the Datadog UI or in a pull request comment, the extension opens the workspace in Cursor, checks out the relevant repository, branch, and commit, and loads a tailored remediation prompt for the finding. |
There was a problem hiding this comment.
Breaking up long sentence:
| The extension also handles the {{< ui >}}Fix with Cursor{{< /ui >}} deep link used in Code Security. When you click {{< ui >}}Fix with Cursor{{< /ui >}} in the Datadog UI or in a pull request comment, the extension opens the workspace in Cursor, checks out the relevant repository, branch, and commit, and loads a tailored remediation prompt for the finding. | |
| The extension also handles the {{< ui >}}Fix with Cursor{{< /ui >}} deep link used in Code Security. When you click {{< ui >}}Fix with Cursor{{< /ui >}} in the Datadog UI or in a pull request comment, the extension opens the workspace in Cursor. It then checks out the relevant repository, branch, and commit, and loads a tailored remediation prompt for the finding. |
|
|
||
| To use a different agent, click {{< ui >}}Copy{{< /ui >}} next to {{< ui >}}Copy fix prompt{{< /ui >}} and paste the prompt into the agent of your choice. | ||
|
|
||
| You can start this flow from the {{< ui >}}Remediation{{< /ui >}} section of a vulnerability's side panel, or from the {{< ui >}}Repositories{{< /ui >}} table, where each row represents a repository or file that contains the vulnerable library. |
There was a problem hiding this comment.
| You can start this flow from the {{< ui >}}Remediation{{< /ui >}} section of a vulnerability's side panel, or from the {{< ui >}}Repositories{{< /ui >}} table, where each row represents a repository or file that contains the vulnerable library. | |
| You can start this flow from the {{< ui >}}Remediation{{< /ui >}} section of a vulnerability's side panel, or from the {{< ui >}}Repositories{{< /ui >}} table. Each row in the table represents a repository or file that contains the vulnerable library. |
| {{< whatsnext desc="See the documentation for information about the following integrations:">}} | ||
| {{< nextlink href="ide_plugins/idea/" >}}<u>JetBrains IDEs</u>: IntelliJ IDEA, GoLand, PyCharm, RubyMine, WebStorm, and PhpStorm{{< /nextlink >}} | ||
| {{< nextlink href="ide_plugins/vscode/" >}}<u>Visual Studio Code</u>{{< /nextlink >}} | ||
| {{< nextlink href="ide_plugins/vscode/?tab=cursor" >}}<u>Cursor</u>{{< /nextlink >}} |
There was a problem hiding this comment.
The IDE Plugins landing page treats the VS Code & Cursor extension as one item, since the same extension is used for both IDEs. But if you think Cursor is a distinct enough use case, OK to leave as separate items.
What does this PR do? What is the motivation?
Fixes DOCS-15219
Documents the Fix with Cursor and Copy fix prompt remediation flow across Code Security:
Screenshots of the Remediate with AI dialog and the PR-comment link are included.
Merge instructions
Merge readiness:
Additional notes
AI-assisted draft with product screenshots. Opened as a draft pending SME technical validation before docs-team review, per the docs team's AI-content guidance. Documented as GA — to confirm with the Code Security team before merge.