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: entropy plugin exec and remove legacy plugin handling #576

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

j-lanson
Copy link
Collaborator

@j-lanson j-lanson commented Nov 5, 2024

Resolves #559 .

NOTE: this should be merged only after #574 and #570 have been resolved.

Updates entropy plugin to run smoothly, and also rips out the MITRE_LEGACY_PLUGINS infrastructure from Hipcheck core, as after this there are no more legacy plugin implementations.

Also replaces a lot of println/eprintln calls with log::{warn, error, trace, debug}

@j-lanson j-lanson added type: bug Something isn't working product: hc Relates to the core "hc" binary labels Nov 5, 2024
@j-lanson j-lanson added this to the 3.8.0 milestone Nov 5, 2024
@j-lanson j-lanson self-assigned this Nov 5, 2024
@patrickjcasey
Copy link
Contributor

I am starting to review this right now! It seems like config/Hipcheck.kdl needs to be updated to provide a manifest path for the entropy plugin

@j-lanson
Copy link
Collaborator Author

j-lanson commented Nov 5, 2024

I am starting to review this right now! It seems like config/Hipcheck.kdl needs to be updated to provide a manifest path for the entropy plugin

@patrickjcasey Good catch, I've updated the file

@patrickjcasey
Copy link
Contributor

patrickjcasey commented Nov 5, 2024

I am seeing this error when running this branch on the hipcheck repo with the default policy file

image

It seems that mitre/typo and mitre/edit errors are also occurring on develop

@j-lanson
Copy link
Collaborator Author

j-lanson commented Nov 5, 2024

I am seeing this error when running this branch on the hipcheck repo with the default policy file

As per the PR message, this branch needs the git parser fixes Andrew was working on. Let me rebase off of main now that those fixes are merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: hc Relates to the core "hc" binary type: bug Something isn't working
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Validate Entropy plugin execution
2 participants