Snyk Organization Metadata
Collects detailed information about your organization, including access request settings, creation and update timestamps, group ID, organization name, and member roles.
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 organizations, 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/organizations-v1
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.
Community transforms
The Monad Transforms Repository has ready-made transforms for this input. Import one into your organization, then add it to a pipeline after this input.
| Format | Transform |
|---|---|
| OCSF v1.9.0 | Snyk Organizations to OCSF v1.9.0 |
| ECS v9.5.0 | Snyk Organizations to ECS v9.5.0 |
| CEF | Snyk Organizations to CEF |
CEF transforms emit an intermediate record; add the CEF Serializer transform after one to produce the CEF:0 string.