CoreIsolateEndpoint

A polling wrapper script; Isolates the specified endpoint.

python · Core

Source

import demistomock as demisto  # noqa: F401
from CommonServerPython import *  # noqa: F401


def main():
    args = demisto.args()
    try:
        return_results(execute_polling_command("core-isolate-endpoint", args))
    except Exception as e:
        return_error(f"Failed to execute script.\nError:\n{e!s}")


if __name__ in ("__main__", "__builtin__", "builtins"):
    main()