def rule(event):
    if any(
        [
            all(
                [
                    event.deep_get("type", default="") == "SYSCALL",
                    event.deep_get("exe", default="").endswith("/useradd"),
                ]
            ),
            event.deep_get("type", default="") == "ADD_USER",
        ]
    ):
        return True
    return False
