def rule(event):
    if any(
        [
            "Function Get-ADRExcelComOb" in event.deep_get("ScriptBlockText", default=""),
            "Get-ADRGPO" in event.deep_get("ScriptBlockText", default=""),
            "Get-ADRDomainController" in event.deep_get("ScriptBlockText", default=""),
            "ADRecon-Report.xlsx" in event.deep_get("ScriptBlockText", default=""),
        ]
    ):
        return True
    return False
