{
    "common": {
        "idle_timeout": 15,
        "upload_mode": 2,
        "setstat_mode": 1,
        "actions": {
            "execute_on": [
                "upload",
                "pre-delete",
                "rename"
            ],
            "hook": "/usr/local/bin/azuracast_sftp_event"
        }
    },
    "sftpd": {
        "bindings": [
            {
                "port": 2022,
                "address": "",
                "apply_proxy_config": true
            }
        ],
        "host_keys": [
            "persist/id_rsa",
            "persist/id_ecdsa",
            "persist/id_ed25519"
        ],
        "enable_scp": true
    },
    "httpd": {
        "bindings": [
            {
                "port": 0
            }
        ],
        "templates_path": "/usr/share/sftpgo/templates",
        "static_files_path": "/usr/share/sftpgo/static"
    },
    "telemetry": {
        "bind_port": 0
    },
    "data_provider": {
        "driver": "bolt",
        "name": "sftpgo.db",
        "users_base_dir": "/var/azuracast/stations",
        "external_auth_hook": "/usr/local/bin/azuracast_sftp_auth",
        "external_auth_scope": 0
    }
}

{
    "common": {
        "idle_timeout": 15,
        "upload_mode": 2,
        "setstat_mode": 1,
        "actions": {
            "execute_on": [
                "upload",
                "pre-delete",
                "rename"
            ],
            "hook": "/usr/local/bin/azuracast_sftp_event"
        },
        "defender": {
            "enabled": true,
            "driver": "memory"
        }
    },
    "sftpd": {
        "bindings": [
            {
                "port": 2022,
                "address": "",
                "apply_proxy_config": true
            }
        ],
        "host_keys": [
            "persist/id_rsa",
            "persist/id_ecdsa",
            "persist/id_ed25519"
        ],
        "enable_scp": true
    },
    "httpd": {
        "bindings": [
            {
                "port": 0
            }
        ],
        "templates_path": "/usr/share/sftpgo/templates",
        "static_files_path": "/usr/share/sftpgo/static"
    },
    "telemetry": {
        "bind_port": 0
    },
    "data_provider": {
        "driver": "bolt",
        "name": "sftpgo.db",
        "users_base_dir": "/var/azuracast/stations",
        "external_auth_hook": "/usr/local/bin/azuracast_sftp_auth",
        "external_auth_scope": 0
    }
}

Enable SFTPGo's built-in "defender" service.
Enable SFTPGo's built-in "defender" service.
