Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix consumerbindings plugin #473

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

JSCU-CNI
Copy link
Contributor

@JSCU-CNI JSCU-CNI commented Dec 6, 2023

A consumer binding can exist without the CommandLineTemplate property. This assumption is now fixed by checking for this property before accessing it's value.

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (b24b977) 74.01% compared to head (8b385c5) 74.01%.

Files Patch % Lines
dissect/target/plugins/os/windows/cim.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #473      +/-   ##
==========================================
- Coverage   74.01%   74.01%   -0.01%     
==========================================
  Files         259      259              
  Lines       20951    20952       +1     
==========================================
  Hits        15507    15507              
- Misses       5444     5445       +1     
Flag Coverage Δ
unittests 74.01% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

A consumer binding can exist without the CommandLineTemplate property.
@pyrco pyrco force-pushed the fix/windows-cim-binding branch from 1429ffb to 8b385c5 Compare December 14, 2023 10:21
@pyrco pyrco merged commit a6546d9 into fox-it:main Dec 14, 2023
JSCU-CNI added a commit to JSCU-CNI/dissect.target that referenced this pull request Jan 2, 2024
A consumer binding can exist without the CommandLineTemplate property.
@JSCU-CNI JSCU-CNI deleted the fix/windows-cim-binding branch January 4, 2024 13:04
Poeloe pushed a commit that referenced this pull request Feb 29, 2024
A consumer binding can exist without the CommandLineTemplate property.
Zawadidone pushed a commit to Zawadidone/dissect.target that referenced this pull request Apr 5, 2024
A consumer binding can exist without the CommandLineTemplate property.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants