()
return sigma_rules
Returns all Sigma rules

    Returns:
        A array of Sigma rules

    Raises:
        ValueError: If SIGMA_RULES_FOLDERS is not found in the config file.
            or the folders are not readabale.
Returns all Sigma rules
Returns all Sigma rules
def get_all_sigma_rules():
    """Returns all Sigma rules

    Returns:
        A array of Sigma rules

    Raises:
        ValueError: If SIGMA_RULES_FOLDERS is not found in the config file.
            or the folders are not readabale.
    """
    sigma_rules = []

    rules_paths = get_sigma_rules_path()

    for folder in rules_paths:
        sigma_rules.extend(get_sigma_rules(folder))

    return sigma_rules
def get_all_sigma_rules ( ) : sigma_rules = [ ] rules_paths = get_sigma_rules_path ( ) for folder in rules_paths : sigma_rules . extend ( get_sigma_rules ( folder ) ) return sigma_rules