snyk
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/snyk-pipeline@02984858a0338fadf964740995ca4923aecd97b1
Entrypoint
Return Type
Snyk
Example
dagger -m github.com/fluent-ci-templates/snyk-pipeline@02984858a0338fadf964740995ca4923aecd97b1 call \
func (m *myModule) example() *Snyk {
return dag.
Snyk()
}
@function
def example() -> dag.Snyk:
return (
dag.snyk()
)
@func()
example(): Snyk {
return dag
.snyk()
}
Types
Snyk 🔗
test() 🔗
Checks projects for open source vulnerabilities and license issues
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
token | Secret | - | No description provided |
severityThreshold | StringKind | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/snyk-pipeline@02984858a0338fadf964740995ca4923aecd97b1 call \
test
func (m *myModule) example() {
return dag.
Snyk().
Test()
}
@function
def example() -> :
return (
dag.snyk()
.test()
)
@func()
example(): {
return dag
.snyk()
.test()
}
iacTest() 🔗
Checks projects for infrastructure as code issues
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
token | Secret | - | No description provided |
severityThreshold | StringKind | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/snyk-pipeline@02984858a0338fadf964740995ca4923aecd97b1 call \
iac-test
func (m *myModule) example() {
return dag.
Snyk().
IacTest()
}
@function
def example() -> :
return (
dag.snyk()
.iac_test()
)
@func()
example(): {
return dag
.snyk()
.iacTest()
}