Skip to content
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

If Caldera executor is enabled and Caldera is down, the platform should fail to start #1201

Merged
merged 7 commits into from
Jul 19, 2024

Conversation

RomuDeuxfois
Copy link
Member

Copy link

codecov bot commented Jul 8, 2024

Codecov Report

Attention: Patch coverage is 7.01754% with 53 lines in your changes missing coverage. Please review.

Project coverage is 24.71%. Comparing base (8019106) to head (2e9c8b5).

Files Patch % Lines
...cutors/caldera/service/CalderaExecutorService.java 6.89% 27 Missing ⚠️
...va/io/openbas/service/PlatformSettingsService.java 0.00% 21 Missing ⚠️
...enbas/rest/settings/response/PlatformSettings.java 0.00% 4 Missing ⚠️
...njectors/caldera/client/CalderaInjectorClient.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1201      +/-   ##
============================================
- Coverage     24.84%   24.71%   -0.14%     
- Complexity     1057     1062       +5     
============================================
  Files           487      489       +2     
  Lines         12121    12246     +125     
  Branches        661      667       +6     
============================================
+ Hits           3012     3027      +15     
- Misses         9018     9127     +109     
- Partials         91       92       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SamuelHassine
Copy link
Member

@RomuDeuxfois do you think this PR is a good occasion to implement also: #1206?

@RomuDeuxfois
Copy link
Member Author

@SamuelHassine we can indeed, the subjects are close.
But to be clear, for caldera the platform does not crash but displays an error message to the user as mentioned on the ticket by JB #1034 (comment).

In the case of mandatory dependencies, we align with OpenCTI, display logs and failed to start.

Is it all good?

@RomuDeuxfois RomuDeuxfois added the filigran team use to identify PR from the Filigran team label Jul 15, 2024
@Dimfacion
Copy link
Member

@RomuDeuxfois I hate to be that guy but the banner is displayed next to and not above the scrollbar :
image
It might be worth talking with @jborozco or @Jipegien and see if that's a deal breaker or not.

@Jipegien
Copy link
Member

@RomuDeuxfois I hate to be that guy but the banner is displayed next to and not above the scrollbar : image It might be worth talking with @jborozco or @Jipegien and see if that's a deal breaker or not.

something to align with what is currently implemented at OpenCTI side.

@RomuDeuxfois
Copy link
Member Author

@RomuDeuxfois I hate to be that guy but the banner is displayed next to and not above the scrollbar : image It might be worth talking with @jborozco or @Jipegien and see if that's a deal breaker or not.

You can still scroll without worries
image

@RomuDeuxfois
Copy link
Member Author

@RomuDeuxfois I hate to be that guy but the banner is displayed next to and not above the scrollbar : image It might be worth talking with @jborozco or @Jipegien and see if that's a deal breaker or not.

something to align with what is currently implemented at OpenCTI side.

It's align
image

@RomuDeuxfois
Copy link
Member Author

@Dimfacion ready for a second round

@RomuDeuxfois RomuDeuxfois merged commit a407bc6 into master Jul 19, 2024
6 checks passed
@RomuDeuxfois RomuDeuxfois deleted the issue/1034 branch July 19, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If Caldera executor is enabled and Caldera is down, the platform should fail to start
4 participants