fox-it / flow.record

Recordization library
GNU Affero General Public License v3.0
7 stars 9 forks source link

Add a command type #118

Closed Miauwkeru closed 4 months ago

Miauwkeru commented 4 months ago

This command type splits an executable from its arguments. It performs some part of detection for windows type paths on a best effort basis. This is because windows executables handles its own argument parsing

Miauwkeru commented 4 months ago

if you give it a path such as: windows.exe /h

The command type will use posix style arguments. I have not found a method to do this neatly yet. Though there is always the option to have a similar interface to windows_path and posix_path with the command

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 95.29412% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 81.94%. Comparing base (4a47670) to head (144aa3d).

Files Patch % Lines
flow/record/fieldtypes/__init__.py 97.59% 2 Missing :warning:
flow/record/jsonpacker.py 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #118 +/- ## ========================================== + Coverage 81.64% 81.94% +0.30% ========================================== Files 34 34 Lines 3307 3385 +78 ========================================== + Hits 2700 2774 +74 - Misses 607 611 +4 ``` | [Flag](https://app.codecov.io/gh/fox-it/flow.record/pull/118/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fox-it) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/fox-it/flow.record/pull/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fox-it) | `81.94% <95.29%> (+0.30%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fox-it#carryforward-flags-in-the-pull-request-comment) to find out more.

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