def get_standard_service_name()

in scripts/merge_waf_checklists.py [0:0]


def get_standard_service_name(service_name, service_dictionary=None):
    svc_match_found = False
    for svc in service_dictionary:
        if service_name in svc['names']:
            svc_match_found = True
            return svc['service']
    if not svc_match_found:
        # if args.verbose:
        #     print('DEBUG: Service not found in service dictionary:', service_name)
        return service_name