<?php
/**
 * Default Options: Monitoring Module
 *
 * Contains default settings for email notifications, vulnerability scanner, and test mode.
 *
 * @package UltimateSecurity
 * @since 2.0.0
 */

return [
    'email_notification' => [
        'notification_email' => '', // Will be set to admin_email at runtime
        'slack_channel' => '',
        'slack_webhook' => '',
        'levels' => [
            '1' => '1',
            '2' => '0',
            '4' => '0',
            '8' => '0',
            '256' => '0',
            '512' => '0',
            '2048' => '0',
            '8192' => '0',
        ],
    ],

    'vulnerability_scanner' => [
        'enabled' => '0',
        'wpscan_api_key' => '',
        'patchstack_api_key' => '',
        'scan_schedule' => 'daily',
        'email_notifications' => '0',
        'notification_email' => '', // Will be set to admin_email at runtime
        'notify_severity' => ['critical', 'high'],
        'abandoned_threshold' => 730, // 2 years in days
    ],

    'test_mode' => [
        'enabled' => '0',
        'affected_roles' => ['administrator'],
        'exclude_admins' => '1',
        'log_simulations' => '1',
        'show_dashboard_notice' => '1',
        'enabled_at' => null,
        'enabled_by' => null,
    ],

    'audit_logs' => [
        'enable' => '0',
        'retention_days' => 30,
        'log_login_success' => '1',
        'log_login_failed' => '1',
        'log_logout' => '0',
        'log_2fa_events' => '1',
        'log_password_events' => '1',
        'log_lockouts' => '1',
        'log_device_events' => '1',
    ],

    'audit_files' => [
        'engine' => 'Google',
        'google_api_key' => '',
        'google_ai_model' => '',
        'openrouter_api_key' => '',
        'openrouter_ai_model' => '',
        'openai_api_key' => '',
        'openai_ai_model' => '',
        'requesty_api_key' => '',
        'requesty_ai_model' => '',
        'timeout' => 300,
        'scan_type' => 'all',
        'selected_themes' => [],
        'selected_plugins' => [],
        'ignored_directories' => '',
        'custom_prompt' => '',
        'output_mode' => 'scan',
    ],
];
