Open obiwan420 opened 3 weeks ago
I ran it a second time and got the same error, but this time I notice when AD-miner is finished gathering data and building the report when it loops back to the beginning?!?
Hello, I guess you use the evolution flag ? How many json are you using ?
About the second screen, it's not looping back, it's just that we added logs for the python control generation as well.
Ok that makes sense. I do have about 6 months' worth of evolution json files. I try without the evolution switch.
Ok.
By any change have you tried modifying them manually before running AD Miner (to adjust numbers, ...) ?
That will be my next test.
No error when not using the evolution switch. Going to run it again with about a weeks of jsons and see what happens.
Errored out when using evolution. I only had 5 json files in the evolution folder
I ran AD Miner with just one json for evolution and it errored out the same.
Hello @obiwan420, we finally identified the origin of the bug. We will release it soon with other small fixes.
For those who might want the fix before the release:
find the file graph_path_objects_to_ou_handlers.py (maybe in your pipx folder, something like modules/controls/graph_path_objects_to_ou_handlers.py)
at the end of the file change this:
self.data = (
(len(self.compromise_paths_of_OUs) if self.compromise_paths_of_OUs else 0),
)
to this:
self.data = len(self.compromise_paths_of_OUs) if self.compromise_paths_of_OUs else 0
I just tested the code above and it worked without the mention error reported in this issue. However, no evolution data was included in the report when using the evolution switch.
Looking at the report, it appears some the evolution data was included but is not being displayed. My oldest evolution json is from March 1st 2024 and in the AD Miner report under evolution I can see the chart dates back to March 1st 2024 but there is no data in the chart, all categories show zero issues for every data.
Hello, The histogram view is indeed buggy (and will hopefully be fixed by https://github.com/Mazars-Tech/AD_Miner/commit/f9db36caf28749db89505f89351dab4ed1bac3f9). However, you should see evolution graphs for controls (when you click on "permissions", "kerberos", etc. on the main page and then on the evolution button).
Received this error when running AD-Miner v1.7 for the first time
System information