Skip to content

Commit 67ef7e2

Browse files
Add Snyk: New vulnerabilities check
1 parent e803f25 commit 67ef7e2

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: "Snyk: New vulnerabilities"
3+
rules: continuedev/gh-pr-commit-workflow
4+
---
5+
6+
A new Snyk vulnerability has been detected. Please investigate and resolve the issue. This should include the following steps:
7+
8+
**Step 1: Investigate the Issue**
9+
Make sure you understand the vulnerability, the options for resolution, and what their consequences are.
10+
11+
**Step 2: Implement Fix**
12+
- Focus on fixing the immediate issue identified
13+
- Avoid overdoing it with error handling, cleaning up other problems, etc.
14+
- Avoid making breaking changes
15+
- Ensure the solution is robust and follows best practices.
16+
17+
**Step 3: Create Draft Pull Request**
18+
Create a draft pull request with the following structure:
19+
20+
---
21+
**PR Title:** [Snyk] <brief description of issue solved>
22+
23+
## Issue
24+
25+
**Snyk Link:** [<shortId>](<permalink>)
26+
**Issue Type:** `<issue type>`
27+
**Priority:** <priority>
28+
**Summary:** <Two sentence summary of what caused the issue and how it was fixed>
29+
30+
## Additional Context
31+
32+
<details>
33+
<summary>Snyk Issue Details</summary>
34+
35+
```json
36+
<Complete issue details from webhook payload>
37+
```
38+
39+
</details>
40+
41+
---
42+
**Note for AI:**
43+
- Replace `<agent-session-id>` with the actual agent session ID
44+
45+
---
46+
Below is the webhook payload from the Snyk event:

0 commit comments

Comments
 (0)