()
| 19820 | return jsonify({ |
| 19821 | 'success': True, |
| 19822 | 'logs': logs, |
| 19823 | 'total': since_index + len(logs) |
| 19824 | }) |
| 19825 | except Exception as e: |
| 19826 | logger.error(f"Error getting scan logs: {e}") |
| 19827 | return jsonify({'success': False, 'error': str(e)}), 500 |
| 19828 | |
| 19829 | |
| 19830 | @app.route('/api/vuln-advanced/scan/<scan_id>', methods=['DELETE']) |
nothing calls this directly
no test coverage detected