snyk
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/snyk-pipeline@5b2cfc03fd8fe865db4d510836176b308bd0f000Entrypoint
Return Type
SnykExample
dagger -m github.com/fluent-ci-templates/snyk-pipeline@5b2cfc03fd8fe865db4d510836176b308bd0f000 call \
func (m *MyModule) Example() *dagger.Snyk  {
	return dag.
			Snyk()
}@function
def example() -> dagger.Snyk:
	return (
		dag.snyk()
	)@func()
example(): Snyk {
	return dag
		.snyk()
}Types
Snyk 🔗
test() 🔗
Checks projects for open source vulnerabilities and license issues
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| src | Directory | - | Source directory | 
| token | Secret | - | Snyk token | 
| severityThreshold | String | - | Snyk severity threshold | 
Example
dagger -m github.com/fluent-ci-templates/snyk-pipeline@5b2cfc03fd8fe865db4d510836176b308bd0f000 call \
 testfunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Snyk().
			Test(ctx)
}@function
async def example() -> str:
	return await (
		dag.snyk()
		.test()
	)@func()
async example(): Promise<string> {
	return dag
		.snyk()
		.test()
}iacTest() 🔗
Checks projects for infrastructure as code issues
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| src | Directory | - | Source directory | 
| token | Secret | - | Snyk token | 
| severityThreshold | String | - | Snyk severity threshold | 
Example
dagger -m github.com/fluent-ci-templates/snyk-pipeline@5b2cfc03fd8fe865db4d510836176b308bd0f000 call \
 iac-testfunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Snyk().
			IacTest(ctx)
}@function
async def example() -> str:
	return await (
		dag.snyk()
		.iac_test()
	)@func()
async example(): Promise<string> {
	return dag
		.snyk()
		.iacTest()
}