def rule(event):
    if all(
        [
            event.deep_get("Initiated", default="") == "true",
            event.deep_get("DestinationHostname", default="").endswith(".portmap.io"),
        ]
    ):
        return True
    return False
