dag-kics
No long description provided.
Installation
dagger install github.com/Mjb141/dag-kics@e50af4e04f28a4b308a562d3c56fad63dec2157d
Entrypoint
Return Type
DagKics !
Example
dagger -m github.com/Mjb141/dag-kics@e50af4e04f28a4b308a562d3c56fad63dec2157d call \
func (m *myModule) example() *DagKics {
return dag.
DagKics()
}
@function
def example() -> dag.DagKics:
return (
dag.dag_kics()
)
@func()
example(): DagKics {
return dag
.dagKics()
}
Types
DagKics 🔗
scanDir() 🔗
Scan a Directory with KICS
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | Directory ! | - | Path to directory you want to scan |
args | [String ! ] ! | [] | Additional arguments to pass to the KICS scan command |
Example
dagger -m github.com/Mjb141/dag-kics@e50af4e04f28a4b308a562d3c56fad63dec2157d call \
scan-dir --path DIR_PATH --args string1 --args string2
func (m *myModule) example(path *Directory, args []string) *Container {
return dag.
DagKics().
ScanDir(path, args)
}
@function
def example(path: dagger.Directory, args: List[str]) -> dagger.Container:
return (
dag.dag_kics()
.scan_dir(path, args)
)
@func()
example(path: Directory, args: string[]): Container {
return dag
.dagKics()
.scanDir(path, args)
}
scanFile() 🔗
Scan a File with KICS
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | File ! | - | Path to file you want to scan |
args | [String ! ] ! | [] | Additional arguments to pass to the KICS scan command |
Example
dagger -m github.com/Mjb141/dag-kics@e50af4e04f28a4b308a562d3c56fad63dec2157d call \
scan-file --path file:path --args string1 --args string2
func (m *myModule) example(path *File, args []string) *Container {
return dag.
DagKics().
ScanFile(path, args)
}
@function
def example(path: dagger.File, args: List[str]) -> dagger.Container:
return (
dag.dag_kics()
.scan_file(path, args)
)
@func()
example(path: File, args: string[]): Container {
return dag
.dagKics()
.scanFile(path, args)
}