Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions containers/conf/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/refractionPOINT/usp-adapters/bitwarden"
"github.com/refractionPOINT/usp-adapters/box"
"github.com/refractionPOINT/usp-adapters/cato"
"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 @@ -58,6 +59,7 @@ type GeneralConfigs struct {
EntraID usp_entraid.EntraIDConfig `json:"entraid" yaml:"entraid"`
Defender usp_defender.DefenderConfig `json:"defender" yaml:"defender"`
Cato usp_cato.CatoConfig `json:"cato" yaml:"cato"`
CortexXdr usp_cortex_xdr.CortexXdrConfig `json:"cortex_xdr" yaml:"cortex_xdr"`
Cylance usp_cylance.CylanceConfig `json:"cylance" yaml:"cylance"`
Okta usp_okta.OktaConfig `json:"okta" yaml:"okta"`
Office365 usp_o365.Office365Config `json:"office365" yaml:"office365"`
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"
"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 @@ -376,6 +377,11 @@ func runAdapter(ctx context.Context, method string, configs Configuration, showC
configs.Cylance.ClientOptions.Architecture = "usp_adapter"
configToShow = configs.Cylance
client, chRunning, err = usp_cylance.NewCylanceAdapter(ctx, configs.Cylance)
} 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 == "entraid" {
configs.EntraID.ClientOptions = applyLogging(configs.EntraID.ClientOptions)
configs.EntraID.ClientOptions.Architecture = "usp_adapter"
Expand Down
Loading