Skip to content

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

Open
Khidr6G wants to merge 3 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 3 commits into
OpenCTI-Platform:masterfrom
Khidr6G:feature/metras-internal-enrichment

fix(metras): set manifest source_code, add file-enrichment test (#7042)

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

83.98% (+48.33%) compared to 562693f

View this Pull Request on Codecov

83.98% (+48.33%) compared to 562693f

Details

Codecov Report

❌ Patch coverage is 86.02484% with 45 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...-enrichment/metras/src/metras_client/api_client.py 78.81% 25 Missing ⚠️
...ernal-enrichment/metras/src/connector/connector.py 87.94% 17 Missing ⚠️
internal-enrichment/metras/src/connector/utils.py 84.21% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #7040       +/-   ##
===========================================
+ Coverage   35.64%   83.98%   +48.33%     
===========================================
  Files        2048        9     -2039     
  Lines      125310      668   -124642     
===========================================
- Hits        44672      561    -44111     
+ Misses      80638      107    -80531     
Files with missing lines Coverage Δ
...ternal-enrichment/metras/src/connector/__init__.py 100.00% <100.00%> (ø)
...richment/metras/src/connector/converter_to_stix.py 100.00% <100.00%> (ø)
...ternal-enrichment/metras/src/connector/settings.py 100.00% <100.00%> (ø)
...al-enrichment/metras/src/metras_client/__init__.py 100.00% <100.00%> (ø)
internal-enrichment/metras/src/connector/utils.py 84.21% <84.21%> (ø)
...ernal-enrichment/metras/src/connector/connector.py 87.94% <87.94%> (ø)
...-enrichment/metras/src/metras_client/api_client.py 78.81% <78.81%> (ø)

... and 2044 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.