troubleshoot-spark-job

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFE
Full Analysis
  • Official Documentation References: The skill provides several links to official Amazon Web Services (AWS) documentation for setup, IAM permissions, and troubleshooting (e.g., docs.aws.amazon.com/emr/latest/ReleaseGuide/). These are trusted sources for technical guidance.
  • Controlled Tool Execution: The instructions explicitly mandate a specific sequence for tool usage (analyze_spark_workload must be called before spark_code_recommendation), which ensures that diagnostic context is established before generating code fixes. This prevents the agent from making uninformed recommendations.
  • Data Privacy Considerations: The skill instructs the agent to ask the user for specific job and cluster identifiers rather than attempting to discover them automatically via discovery APIs (like list-jobs). This approach maintains user control over which resources are analyzed.
  • Least Privilege Guidance: The documentation provided in references/error-handling.md correctly directs users to official AWS IAM setup guides to ensure the agent operates with only the necessary permissions required for log analysis.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 07:10 PM