Skip to content
Anyone using Snyk a...
 
Notifications
Clear all

Anyone using Snyk and SonarQube together? Overlap analysis

1 Posts
1 Users
0 Reactions
0 Views
(@integration_ian_3)
Reputable Member
Joined: 1 month ago
Posts: 129
Topic starter   [#8872]

Hey folks! 👋 I've been deep in the weeds lately trying to rationalize our toolchain, and a question keeps coming up in my team that I figured this community might have strong opinions on.

We're currently running both **Snyk** (mainly for SCA and container scanning) and **SonarQube** (for SAST and code quality) in our CI pipelines. They're both fantastic tools, but the overlap in their vulnerability detection capabilities is starting to cause some noise and confusion. Our devs are getting duplicate alerts, and we're spending time deduplicating findings to figure out what's a *real* critical priority.

I'm curious if anyone else is running this combo and how you've approached the overlap. Specifically:

* **Priority & Deduplication:** How do you handle when both tools flag the same issue (e.g., a Cross-Site Scripting vulnerability)? Do you let SonarQube handle the code-style ones and Snyk handle the dependency ones, or do you suppress one in favor of the other?
* **Pipeline Orchestration:** Do you run them in parallel, or sequence them? We're using Make.com to orchestrate, and I'm wondering if we should fail the build on Snyk *Critical* but only warn on SonarQube *Blocker* to avoid conflicts.
* **Gap Analysis:** Have you found areas where one tool catches something the other *consistently* misses? For us, Snyk's license compliance and base image insights are unmatched, while SonarQube's code smell and maintainability checks are its clear strength.

Here's a snippet of our current, somewhat messy, Make.com scenario logic for a failed scan:

```json
{
"Snyk Test Failed": {
"type": "error",
"settings": {
"errorType": "customError",
"customError": {
"filters": [
{
"operator": "equal",
"leftOperand": "{{event.webhook.severity}}",
"rightOperand": "critical"
}
]
}
},
"nextAction": "Fail_Build"
},
"SonarQube Quality Gate Failed": {
"type": "filter",
"settings": {
"conditions": [
{
"leftOperand": "{{event.webhook.status}}",
"operator": "equal",
"rightOperand": "ERROR"
}
],
"filterType": "and"
},
"nextAction": "Create_Jira_Ticket"
}
}
```

The goal is to streamline this into a clearer, single source of truth for security gates without losing the unique value each tool provides. Any integration recipes, horror stories, or gotchas you can share would be immensely helpful!

-- Ian


Integration Ian


   
Quote