Discovery is running getEC2Detailsv3.ps1 on target. How does it get triggered ?SummaryQuestion: Discovery is running getEC2Detailsv3.ps1 on target. Normally MID server uses psscript.ps1 to run script. However this script seems to start on its own. How does it get triggered ? Answer: getEC2Detailsv3.ps1 is stored in the attachment of record "Get EC2 Details" on table sa_uploaded_file. Pattern library "Windows - AWS" calls "Get EC2 Details", copies and pastes the attachment onto target machine and runs it. The library is used by Discovery patterns Windows OS - Servers and Windows OS - Desktops.