这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jstucke
Copy link
Collaborator

@jstucke jstucke commented Jan 20, 2025

  • install yara-python from source
    • Why ist this necessary? Plugins like software_components need support for YARA modules (especially magic) and the pre-built version of yara-python from PyPI does not include this
  • moved get_yara_error method to backend (intercom)
    • having the method in the frontend does not make a lot of sense, because the yara version of the backend could be different and compiling the rules could still fail

@jstucke jstucke self-assigned this Jan 20, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 20, 2025

Codecov Report

Attention: Patch coverage is 87.93103% with 7 lines in your changes missing coverage. Please review.

Project coverage is 91.84%. Comparing base (291da75) to head (5d831b8).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/helperFunctions/install.py 16.66% 5 Missing ⚠️
src/intercom/back_end_binding.py 88.23% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1330      +/-   ##
==========================================
- Coverage   92.50%   91.84%   -0.67%     
==========================================
  Files         381      376       -5     
  Lines       24219    21056    -3163     
==========================================
- Hits        22404    19338    -3066     
+ Misses       1815     1718      -97     

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

Why ist this necessary? Plugins like software_components need support for YARA modules and the pre-built version of yara-python from PyPI does not include this.
having the method in the frontend does not make a lot of sense, because the yara version of the backend could be different and compiling the rules could still fail
@dorpvom dorpvom merged commit 57e7c49 into master Jan 22, 2025
9 of 10 checks passed
@dorpvom dorpvom deleted the yara-python-fix branch January 22, 2025 11:57

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

5 participants