def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 5145,
            any(
                [
                    event.deep_get("RelativeTargetName", default="").endswith(".bak"),
                    event.deep_get("RelativeTargetName", default="").endswith(".dmp"),
                    event.deep_get("RelativeTargetName", default="").endswith(".edb"),
                    event.deep_get("RelativeTargetName", default="").endswith(".kirbi"),
                    event.deep_get("RelativeTargetName", default="").endswith(".msg"),
                    event.deep_get("RelativeTargetName", default="").endswith(".nsf"),
                    event.deep_get("RelativeTargetName", default="").endswith(".nst"),
                    event.deep_get("RelativeTargetName", default="").endswith(".oab"),
                    event.deep_get("RelativeTargetName", default="").endswith(".ost"),
                    event.deep_get("RelativeTargetName", default="").endswith(".pst"),
                    event.deep_get("RelativeTargetName", default="").endswith(".rdp"),
                ]
            ),
        ]
    ):
        return True
    return False
