def calculate_dbot_score(score: int) -> int:
    """Transforms cyber risk score (reputation) from SOCRadar API to DBot Score and using threshold.

    Args:
        score: Cyber risk score (reputation) from SOCRadar API

    Returns:
        Score representation in DBot
    """
    return_score = 0
    # Malicious
    if score > 800:
        return_score = 3
    # Suspicious
    elif score > 400:
        return_score = 2
    # Good
    elif score > 0:
        return_score = 1
    # Unknown
    return return_score