From 2f7f96e120892f4988ca6b628b9d06b55890fe9d Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Thu, 20 Nov 2025 04:05:56 -0500 Subject: [PATCH] docs: simplify Snyk integration documentation (#8781) * docs: Improve Snyk integration documentation Updated the Snyk integration documentation by removing detailed use cases for various security scanning agents, including Code Vulnerability Scanning, Dependency Scanning, Infrastructure as Code Security, Container Security Scanning, Pull Request Security Scanning, and Security Learning Integration. Adjusted the webhook configuration section for clarity. * Trigger CI re-run Generated with [Continue](https://continue.dev) Co-Authored-By: Continue * Apply suggestion from @cubic-dev-ai[bot] Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --------- Co-authored-by: Continue Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Co-authored-by: Dallin Romney --- docs/mission-control/integrations/snyk.mdx | 152 +-------------------- 1 file changed, 2 insertions(+), 150 deletions(-) diff --git a/docs/mission-control/integrations/snyk.mdx b/docs/mission-control/integrations/snyk.mdx index a5a980c4f..9969fa768 100644 --- a/docs/mission-control/integrations/snyk.mdx +++ b/docs/mission-control/integrations/snyk.mdx @@ -60,154 +60,6 @@ Connect Snyk to Continue Mission Control to enable agents to automatically detec -## Use Cases - -### Code Vulnerability Scanning (SAST) - -Scan your source code for security vulnerabilities: - - - - **Task Example**: "Run a Snyk Code scan on this repo with severity threshold medium. Summarize issues with file:line locations and propose minimal fixes for the top 3 critical issues." - - **What the Agent Does**: - - Performs static application security testing on your code - - Identifies security vulnerabilities with exact file and line numbers - - Prioritizes issues by severity and exploitability - - Generates minimal, targeted fixes for critical issues - - Re-runs scans to verify fixes resolve the vulnerabilities - - **Run in Mission Control**: Set up as pre-commit hook or PR check - - - -### Dependency Scanning (SCA) - -Check open source dependencies for known vulnerabilities: - - - - **Task Example**: "Run Snyk Open Source scan including dev dependencies. Summarize vulnerable dependency paths and propose a minimal-risk upgrade plan." - - **What the Agent Does**: - - Performs software composition analysis on all dependencies - - Maps vulnerability paths through dependency tree - - Identifies minimal-risk upgrade strategies - - Creates dependency update plans with compatibility checks - - Re-tests after proposed changes to confirm resolution - - **Run in Mission Control**: Schedule weekly or trigger on package updates - - - -### Infrastructure as Code (IaC) Security - -Scan Terraform, CloudFormation, and Kubernetes configs: - - - - **Task Example**: "Scan ./infra directory with Snyk IaC. Report high/critical misconfigurations with exact files and lines. Provide corrected configurations." - - **What the Agent Does**: - - Scans infrastructure code for security misconfigurations - - Identifies exposed secrets and overly permissive policies - - Reports exact file locations and line numbers - - Provides secure configuration alternatives - - Re-scans to confirm misconfigurations are resolved - - **Run in Mission Control**: Run before infrastructure deployments - - - -### Container Security Scanning - -Analyze Docker images for vulnerabilities: - - - - **Task Example**: "Scan Docker image my-api:latest excluding base image vulnerabilities. Show dependency tree and recommend safer base images." - - **What the Agent Does**: - - Scans container images for OS and application vulnerabilities - - Analyzes complete dependency tree in containers - - Recommends security-hardened base images - - Creates optimized Dockerfiles with security improvements - - Re-tests after changes to verify vulnerability reduction - - **Run in Mission Control**: Trigger on container builds or before deployments - - - -### Pull Request Security Scanning - -Focus scanning on modified files: - - - - **Task Example**: "Scan only files changed since origin/main with Snyk Code. Block if new high severity issues would be introduced." - - **What the Agent Does**: - - Targets security scanning to changed files only - - Compares security posture before and after changes - - Identifies newly introduced vulnerabilities - - Shows security impact delta for the PR - - Blocks merge if critical issues are detected - - **Run in Mission Control**: Set up as PR check automation - - - -### Security Learning Integration - -Access contextual security education: - - - - **Task Example**: "Open Snyk Learn lessons related to the top CWE vulnerabilities from this scan." - - **What the Agent Does**: - - Maps vulnerabilities to Common Weakness Enumeration (CWE) categories - - Retrieves relevant Snyk Learn educational content - - Provides contextual security training based on actual issues - - Links to remediation guides and best practices - - Tracks security knowledge gaps across the team - - **Run in Mission Control**: Run after security scans for team education - - - -## Running Snyk Agents in Mission Control - -You can run Snyk-connected agents in two ways: - -### 1. Manual Tasks - -Trigger agents on-demand for vulnerability analysis: - -1. Go to [Mission Control Agents](https://hub.continue.dev/agents) -2. Select or create a Snyk-enabled agent -3. Click "Run Agent" and provide your task description -4. Monitor progress and review results in real-time - -**Example Tasks:** -- "Scan all projects for critical vulnerabilities and prioritize fixes" -- "Update all npm dependencies with known vulnerabilities" -- "Generate a security report for the last sprint" - -### 2. Automated Workflows - -Set up agents to run automatically: - -- **Webhook-triggered**: Execute when new vulnerabilities are detected -- **Scheduled**: Run daily or weekly security scans -- **PR-triggered**: Scan new dependencies before merge - - - - Start with manual tasks to understand your vulnerability patterns, then automate the most common remediation workflows for continuous security. - - - ## Integration with GitHub Combine Snyk with GitHub integration for a complete security workflow: @@ -290,7 +142,7 @@ Track your agent's security remediation performance: **Problem**: Agent isn't running when new vulnerabilities are found **Solutions**: - - Verify webhook configuration in Snyk settings + - Verify webhook configuration in Snyk integration settings - Check that webhook URL points to Continue Mission Control - Ensure webhook events include vulnerability detection - Review webhook delivery logs in Snyk @@ -313,4 +165,4 @@ Track your agent's security remediation performance: - \ No newline at end of file +