MicrosoftAtpStopAndQuarantineFile
A polling wrapper script; Stop the execution of a file on a machine and delete it.
- Type
- python
- Pack
- MicrosoftDefenderAdvancedThreatProtection
Source
import demistomock as demisto # noqa: F401
from CommonServerPython import * # noqa: F401
def main():
args = demisto.args()
try:
return_results(execute_polling_command("microsoft-atp-stop-and-quarantine-file", args))
except Exception as e:
return_error(f"Failed to execute script.\nError:\n{e!s}")
if __name__ in ("__main__", "__builtin__", "builtins"):
main()