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

[backend|frontend]Add the ability to customize the expiration time #1528

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

johanah29
Copy link
Member

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

Attention: Patch coverage is 13.43537% with 509 lines in your changes missing coverage. Please review.

Project coverage is 32.58%. Comparing base (79deada) to head (52a7dca).

Files with missing lines Patch % Lines
.../io/openbas/injectors/caldera/CalderaExecutor.java 0.45% 218 Missing ⚠️
...nbas/injectors/openbas/OpenBASImplantExecutor.java 0.00% 121 Missing ⚠️
.../io/openbas/injectors/caldera/CalderaContract.java 1.69% 58 Missing ⚠️
...openbas/injectors/challenge/ChallengeExecutor.java 7.14% 52 Missing ⚠️
.../service/ExpectationsExpirationManagerService.java 5.88% 31 Missing and 1 partial ⚠️
...va/io/openbas/service/PlatformSettingsService.java 0.00% 6 Missing ⚠️
.../io/openbas/injectors/opencti/OpenCTIExecutor.java 0.00% 5 Missing ⚠️
.../java/io/openbas/injectors/ovh/OvhSmsExecutor.java 0.00% 5 Missing ⚠️
...enbas/rest/settings/response/PlatformSettings.java 0.00% 5 Missing ⚠️
...java/io/openbas/injectors/email/EmailExecutor.java 55.55% 2 Missing and 2 partials ⚠️
... and 2 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1528      +/-   ##
============================================
- Coverage     32.76%   32.58%   -0.18%     
- Complexity     1502     1504       +2     
============================================
  Files           539      540       +1     
  Lines         13883    13980      +97     
  Branches        824      836      +12     
============================================
+ Hits           4549     4556       +7     
- Misses         9124     9214      +90     
  Partials        210      210              
Flag Coverage Δ
32.58% <13.43%> (-0.18%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Comment on lines 18 to 19
long technicalMinutesExpirationTime = 60L;
long manualMinutesExpirationTime = 360L;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in minute or second ?
To compare with what we have as default in Contract

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is in minutes, as mentionned in the name.

@RomuDeuxfois
Copy link
Member

When I publish a challenge and the expiration time is reached, I still have the message: Waiting for validation

image

@RomuDeuxfois
Copy link
Member

RomuDeuxfois commented Sep 26, 2024

Seems to no working wih channel pressure
image

@johanah29 johanah29 force-pushed the issue/1171 branch 2 times, most recently from 53c61d3 to fcea871 Compare September 27, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

For expectations, add the ability to customize the expiration time used by the expiration manager
3 participants