MicrosoftAtpEndpoint
A polling wrapper script; retrieves machines that have communicated with Microsoft Defender for Endpoint cloud. At least one of the following arguments is required: IP, hostname, or ID. Otherwise, an error appears.
python · Microsoft Defender for Endpoint
Source
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 INTEGRATION_NAME = "Microsoft Defender Advanced Threat Protection" def main(): args = demisto.args() try: return_results(execute_polling_command("endpoint", args, using_brand=INTEGRATION_NAME)) except Exception as e: return_error(f"Failed to execute script.\nError:\n{e!s}") if __name__ in ("__main__", "__builtin__", "builtins"): main()