openaev icon indicating copy to clipboard operation
openaev copied to clipboard

[backend] POC Ability to choose non-system user to execute a payload

Open savacano28 opened this issue 1 year ago • 1 comments

Proposed changes

POC

  • Add elevation required into payload formes
  • Add elevation required into assetJobAgent
  • Add credentials to link to install agent on windows

Related issues

  • https://github.com/OpenBAS-Platform/openbas/issues/1179

Checklist

  • [ ] I consider the submitted work as finished
  • [ ] I tested the code for its functionality
  • [ ] I wrote test cases for the relevant uses case
  • [ ] I added/update the relevant documentation (either on github or on notion)
  • [ ] Where necessary I refactored code to improve the overall quality

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

savacano28 avatar Sep 09 '24 07:09 savacano28

Codecov Report

Attention: Patch coverage is 62.50000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 31.44%. Comparing base (6922917) to head (802f5f0). Report is 181 commits behind head on master.

Files with missing lines Patch % Lines
.../openbas/rest/payload/form/PayloadCreateInput.java 0.00% 1 Missing :warning:
.../openbas/rest/payload/form/PayloadUpdateInput.java 0.00% 1 Missing :warning:
.../openbas/rest/payload/form/PayloadUpsertInput.java 0.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1396      +/-   ##
============================================
+ Coverage     31.42%   31.44%   +0.01%     
- Complexity     1407     1409       +2     
============================================
  Files           525      526       +1     
  Lines         13678    13686       +8     
  Branches        807      807              
============================================
+ Hits           4298     4303       +5     
- Misses         9182     9185       +3     
  Partials        198      198              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Sep 09 '24 09:09 codecov[bot]