Skip to main content

MicrosoftAtpStopAndQuarantineFile

This Script is part of the Microsoft Defender for Endpoint Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.1.0 and later.

A polling wrapper script; Stop the execution of a file on a machine and delete it.

Script Data#


NameDescription
Script Typepython3
TagsUtilities
Cortex XSOAR Version6.1.0

Inputs#


Argument NameDescription
machine_idThe machine ID. When providing multiple values, each value is checked for the same hash.
file_hashThe file SHA1 hash to stop and quarantine on the machine.
When providing multiple values, each value is checked for the same machine_id.
commentComment to associate with the action.
ran_once_flagFlag for the rate limit retry.

Outputs#


PathDescriptionType
MicrosoftATP.MachineAction.IDThe machine action ID.String
MicrosoftATP.MachineAction.TypeThe type of the action.String
MicrosoftATP.MachineAction.ScopeThe scope of the action.String
MicrosoftATP.MachineAction.RequestorThe ID of the user that executed the action.String
MicrosoftATP.MachineAction.RequestorCommentThe comment that was written when issuing the action.String
MicrosoftATP.MachineAction.StatusThe current status of the command.String
MicrosoftATP.MachineAction.MachineIDThe machine ID on which the action was executed.String
MicrosoftATP.MachineAction.ComputerDNSNameThe machine DNS name on which the action was executed.String
MicrosoftATP.MachineAction.CreationDateTimeUtcThe date and time the action was created.Date
MicrosoftATP.MachineAction.LastUpdateTimeUtcThe last date and time the action status was updated.Date
MicrosoftATP.MachineAction.RelatedFileInfo.FileIdentifierThe file identifier.String
MicrosoftATP.MachineAction.RelatedFileInfo.FileIdentifierTypeThe file identifier type. Possible values: "SHA1" ,"SHA256", and "MD5".String