You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| serviceConnectionEndpoint | The Azure DevOps service connection endpoint where your Snyk API token is defined. Define this within your Azure DevOps project settings / S | no | none | String / Azure Service Connection Endpoint of type SnykAuth / Snyk Authentication |
25
-
| testType | Used by the task UI only | no | "application" | string: "app" or "container" |
26
-
| dockerImageName | The name of the container image to test. | yes, if container image test | none | string |
27
-
| dockerfilePath | The path to the Dockerfile corresponding to the `dockerImageName`| yes, if container image test | none | string |
28
-
| targetFile | Applicable to application type tests ony. The path to the manifest file to be used by Snyk. Should only be provided if non-standard. | no | none | string |
29
-
| severityThreshold | The severity-threshold to use when testing. By default, issues of all severity types will be found. | no | "low" | string: "low" or "medium" or "high" or "critical" |
30
-
| monitorOnBuild | Whether or not to capture the dependencies of the application / container image and monitor them within Snyk. | yes | true | boolean |
31
-
| monitorWhen | When to run `snyk monitor`. Valid options are `never`, `noIssuesFound` (default), and `always`. If set, this option overrides the value of `monitorOnBuild`. | no | 'noIssuesFound' | boolean |
32
-
| failOnIssues | This specifies if builds should be failed or continued based on issues found by Snyk. | yes | true | boolean |
33
-
| projectName | A custom name for the Snyk project to be created on snyk.io | no | none | string |
34
-
| organization | Name of the Snyk organisation name, under which this project should be tested and monitored | no | none | string |
35
-
| testDirectory | Alternate working directory. For example, if you want to test a manifest file in a directory other than the root of your repo, you would put in relative path to that directory. | no | none | string |
36
-
| ignoreUnknownCA | Use to ignore unknown or self-signed certificates. This might be useful in for self-hosted build agents with unusual network configurations or for Snyk on-prem installs configured with a self-signed certificate. | no | false | boolean |
37
-
| additionalArguments | Additional Snyk CLI arguments to be passed in. Refer to the Snyk CLI help page for information on additional arguments. | no | none | string |
| serviceConnectionEndpoint | The Azure DevOps service connection endpoint where your Snyk API token is defined. Define this within your Azure DevOps project settings / S | no | none | String / Azure Service Connection Endpoint of type SnykAuth / Snyk Authentication |
25
+
| testType | Used by the task UI only | no | "application" | string: "app" or "container" |
26
+
| dockerImageName | The name of the container image to test. | yes, if container image test | none | string |
27
+
| dockerfilePath | The path to the Dockerfile corresponding to the `dockerImageName`| yes, if container image test | none | string |
28
+
| targetFile | Applicable to application type tests ony. The path to the manifest file to be used by Snyk. Should only be provided if non-standard. | no | none | string |
29
+
| severityThreshold | The severity-threshold to use when testing. By default, issues of all severity types will be found. | no | "low" | string: "low" or "medium" or "high" or "critical" |
30
+
| monitorWhen | When to run `snyk monitor`. Valid options are `always` (default), `noIssuesFound`, and `never`. If set, this option overrides the value of `monitorOnBuild`. | no | "always" | boolean |
31
+
| failOnIssues | This specifies if builds should be failed or continued based on issues found by Snyk. | yes | true | boolean |
32
+
| projectName | A custom name for the Snyk project to be created on snyk.io | no | none | string |
33
+
| organization | Name of the Snyk organisation name, under which this project should be tested and monitored | no | none | string |
34
+
| testDirectory | Alternate working directory. For example, if you want to test a manifest file in a directory other than the root of your repo, you would put in relative path to that directory. | no | none | string |
35
+
| ignoreUnknownCA | Use to ignore unknown or self-signed certificates. This might be useful in for self-hosted build agents with unusual network configurations or for Snyk on-prem installs configured with a self-signed certificate. | no | false | boolean |
36
+
| additionalArguments | Additional Snyk CLI arguments to be passed in. Refer to the Snyk CLI help page for information on additional arguments. | no | none | string |
38
37
39
38
## Usage Examples
40
39
@@ -45,7 +44,7 @@ This extension requires that Node.js and npm be installed on the build agent. Th
45
44
inputs:
46
45
serviceConnectionEndpoint: 'mySnykToken'
47
46
testType: 'app'
48
-
monitorOnBuild: true
47
+
monitorWhen: 'always'
49
48
failOnIssues: true
50
49
```
51
50
@@ -58,7 +57,7 @@ This extension requires that Node.js and npm be installed on the build agent. Th
0 commit comments