Skip to main content
availability

Package: Invicti AppSec Enterprise (on-premise, on-demand)

Snyk IaC

Snyk IaC is a cloud-native security tool that scans Infrastructure as Code configurations for misconfigurations and compliance violations across Terraform, Kubernetes, Helm, CloudFormation, and other IaC formats. In Invicti AppSec, the Snyk IaC integration connects to your Snyk account to import IaC security findings into your projects.

Prerequisites

FieldDescription
TokenSnyk API token
RegionSnyk SaaS region endpoint

Get API Credentials (on Snyk Side)

  1. Log in to your Snyk account at https://app.snyk.io (or your regional Snyk URL).
  2. Click your profile avatar in the top-right corner and select Account Settings.
  3. Under the Auth Token section, click Click to show to reveal your API token.
  4. Copy the API Token value.

Step 1: Navigate to Integrations

From the left sidebar menu, click on Integrations.

  Integration setup

Step 2: Select the IaC Tab

On the Integrations > Scanners page, click on the IaC tab.

  IaC tab

Step 3: Find and Activate Snyk IaC

Scroll through the list of IaC scanners to find Snyk IaC.

  • If Snyk IaC is not activated, click the Activate button to enable the integration.

Step 4: Configure Connection Settings

Click the gear icon on the Snyk IaC card to open the settings panel. Fill in the required fields:

FieldDescriptionRequired
TokenSnyk API token from your account settingsYes
RegionSnyk SaaS region endpointYes

Available regions:

RegionDescription
SNYK-US-01 (https://app.snyk.io)United States — Primary
SNYK-US-02 (https://app.us.snyk.io)United States — Secondary
SNYK-EU-01 (https://app.eu.snyk.io)Europe (Frankfurt, Germany)
SNYK-AU-01 (https://app.au.snyk.io)Australia
SNYK-GOV-01 (https://app.snykgov.io)Snyk for Government

  Snyk IaC settings

Step 5: Test the Connection

Click Test Connection. A green Connection successful message confirms that Invicti AppSec can authenticate with the Snyk API.

Summary

StepAction
1Navigate to Integrations from the sidebar
2Select the IaC tab
3Activate Snyk IaC
4Enter API Token and select Region
5Test the connection

Create a Scan

  1. Open a project in Invicti AppSec.
  2. Go to Settings > Scanners.
  3. Click Add Scanner.

Add Snyk IaC Scanner

  1. Select IaC as the scanner type.
  2. Choose Snyk IaC from the scanner list.
  3. Click Add to open the scan configuration drawer.

Scan Configuration Fields

FieldDescriptionRequired
EnvironmentAssociate the scan with a feature environmentNo
OrganizationSelect the Snyk organization to import findings fromYes
ProjectSelect the Snyk IaC project within the organizationYes
Meta DataAdditional metadata to tag the scanNo
Scan TagFree-text tag to identify or group scansNo
Fork ScanFindings in the scanned branch are compared against findings in the default branch to remove pre-existing vulnerabilities (not available for management scans)No

Snyk IaC scans are associated with a fixed branch value of master. Branch selection is not available for this scanner — findings are pulled directly from the selected Snyk project.

Organization and Project are loaded dynamically from your Snyk account using the configured API token. Select the organization first to populate the project list.

  Snyk IaC scan creation

Scheduler

Enable the Scheduler toggle to automatically re-run the Snyk IaC scan on a recurring schedule.

Webhook (Optional)

Add a webhook URL to receive scan completion notifications.

KDT Command

kdt scan -p <project_name> -t snykiac -b master

Troubleshooting

Connection Fails

IssueResolution
Invalid tokenVerify the API token in your Snyk account under Account Settings > Auth Token.
Incorrect regionEnsure the selected region matches the Snyk environment your account belongs to. Check the URL you use to access the Snyk console.
Token lacks permissionsEnsure the API token belongs to a user with access to the relevant Snyk organizations and IaC projects.

Scan Issues

IssueResolution
No organizations listedVerify the API token is valid and the user has access to at least one Snyk organization.
No projects listedConfirm that the selected organization contains Snyk IaC projects. Snyk IaC projects must be imported into Snyk before they appear here.
No findings importedVerify that the Snyk IaC project has completed analysis and contains findings. Check that the project type is IaC in Snyk.
Scan not startingVerify the scanner is activated and the connection test passes in the integration settings.

Best Practices

  • Use a dedicated Snyk service account token for Invicti AppSec with read-only access — avoid using personal user tokens.
  • Rotate the API token periodically and update the integration settings in Invicti AppSec accordingly.
  • Select the correct region matching your Snyk SaaS environment to avoid authentication failures.
  • Map each Invicti AppSec project to a specific Snyk IaC project to keep findings scoped to the relevant service or team.
  • Use the Scheduler to keep IaC findings up to date alongside your Snyk scanning cadence.

Limitations

  • Snyk IaC in Invicti AppSec imports findings from existing Snyk IaC projects — it does not trigger new Snyk scans.
  • Only findings from projects accessible to the provided API token are available for import.
  • Branch selection is not supported — findings are always imported from the selected Snyk project regardless of branch.
  • Requires an active Snyk subscription with IaC scanning capabilities enabled.

Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center

Was this page useful?