Snyk
Project Metadata
Collects data for individual entities, including repositories, subdirectories, and container images. Fetches information on identified issues, remediation advice, and historical scan data for each project.
Sync Type: Full Synchronisation
Requirements
- You can follow the steps outlined in Snyk's documentation to create a Snyk service account.
- The role you will select depends on which Snyk level you are connecting at:
- If connecting at the Snyk group level, select the Group Admin role.
- If connecting at the Snyk organization level, select the Org Admin role.
- For the name of the account, we recommend Monad Service.
- Once you have successfully created the service account, be sure to copy the token that Snyk generates. Make sure to save this token to your secrets tool or password manager before you navigate away from the page, since it will not be displayed again.
Details
Monad uses the cron field to run this input on specific intervals and returns all projects, performing a full sync of data each time.
Configuration
The following configuration defines the input parameters. Each field's specifications, such as type, requirements, and descriptions, are detailed below.
Settings
| Setting | Type | Required | Description |
|---|---|---|---|
| Cron | string | Yes | Cron string for scheduling tasks. Ex: '0 0 * * *' for daily execution at midnight. |
| API Rate Limit | object | No | Optional limit on the connector's outbound request rate to the source API. Leave blank to use the connector's default behavior. See API Rate Limiting for the field format, limits, and how to choose a value. |
Secrets
| Secret | Type | Required | Description |
|---|---|---|---|
| API Key | string | Yes | API Key for the Snyk API. This is required to authenticate requests. |
Related Articles
- https://docs.snyk.io/snyk-admin/structure-account-for-high-application-performance/service-accounts
- https://docs.snyk.io/snyk-api/reference/projects
Sample Record
Code
Sync frequency
This input runs on a cron schedule (default hourly, 0 * * * *), which you can configure on the pipeline. See Input Sync Frequency for details.
Last modified on