Dagger
Search

php-symfony-security-checker

No long description provided.

Installation

dagger install github.com/mykiwi/daggerverse/php-symfony-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146

Entrypoint

Return Type
PhpSymfonySecurityChecker
Example
dagger -m github.com/mykiwi/daggerverse/php-symfony-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146 call \
func (m *myModule) example() *PhpSymfonySecurityChecker  {
	return dag.
			PhpSymfonySecurityChecker()
}
@function
def example() -> dag.PhpSymfonySecurityChecker:
	return (
		dag.php_symfony_security_checker()
	)
@func()
example(): PhpSymfonySecurityChecker {
	return dag
		.phpSymfonySecurityChecker()
}

Types

PhpSymfonySecurityChecker 🔗

container() 🔗

Returns a container with symfony cli

Return Type
Container !
Example
dagger -m github.com/mykiwi/daggerverse/php-symfony-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			PhpSymfonySecurityChecker().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.php_symfony_security_checker()
		.container()
	)
@func()
example(): Container {
	return dag
		.phpSymfonySecurityChecker()
		.container()
}

binary() 🔗

Returns the symfony cli binary

Return Type
File !
Example
dagger -m github.com/mykiwi/daggerverse/php-symfony-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146 call \
 binary
func (m *myModule) example() *File  {
	return dag.
			PhpSymfonySecurityChecker().
			Binary()
}
@function
def example() -> dagger.File:
	return (
		dag.php_symfony_security_checker()
		.binary()
	)
@func()
example(): File {
	return dag
		.phpSymfonySecurityChecker()
		.binary()
}

securityCheck() 🔗

Verify if your PHP dependencies have known security vulnerabilities

Return Type
String !
Arguments
NameTypeDefault ValueDescription
lockFileFile !-The path to the composer.lock file
formatString !"ansi"The output format (ansi, text, markdown, json, junit, or yaml)
disableExitCodeBoolean !falseWhether to fail when issues are detected
Example
dagger -m github.com/mykiwi/daggerverse/php-symfony-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146 call \
 security-check --lock-file file:path --format string --disable-exit-code boolean
func (m *myModule) example(ctx context.Context, lockFile *File, format string, disableExitCode bool) string  {
	return dag.
			PhpSymfonySecurityChecker().
			SecurityCheck(ctx, lockFile, format, disableExitCode)
}
@function
async def example(lock_file: dagger.File, format: str, disable_exit_code: bool) -> str:
	return await (
		dag.php_symfony_security_checker()
		.security_check(lock_file, format, disable_exit_code)
	)
@func()
async example(lockFile: File, format: string, disableExitCode: boolean): Promise<string> {
	return dag
		.phpSymfonySecurityChecker()
		.securityCheck(lockFile, format, disableExitCode)
}