-
Notifications
You must be signed in to change notification settings - Fork 454
Mitre Report Error #2553
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
Comments
Well I seem to have made some progress. I updated pyattck using pip in the venv, downloaded generated_attck_data.json from it's repo and it seems to be working if I manually run process.py. If I just upload something and let it analyze it by itself I still get the error |
Did you restart cape-processor after those changes? |
Of course the one service I forgot to try resetting. After restarting that it's working fine now thank you. I don't see pyattck in the requirements.txt actually so I'm guessing it wasn't installed in the first place |
Yes it not included by default due to conflicting with another more important libraries. But it should be improved to show proper msg instead of error, will improve that one day |
This is open source and you are getting free support so be friendly!
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
I am trying to get the mitre report working. I've never seen it work so I'm not not sure what it's supposed to look like. But I'm guessing this error in the log is not correct
Current Behavior
The reporting module is able to finish its run but I get the following error on the [mitre] task when I run utils/process.py
2025-04-08 20:06:39,178 [Task 58] [mitre] ERROR: ('Mitre', AttributeError("'NoneType' object has no attribute 'enterprise'"))
Failure Information (for bugs)
I did see in this repo you should wget down the json file. I did that and added the following to my reporting.conf
But that did not seem to make any change. I then checked the json with a online json validator and it found a bunch of
NaN
entries it said were not valid so I replaced all those withnull
and that also did not make any change.Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Run
poetry run python process.py -r 58 -d
as the cape user from the utils directory. Change the number to a submission number on your system.Context
Failure Logs
The text was updated successfully, but these errors were encountered: