Back to source plugin

Export from Snyk to Gremlin

CloudQuery is an open-source data integration platform that allows you to export data from any source to any destination.

The CloudQuery Snyk plugin allows you to sync data from Snyk to any destination, including Gremlin. It takes only minutes to get started.

Snyk
snyk
Official
Premium

Snyk

The CloudQuery Snyk plugin pulls configuration out of Snyk resources and loads it into any supported CloudQuery destination

Publisher

cloudquery

Latest version

v5.2.0

Type

Source

Platforms
Date Published

Feb 23, 2024

Price per 1M rows

$100

free quota

1M rows

Gremlin
gremlin
Official

Gremlin

This plugin is in preview.

This destination plugin lets you sync data from any CloudQuery source to a Gremlin compatible graph database such as AWS Neptune

Publisher

cloudquery

Repositorygithub.com
Latest version

v2.3.1

Type

Destination

Platforms
Date Published

Feb 20, 2024

Price

Free

MacOS Setup

Step 1. Install CloudQuery

brew install cloudquery/tap/cloudquery

Step 2. Log in to CloudQuery CLI

Logging in is required to use premium plugins and premium tables in open-core plugins.

cloudquery login

Step 3. Configure Snyk source plugin

You can find more information about the configuration in the plugin documentation

kind: source
# Common source-plugin configuration
spec:
  name: snyk
  path: cloudquery/snyk
  registry: cloudquery
  version: "v5.2.0"
  tables:
    - "snyk_audit_logs"
    - "snyk_container_images"
    - "snyk_custom_base_images"
    - "snyk_issues"
    - "snyk_organizations"
    - "snyk_projects"
    - "snyk_sbom"
  destinations: ["gremlin"]
  
  # optional, storage for the audit logs cursor state
  backend_options:
    table_name: "cq_state_snyk"
    connection: "@@plugins.DESTINATION_NAME.connection"

  # Snyk specific configuration
  spec:
    api_key: "<YOUR_API_KEY_HERE>"
    organizations:
      - "<YOUR_ORG_1>"
      - "<YOUR_ORG_2>"
    projects:
      - "<YOUR_PROJECT_1>"
      - "<YOUR_PROJECT_2>"
    endpoint_url: "<YOUR_BASE_URL>"
    table_options:
      audit_logs:
        from: "2022-01-01"
        to: "2024-12-31"
      issues:
        created_after: "2022-01-01T01:00:01.000Z"
        created_before: "2024-12-31T23:59:59.999Z"

Step 4. Configure Gremlin destination plugin

You can find more information about the configuration in the plugin documentation

kind: destination
spec:
  name: "gremlin"
  path: "cloudquery/gremlin"
  registry: "cloudquery"
  version: "v2.3.1"
  spec:
    endpoint: "ws://localhost:8182"
    # Optional parameters
    # auth_mode: none
    # username: ""
    # password: ""
    # aws_region: ""
    # max_retries: 5
    # max_concurrent_connections: 5 # default: number of CPUs
    # batch_size: 200
    # batch_size_bytes: 4194304 # 4 MiB

Step 5. Run Sync

cloudquery sync snyk.yml gremlin.yml
Subscribe to product updates

Be the first to know about new features.