def rule(event):
    if all(
        [
            "vaultcmd" in event.deep_get("ScriptBlockText", default=""),
            "/listcreds:" in event.deep_get("ScriptBlockText", default=""),
            any(
                [
                    "Windows Credentials" in event.deep_get("ScriptBlockText", default=""),
                    "Web Credentials" in event.deep_get("ScriptBlockText", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
