def filter_configuration_item()

in rules/customer-fc/aggregate-ram-role-last-login-expired-check-v2.py [0:0]


def filter_configuration_item(item):
    filter_exclude_resources = ["332629018877xxxxxx", "332629018878xxxxxx"]
    resource_id = item.get('resourceId')
    if resource_id in filter_exclude_resources:
        return True

    resource_name = item.get('resourceName')
    return resource_name.startswith("Aliyun")