#!/bin/bash

appCrowdSecHubUpdate() {
    sudo cscli hub update
    checkSuccess "Hub index refreshed"
    sudo cscli hub upgrade
    checkSuccess "Installed collections upgraded"
    sudo systemctl reload crowdsec
    checkSuccess "Reloaded CrowdSec to apply changes"
}
