intuitem / ciso-assistant-community

CISO Assistant is a one-stop-shop for GRC, covering Risk, AppSec and Audit Management and supporting +37 frameworks worldwide: 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 and so much more
https://intuitem.com
GNU Affero General Public License v3.0
400 stars 60 forks source link

Import backup issues #305

Closed CyberPoly1000 closed 3 weeks ago

CyberPoly1000 commented 3 weeks ago

Describe the bug Database is not loaded when JSON file is provided.

To Reproduce Steps to reproduce the behavior:

  1. Export the DB in /backup-restore
  2. Remove an item, for instance a threat
  3. Import the previously exported DB
  4. The item you removed previously does not exist

Expected behavior The imported database should match the exported one.

Additional context This error applies in local or in prod. In prod environment, there is even no redirection into the logging page, as in the local env.

Mohamed-Hacene commented 3 weeks ago

Hi @CyberPoly1000, thanks for the issue ! We'll will let you know once this one is fixed

devoyon commented 3 weeks ago

Had same issue from a fresh docker install on Ubuntu

nas-tabchiche commented 3 weeks ago

Hi,

Thank you for reporting the issue, this will be fixed with #315.

Best regards, Nassim

nas-tabchiche commented 3 weeks ago

PR merged. Closing this