CloudQuery News

Introducing the new Snyk Source Plugin

CloudQuery is an open source high performance data integration platform designed for security and infrastructure teams. Today, we are happy to announce the release of the new Snyk source plugin.

Snyk is a robust security and vulnerability detection tool that is well known in the cybersecurity domain. At CloudQuery we have had a plugin that allowed users to sync Snyk data for a while, but we recently rewrote it take advantage of Snyk's new REST API.

With the release of v5.x.x the CloudQuery Snyk Source Plugin supports fetching the following resources:

Let's look at a few use cases to help you get started.

Use cases

Open critical vulnerabilities

It's crucial to stay on top of known vulnerabilities in your code and especially so if they are critical. Use the query below to pull out all open critical issues in your code.

select
attributes->>'key' as key,
attributes->>'title' as title,
attributes->>'classes' as classes,
attributes->>'problems' as problems
from
snyk_issues
where
attributes->>'status' = 'open'
and attributes->>'effective_severity_level' = 'critical'

In this example we're using PostgreSQL as our destination which allows us to use its advanced SQL querying methods.

Remember you can always add more filters. For example, to filter by vulnerability discovery date:

select
s.attributes->>'key' as key,
s.attributes->>'title' as title,
s.attributes->>'classes' as classes,
p->>'id' as problem_id,
p->>'type' as problem_type,
p->>'discovered_at' as problem_discovered_at
from
snyk_issues as s,
jsonb_array_elements(s.attributes->'problems') as p
where
s.attributes->>'status' = 'open'
and s.attributes->>'effective_severity_level' = 'critical'
and to_date(p->>'discovered_at', 'YYYY-MM-DD') = '2024-01-01'

Open SQL injection vulnerabilities

SQL injection attacks are particularly nasty as your application can leak confidential data to attackers. To scan for open SQL injection vulnerabilities run this query:

select
attributes->>'key' as key,
attributes->>'title' as title,
attributes->>'classes' as classes,
attributes->>'problems' as problems
from
snyk_issues
where
attributes->>'status' = 'open'
and attributes->>'title' = 'SQL Injection'

Likewise, you can apply the filtering options used above.

Getting Started

To get started syncing Snyk data, see the Snyk source plugin documentation for instructions.

Incremental audit logs

To prevent repeated syncing of the same data CloudQuery supports incremental tables. We designed the snyk_audit_logs table to be incremental, as the size of audit logs can quickly get out of control.

To take advantage of this feature be sure to add the backend_options field to your sync spec.

For example, to sync from Snyk to PostgreSQL you could use the following config (remember to update the versions and add your API key):

kind: source
spec:
name: snyk
path: cloudquery/snyk
registry: cloudquery
version: 'v5.x.x'
tables:
- 'snyk_audit_logs'
- 'snyk_container_images'
- 'snyk_custom_base_images'
- 'snyk_issues'
- 'snyk_organizations'
- 'snyk_projects'
- 'snyk_sbom'
destinations: ['postgresql']
backend_options:
table_name: 'cq_state_snyk'
connection: '@@plugins.postgresql.connection'
spec:
api_key: '${SNYK_API_KEY}'
---
kind: destination
spec:
name: postgresql
path: cloudquery/postgresql
registry: cloudquery
version: 'v7.x.x'
spec:
connection_string: '${POSTGRES_DSN}'

Want to see CloudQuery in action? Schedule a demo with our team or check out the platform documentation to learn more.

Want help getting started? Join the CloudQuery community to connect with other users and experts, or message our team directly here if you have any questions.

Try CloudQuery yourself

Self-hosted, open source, and free to start. Or schedule a demo to see the managed version.

Related posts

CloudQuery News

Introducing CloudQuery Insights: Cloud Intelligence That Connects the Dots

CloudQuery Insights automatically surfaces connected signals across your cloud inventory: security findings, cost data, policy violations, and audit trails.

Joe Karlsson

Joe Karlsson

April 21, 2026

Cloud Infrastructure

CloudQuery News

Introducing the Nautobot Source Integration

Sync Nautobot DCIM inventory data to PostgreSQL, BigQuery, or Snowflake and query it with SQL alongside your cloud provider data.

Joe Karlsson

Joe Karlsson

March 19, 2026

CloudQuery News

CloudQuery Is Merging with Env Zero

A letter from CloudQuery CEO Yevgeny Pats on the merger with env zero and what it means for customers.

Yevgeny Pats

Yevgeny Pats

March 17, 2026

CloudQuery News

Security

Introducing the Zoom Source Integration

New CloudQuery Zoom source plugin: sync Zoom meeting, user, and webinar data into your database for compliance, analytics, and user access governance reporting.

Joe Karlsson

Joe Karlsson

February 2, 2026

CloudQuery News

Product News

New in CloudQuery: Tines + Semgrep integration, and native visualizations,

CloudQuery October 2025 updates: Tines and Semgrep integration for security orchestration, plus native visualization support in the CloudQuery Platform.

Chris Reuter

Chris Reuter

October 31, 2025

CloudQuery News

Product News

Security

Introducing Data Access Control for CloudQuery Platform

CloudQuery Platform RBAC: Control cloud asset access with SQL-based permissions. Map Azure AD/Okta groups to roles. Available now on all environments.

Joe Karlsson

Joe Karlsson

October 28, 2025

AI

CloudQuery News

Understand your cloud infra faster using natural language

CloudQuery unifies AWS, GCP, Azure, and SaaS configs into SQL tables. The new AI assistant lets you query your cloud inventory using natural language.

Chris Reuter

Chris Reuter

September 29, 2025

CloudQuery News

Find the Cloud Waste Contest

Win CloudQuery swag by finding cloud waste in our dataset. Sync AWS data with CloudQuery, solve 3 SQL challenges, get t-shirts, sweatshirts, and mugs.

Joe Karlsson

Joe Karlsson

September 25, 2025

AI

CloudQuery News

Generate CloudQuery Configuration with Natural Language

Generate CloudQuery config files from natural language prompts. Use AI to quickly create source and destination plugin configs without manual YAML editing.

Chris Reuter

Chris Reuter

September 23, 2025

Own your pipeline.
Own your data.