Dagger
Search

syft

No long description provided.

Installation

dagger install github.com/fluent-ci-templates/syft-pipeline@v0.3.3

Entrypoint

Return Type
Syft
Example
dagger -m github.com/fluent-ci-templates/syft-pipeline@4ad70e06be026f2ff04601497fc9476e9e352076 call \
func (m *myModule) example() *Syft  {
	return dag.
			Syft()
}
@function
def example() -> dag.Syft:
	return (
		dag.syft()
	)
@func()
example(): Syft {
	return dag
		.syft()
}

Types

Syft 🔗

sbom() 🔗

Generate a software bill of materials

Return Type
File !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
outputFileString !-No description provided
imageString -No description provided
outputFormatString -No description provided
Example
dagger -m github.com/fluent-ci-templates/syft-pipeline@4ad70e06be026f2ff04601497fc9476e9e352076 call \
 sbom --src DIR_PATH --output-file string
func (m *myModule) example(src *Directory, outputFile string) *File  {
	return dag.
			Syft().
			Sbom(src, outputFile)
}
@function
def example(src: dagger.Directory, output_file: str) -> dagger.File:
	return (
		dag.syft()
		.sbom(src, output_file)
	)
@func()
example(src: Directory, outputFile: string): File {
	return dag
		.syft()
		.sbom(src, outputFile)
}