feat: add EnableMatcherStatus function to configure matcher status in NucleiEngine (#6191)

This commit is contained in:
Eric Gruber 2025-06-16 18:38:01 -05:00 committed by GitHub
parent 61bcf0f10e
commit b95b04fc4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -463,6 +463,14 @@ func EnablePassiveMode() NucleiSDKOptions {
}
}
// EnableMatcherStatus allows enabling matcher status
func EnableMatcherStatus() NucleiSDKOptions {
return func(e *NucleiEngine) error {
e.opts.MatcherStatus = true
return nil
}
}
// WithAuthProvider allows setting a custom authprovider implementation
func WithAuthProvider(provider authprovider.AuthProvider) NucleiSDKOptions {
return func(e *NucleiEngine) error {