-
Notifications
You must be signed in to change notification settings - Fork 111
[backend/frontend] Manage architecture for OpenBAS implant #2908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/current
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/current #2908 +/- ##
=====================================================
+ Coverage 40.00% 40.18% +0.17%
- Complexity 2123 2124 +1
=====================================================
Files 646 647 +1
Lines 20065 20082 +17
Branches 1369 1369
=====================================================
+ Hits 8027 8069 +42
+ Misses 11597 11563 -34
- Partials 441 450 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
private CrowdStrikeDevice crowdstrikeAgent; | ||
private Executor crowdstrikeExecutor; | ||
|
||
private void initCsAgent() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: Could be put in a fixture class
WINDOWS_ARCH | ||
+ WINDOWS_EXTERNAL_REFERENCE | ||
+ command.replace( | ||
Endpoint.PLATFORM_ARCH.x86_64.name(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this part
InjectStatus injectStatus = | ||
inject.getStatus().orElseThrow(() -> new IllegalArgumentException("Status should exist")); | ||
injectStatus.addTrace(ExecutionTraceStatus.ERROR, message, ExecutionTraceAction.START, agent); | ||
injectStatusRepository.save(injectStatus); | ||
InjectExecutionInput input = new InjectExecutionInput(); | ||
input.setMessage("Execution done"); | ||
input.setStatus(ExecutionTraceStatus.INFO.name()); | ||
input.setAction(InjectExecutionAction.complete); | ||
injectStatusService.updateInjectStatus(agent, inject, input); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MarineLeM can you confirm this trace part ? Thank you
Proposed changes
Related issues
Checklist