spark-diagnostics-cli
Pass
Audited by Gen Agent Trust Hub on May 7, 2026
Risk Level: SAFE
Full Analysis
- [Official API Integration]: The skill uses the Azure CLI (
az) and theaz restcommand to communicate with the Microsoft Fabric API atapi.fabric.microsoft.com. This ensures that all operations are performed against official, trusted endpoints using the user's existing security context. - [Diagnostic Code Execution]: The skill generates and submits PySpark diagnostic snippets to remote Spark clusters via Livy. These scripts are used to gather performance metrics (like executor memory and partition stats) and are a standard part of Spark troubleshooting.
- [Session and Job Management]: It includes patterns for listing, monitoring, and cleaning up Spark sessions. These administrative tasks are performed through authenticated REST calls, providing a secure way to manage cluster resources.
- [Log Retrieval Practices]: The skill demonstrates how to retrieve and paginate through Spark driver and executor logs. This is essential for debugging and is implemented using official Fabric monitoring APIs.
- [Data Input Surface]: While the skill processes external data (API responses and logs), which is a common surface for indirect instructions, it focuses on structured analysis and standard diagnostic workflows within a controlled environment.
Audit Metadata