intuitem / ciso-assistant-community

CISO Assistant is a one-stop-shop for GRC, covering Risk, AppSec and Audit Management and supporting +70 frameworks worldwide with auto-mapping: NIST CSF, ISO 27001, SOC2, CIS, PCI DSS, NIS2, CMMC, PSPF, GDPR, HIPAA, Essential Eight, NYDFS-500, DORA, NIST AI RMF, 800-53, 800-171, CyFun, CJIS, AirCyber, NCSC, ECC, SCF and so much more
https://intuitem.com
Other
1.16k stars 156 forks source link

Erreur d'export d'audit / Error on audit export -- community edition; #473

Closed devoyon closed 5 months ago

devoyon commented 5 months ago

Describe the bug Runiing multiple audits on same fraworks but on different projects. When exporting audit you have a zip downloaded on your pc. The zip contain the wrong audit (in fact always provide the first audit of the framework done on CISO)

To Reproduce Steps to reproduce the behavior:

  1. Create 2 projects.
  2. On both projects run an audit (used ANSSI hygienne)
  3. On both, complete or fill the dedicated audits
  4. Goes on second project -> audit -> export results
  5. You get the export of the audit on the first project...

Expected behavior Just having the export of the audit we are on :)

Environment (please complete the following information): Ciso 1.3.3 build ce6ffaf Community edition under docker under WSL2 (W11) Chrome Version 124.0.6367.208 (Build officiel) (64 bits)

Mohamed-Hacene commented 5 months ago

Hi @devoyon,

I tried to reproduce your error twice, but I always got the right export. I'm going to run more tests to be sure I'm not missing something. Could you try to reproduce that behavior on your side with another framework ?

Could you also upgrade your ciso version to 1.3.5 to see if it persists ?

Mohamed-Hacene commented 5 months ago

Ok, I was finally able to reproduce that behavior. Thank you very much we will investigate, you can follow the fix on the linked branch or wait for the PR.

Mohamed-Hacene commented 5 months ago

The PR #476 should fix this issue, @devoyon could try to reproduce your case on the fix branch ?