Commit c0412ee
committed
refactor(detection-emulation): move resolveCurrentUsername to shared lib
Relocates resolve_current_user.ts from the skill-specific directory
to server/lib/detection_emulation/ so it's importable from both the
Agent Builder tool handlers and the REST routes without a cross-concern
import path.
Previously flagged in the code itself as "should be upstreamed" — this
is the short-term path (shared within the plugin) while awaiting an
export from @kbn/agent-builder-server.1 parent bf9706a commit c0412ee
3 files changed
Lines changed: 2 additions & 2 deletions
File tree
- x-pack/solutions/security/plugins/security_solution/server
- agent_builder/skills/detection_emulation
- lib/detection_emulation
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments