Snyk
Snyk is a developer security platform for securing code, dependencies, containers, and infrastructure as code. It is a vulnerability scanner and automated vulnerability testing tool that monitors for misconfigurations or coding flaws that pose cybersecurity threats.
In order to integrate Snyk with Relyance AI you will need a Snyk Auth Token, Organization Ids (delimited by semicolons ';'), and Group Ids (delimited by semicolons ';').
In Snyk:
Obtain your Auth Token:
- Login to your Snyk account.
- From the homepage, select the user menu in the top-right, and from the drop down menu select Account settings.

- On the account settings page you will be able to click the box shown to obtain your Auth Token:

- Copy this key to be used in Relyance AI.
Obtain your Organization / Group IDs: (These will be important for extracting PI Data types from the instance.)
- From the top menu select the gear icon.

- From here you can select the Group and Organization Ids.
In the Relyance AI application:
- Login to your Relyance account.
- Navigate to the Settings Menu in the bottom left-hand side.
- Select Integrations.
- Click on the Vendor Integration tab.
- Find the Snyk integration card and click it to open its connections.
- Under Authentication Method, choose Custom.
- Paste the Auth Token, Organization Ids, and Group Ids into their respective fields.

- Click Authenticate.
- At this point, you should see the following result on the Vendor Integrations page:

- Congratulations, you are now connected to Snyk.
Manage this integration with Terraform
Connections for this integration can be managed as code with the Relyance Terraform provider. Non-secret fields go in auth.params; secret fields go in auth.secrets_wo, which is write-only — never stored in Terraform state. Rotate secrets by bumping auth.secrets_wo_version.
resource "relyance_integration_connection" "snyk" {
vendor = "snyk"
name = "<your connection name>"
auth = {
method = "access-token"
params = {
data_storage_location = "us"
}
# Secret fields are write-only: sent to Relyance, never stored in state.
secrets_wo = {
auth_token = var.snyk_auth_token
}
secrets_wo_version = 1
}
scans = { "data-inspection" = { enabled = true } }
}