ReadProcessFileWrapper

This Automation is a wrapper - If PaloAltoNetworksXDR is in context - ReadProcessesFileXDR will be executed and displayed. if CrowdStrike is in context - ReadProcessesFile will be executed and displayed. else 'No data on Process List found' will be displayed.

python · Malware Investigation and Response

Source

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

if "PaloAltoNetworksXDR" in demisto.context():
    return_results(demisto.executeCommand("ReadProcessesFileXDR", {}))
elif "CrowdStrike" in demisto.context():
    return_results(demisto.executeCommand("ReadProcessesFile", {}))
else:
    return_results("No data on Process List found")

README

This Automation is a wrapper -
If PaloAltoNetworksXDR is in context - ReadProcessesFileXDR will be executed and displayed.
If CrowdStrike is in context - ReadProcessesFile will be executed and displayed.
Else ‘No data on Process List found’ will be displayed.

Script Data


Name Description
Script Type python3
Tags dynamic-section

Inputs


There are no inputs for this script.

Outputs


The ReadProcessesFileXDR or ReadProcessesFile will be presented as human-readable.