table-access-analysis
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- SQL Command Execution: The skill instructs the agent to execute T-SQL queries against a connected database to gather performance statistics.
- Context: These queries are diagnostic in nature (using
sys.dm_db_index_usage_stats,sys.tables, etc.) and are intended for database administration. - Mitigation: The skill explicitly recommends using a 'read-only SQL query tool' and connecting with a diagnostic login that lacks write permissions (e.g.,
VIEW SERVER STATE), following the principle of least privilege. - Environmental Routing: The skill includes a platform detection step (Step 1) to ensure queries are compatible with the specific SQL engine edition (e.g., Azure SQL vs. On-prem), preventing execution errors on unsupported platforms.
- Data Handling: Results are focused on metadata and aggregate usage counters rather than sensitive row-level data. The workflow relies on standard system views that do not reveal sensitive business information beyond table and index names.
Audit Metadata