opencti
opencti copied to clipboard
[backend] add askAnalysis mutation to request file or fields analysis (#6803)
Proposed changes
- add askAnalysis mutation in stixCoreObjectEdit
- add new INTERNAL_ANALYSIS connector type
- askAnalysis request creates a work and send a message to the first INTERNAL_ANALYSIS connector available
- handle both file and fields analysis
see related client and connector PR https://github.com/OpenCTI-Platform/client-python/pull/666 https://github.com/OpenCTI-Platform/connectors/pull/2190
Related issues
- #6803
Checklist
- [ ] I consider the submitted work as finished
- [ ] I tested the code for its functionality
- [ ] I wrote test cases for the relevant uses case (coverage and e2e)
- [ ] I added/update the relevant documentation (either on github or on notion)
- [ ] Where necessary I refactored code to improve the overall quality
Further comments
Codecov Report
Attention: Patch coverage is 24.81752% with 103 lines in your changes missing coverage. Please review.
Project coverage is 67.59%. Comparing base (
7cfd0cf) to head (41f695a). Report is 1 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #7192 +/- ##
==========================================
- Coverage 67.67% 67.59% -0.09%
==========================================
Files 561 561
Lines 69059 69190 +131
Branches 5879 5880 +1
==========================================
+ Hits 46735 46768 +33
- Misses 22324 22422 +98
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.