kics
No long description provided.
Installation
dagger install github.com/mjb141/daggerverse/kics@29d26f035ac0e86bee4d6b55e078015038d9cc73
Entrypoint
Return Type
Kics !
Example
dagger -m github.com/mjb141/daggerverse/kics@29d26f035ac0e86bee4d6b55e078015038d9cc73 call \
func (m *myModule) example() *Kics {
return dag.
Kics()
}
@function
def example() -> dag.Kics:
return (
dag.kics()
)
@func()
example(): Kics {
return dag
.kics()
}
Types
Kics 🔗
scan() 🔗
Scan a directory and contained subdirs with KICS default configuration.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | Directory to scan, relative to `pwd` |
Example
dagger -m github.com/mjb141/daggerverse/kics@29d26f035ac0e86bee4d6b55e078015038d9cc73 call \
scan --dir DIR_PATH
func (m *myModule) example(dir *Directory) *Container {
return dag.
Kics().
Scan(dir)
}
@function
def example(dir: dagger.Directory) -> dagger.Container:
return (
dag.kics()
.scan(dir)
)
@func()
example(dir: Directory): Container {
return dag
.kics()
.scan(dir)
}