diff --git a/cmd/poll.go b/cmd/poll.go index 98a9373..fd00aab 100644 --- a/cmd/poll.go +++ b/cmd/poll.go @@ -14,6 +14,7 @@ import ( "github.com/sw33tLie/bbscope/v2/pkg/platforms" bcplatform "github.com/sw33tLie/bbscope/v2/pkg/platforms/bugcrowd" h1platform "github.com/sw33tLie/bbscope/v2/pkg/platforms/hackerone" + immunefiplatform "github.com/sw33tLie/bbscope/v2/pkg/platforms/immunefi" itplatform "github.com/sw33tLie/bbscope/v2/pkg/platforms/intigriti" ywhplatform "github.com/sw33tLie/bbscope/v2/pkg/platforms/yeswehack" "github.com/sw33tLie/bbscope/v2/pkg/polling" @@ -97,6 +98,15 @@ var pollCmd = &cobra.Command{ utils.Log.Info("Skipping YesWeHack: email, password, or otpsecret not found in config.") } + // Immunefi + immunefiPoller := &immunefiplatform.Poller{} + authCfg := platforms.AuthConfig{} + if err := immunefiPoller.Authenticate(cmd.Context(), authCfg); err != nil { + utils.Log.Errorf("Immunefi auth failed: %v", err) + } else { + pollers = append(pollers, immunefiPoller) + } + if len(pollers) == 0 { utils.Log.Info("No platforms to poll. Configure credentials in ~/.bbscope.yaml") return nil