openaev
openaev copied to clipboard
Delete simulations made with security coverage from OpenCTI doesn't work
Description
Environment
- OpenAEV version: 2.0.X
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Create a simulation with security coverage from OpenCTI
- Launch it
- Try to delete it after execution finished
Expected Output
The simulation is deleted
Actual Output
The simulation is not deleted
Additional information
Bug coming from the community: https://filigran-community.slack.com/archives/C06CC3ZC37X/p1764145768552669
Add the missing delete cascade -> DELETE FROM security_coverage_send_job WHERE security_coverage_send_job_simulation = '<your_simulation_id>'.