File Enrichment Refactor
refactoring file-enrichment to use AggregatedCommandApiModule.
Status
- [x] In Progress
- [ ] Ready
- [ ] In Hold - (Reason for hold)
Related Issues
fixes: link to the issue
Coverage Report
File Stmts Miss Cover Missing Packs/AggregatedScripts/Scripts/CVEEnrichment CVEEnrichment.py 13 0 100% Packs/AggregatedScripts/Scripts/DomainEnrichment DomainEnrichment.py 27 0 100% Packs/AggregatedScripts/Scripts/FileEnrichment FileEnrichment.py 21 0 100% Packs/AggregatedScripts/Scripts/IPEnrichment IPEnrichment.py 41 12 70% 131–138, 140–143 Packs/AggregatedScripts/Scripts/URLEnrichment URLEnrichment.py 21 0 100% Packs/ApiModules/Scripts/AggregatedCommandApiModule AggregatedCommandApiModule.py 534 110 79% 127–130, 211–214, 216–217, 255–258, 261–262, 265–266, 290–295, 327–335, 530, 578–579, 676–680, 682–685, 688–691, 693, 695–696, 698–702, 704–705, 804–806, 808–812, 814, 868, 931–933, 935–942, 944, 946–949, 951, 953, 1056–1058, 1061, 1063–1073, 1075, 1118–1119, 1152, 1174, 1186, 1218, 1258 TOTAL 657 122 81%
| Tests | Skipped | Failures | Errors | Time |
|---|---|---|---|---|
| 122 | 0 :zzz: | 0 :x: | 0 :fire: | 6.671s :stopwatch: |
@almog2296 docs approved
This PR was automatically updated by a GitHub Action
- AggregatedScripts pack version was bumped to 1.3.6.
To stop automatic version bumps, add the ignore-auto-bump-version label to the github PR.
This PR was automatically updated by a GitHub Action
- AggregatedScripts pack version was bumped to 1.3.7.
To stop automatic version bumps, add the ignore-auto-bump-version label to the github PR.
Validate summary The following errors were thrown as a part of this pr: BC101. The following errors cannot be ignored: BC101. If the AG100 validation in the pre-commit GitHub Action fails, the pull request cannot be force-merged. The following errors don't run as part of the nightly flow and therefore can be force merged: BC101.
Verdict: PR can be force merged from validate perspective? ✅
This PR requires a ForceMerge. We refactored the file-enrichment script, which involved changing the context structure and command flow to align with the other enrichment scripts. These updates introduce breaking changes to the previous context structure and replace it with a new one.