Question 1
A Cortex XSOAR engineer is developing a playbook to process suspicious emails. A critical step involves parsing a proprietary, encrypted log file format attached to the emails. The standard 'Extract Indicators' automation fails on this format. The decryption key is available via a secure vault integration. Which approach provides the most efficient and scalable solution for handling this proprietary attachment within the playbook?
Answer and explanation
Correct answer: B
The most efficient and scalable solution is to encapsulate the entire custom logic within a single, reusable automation script. This script can handle fetching the key, decrypting the file, parsing the specific format, and outputting structured data to the context. This approach is superior because it is modular, easily versioned, testable, and can be reused across multiple playbooks. Manual intervention is inefficient. A pre-processing script is for ingestion, not in-playbook file handling. Developing a full integration is overly complex for a single file format.