Snyk Connector

Snyk connector uses the pull method to fetch audit logs using the Snyk REST API. DNIF can collect, normalize, and monitor Snyk audit logs to help you identify abnormal activity within your Snyk account in real time.

Note:- Note that a latency of up to 24 hours is possible due to Snyk Audit and Group log pagination. To avoid duplicate or lost data, DNIF pulls Snyk logs once a day.

Prerequisites  
  • API Token
  • Organization ID
  • Group ID

Note:- A user with the Snyk Group Administrator and Organization Administration role is necessary.

Generate an API token
  • Go to Account Settings > General.

Locate the “Auth Token” section. In the KEY field, click “click to show”, then select and copy the value in that field. Store this in a secure location, as you will need it in the next steps.

image 1-Apr-12-2024-05-34-55-1129-AM

Get an Organization ID and Group ID.

  • Go to Organization setting > General.
  • In the Organization ID field, Click on Copy.
  • Go to Group setting > General.
  • In the Group ID field, Click on Copy.
Configurations

The following are the configurations to forward Snyk Connector logs to DNIF.‌

image 2-Apr-12-2024-05-43-18-4369-AM

FieldDescription
Connector NameEnter a name for the connector.
Log TypesSelect the log type from which you want to fetch the logs.
Organization IDEnter the Organization ID. (Optional according to the selected log type).
Group IDEnter Group ID. (Optional according to the selected log type).
Authentication TokenEnter the Authentication  token.
  • Click Save after entering all the required details and click Test Connection, to test the configuration.
  • Connection successful message and the time stamp will be displayed on a screen.