Skip to content

Commit 1428042

Browse files
Fixed compilation errors
1 parent 79d360d commit 1428042

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/controller/controller.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"soarca/logger"
2424
"soarca/utils"
2525
httpUtil "soarca/utils/http"
26-
"soarca/utils/stix"
26+
"soarca/utils/stix/expression/comparison"
2727

2828
downstreamReporter "soarca/internal/reporter/downstream_reporter"
2929

@@ -80,8 +80,8 @@ func (controller *Controller) NewDecomposer() decomposer.IDecomposer {
8080

8181
actionExecutor := action.New(capabilities, reporter)
8282
playbookActionExecutor := playbook_action.New(controller, controller, reporter)
83-
stix := stix.New()
84-
conditionExecutor := condition.New(stix)
83+
stixComparison := comparison.New()
84+
conditionExecutor := condition.New(stixComparison, reporter)
8585
guid := new(guid.Guid)
8686
decompose := decomposer.New(actionExecutor,
8787
playbookActionExecutor,

0 commit comments

Comments
 (0)