Snyk Integration
Integrate Snyk tool in Opsera pipelines to scan, prioritize, and identify security vulnerabilities in code, during your deployment. You can include the Snyk task in your pipeline to test for security vulnerabilities. When the testing is done, you can review and work with results directly from the reports generated by the Opsera Pipelines.
In this section
Create Snyk Tool
Register the Snyk tool in Opsera, to use the tool in your Pipeline configuration. For more info, see Snyk Tool Registration.
Configure Pipeline using Snyk
To configure the pipeline step
Login to Opsera and navigate to Pipelines.
Create a new pipeline or open an existing pipeline.
Create a new step
In the Step Setup, enter the step name. Example: Snyk.
Choose the Tool as Snyk.
Click Save.
In the Step Settings popup, enter the following details:
Snyk Tool: Select the created Snyk tool from the dropdown.
Snyk Products: Choose the scan type.
Git Service: Choose the Git tool type.
Git Tool ID: Choose the required Git tool from the dropdown.
Repository: Choose a repository from the selected account.
Git Branch: Choose a branch from the dropdown.
Language: Choose the programming language.
Language Version: Choose a version for the selected language.
Multi Module Project
Enable Client Side thresholds: Enable this to set client side thresholds for vulnerabilities. Vulnerability threshold: Critical, High, Medium, Low, No and Unknown. Choose a numeric threshold count.
9. Click Save.
Click the Start Pipeline button to start the execution of the pipeline.
View Pipeline Logs
Once the pipeline is executed, you can view the logs regarding the scans and vulnerabilities identified.
To view logs, navigate to the Summary tab of the Pipeline, and scroll down to view Pipeline Logs.
To view the report, click Report in the Action column of a step. This shows the information on the type of script, the status, the action and the message.
To view the console logs, click Console Report in the Action column of the step.
Last updated
Was this helpful?