Skip to content

feat(metras): add Metras internal-enrichment connector for fleet-presence lookups (#7042) - #7040

Open
Khidr6G wants to merge 8 commits into
OpenCTI-Platform:masterfrom
Khidr6G:feature/metras-internal-enrichment
Open

feat(metras): add Metras internal-enrichment connector for fleet-presence lookups (#7042)#7040
Khidr6G wants to merge 8 commits into
OpenCTI-Platform:masterfrom
Khidr6G:feature/metras-internal-enrichment

fix(metras): make enrichment playbook-compatible — return original bu…

c96343d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 29, 2026 in 0s

84.63% (+48.98%) compared to 562693f

View this Pull Request on Codecov

84.63% (+48.98%) compared to 562693f

Details

Codecov Report

❌ Patch coverage is 85.58559% with 48 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../metras-enrichment/src/metras_client/api_client.py 78.81% 25 Missing ⚠️
...hment/metras-enrichment/src/connector/connector.py 86.45% 21 Missing ⚠️
...nrichment/metras-enrichment/src/connector/utils.py 89.47% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #7040       +/-   ##
===========================================
+ Coverage   35.64%   84.63%   +48.98%     
===========================================
  Files        2048       10     -2038     
  Lines      125310      716   -124594     
===========================================
- Hits        44672      606    -44066     
+ Misses      80638      110    -80528     
Files with missing lines Coverage Δ
...chment/metras-enrichment/src/connector/__init__.py 100.00% <100.00%> (ø)
...tras-enrichment/src/connector/converter_to_stix.py 100.00% <100.00%> (ø)
...chment/metras-enrichment/src/connector/settings.py 100.00% <100.00%> (ø)
...nt/metras-enrichment/src/metras_client/__init__.py 100.00% <100.00%> (ø)
...nrichment/metras-enrichment/src/connector/utils.py 89.47% <89.47%> (ø)
...hment/metras-enrichment/src/connector/connector.py 86.45% <86.45%> (ø)
.../metras-enrichment/src/metras_client/api_client.py 78.81% <78.81%> (ø)

... and 2046 files with indirect coverage changes

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.