Skip to content
2 changes: 2 additions & 0 deletions containers/conf/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/refractionPOINT/usp-adapters/cylance"
"github.com/refractionPOINT/usp-adapters/defender"
"github.com/refractionPOINT/usp-adapters/duo"
"github.com/refractionPOINT/usp-adapters/cortex_xdr"
"github.com/refractionPOINT/usp-adapters/entraid"
"github.com/refractionPOINT/usp-adapters/evtx"
"github.com/refractionPOINT/usp-adapters/falconcloud"
Expand Down Expand Up @@ -65,6 +66,7 @@ type GeneralConfigs struct {
MacUnifiedLogging usp_mac_unified_logging.MacUnifiedLoggingConfig `json:"mac_unified_logging" yaml:"mac_unified_logging"`
AzureEventHub usp_azure_event_hub.EventHubConfig `json:"azure_event_hub" yaml:"azure_event_hub"`
Duo usp_duo.DuoConfig `json:"duo" yaml:"duo"`
CortexXDR usp_cortex_xdr.CortexXDRConfig `json:"cortex_xdr" yaml:"cortex_xdr"`
Gcs usp_gcs.GCSConfig `json:"gcs" yaml:"gcs"`
Slack usp_slack.SlackConfig `json:"slack" yaml:"slack"`
Sqs usp_sqs.SQSConfig `json:"sqs" yaml:"sqs"`
Expand Down
6 changes: 6 additions & 0 deletions containers/general/tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"github.com/refractionPOINT/usp-adapters/bitwarden"
"github.com/refractionPOINT/usp-adapters/box"
"github.com/refractionPOINT/usp-adapters/cato"
usp_cortex_xdr "github.com/refractionPOINT/usp-adapters/cortex_xdr"
"github.com/refractionPOINT/usp-adapters/cylance"
"github.com/refractionPOINT/usp-adapters/defender"
"github.com/refractionPOINT/usp-adapters/duo"
Expand Down Expand Up @@ -366,6 +367,11 @@ func runAdapter(ctx context.Context, method string, configs Configuration, showC
configs.Duo.ClientOptions.Architecture = "usp_adapter"
configToShow = configs.Duo
client, chRunning, err = usp_duo.NewDuoAdapter(ctx, configs.Duo)
} else if method == "cortex_xdr" {
configs.CortexXDR.ClientOptions = applyLogging(configs.CortexXDR.ClientOptions)
configs.CortexXDR.ClientOptions.Architecture = "usp_adapter"
configToShow = configs.CortexXDR
client, chRunning, err = usp_cortex_xdr.NewCortexXDRAdapter(ctx, configs.CortexXDR)
} else if method == "cato" {
configs.Cato.ClientOptions = applyLogging(configs.Cato.ClientOptions)
configs.Cato.ClientOptions.Architecture = "usp_adapter"
Expand Down
Loading