geo-dr-assessment-health-check
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFE
Full Analysis
- Read-Only Diagnostic Monitoring: The skill utilizes standard SQL System Dynamic Management Views (DMVs) to retrieve performance and health metrics. These queries are designed for read-only assessment of replication state, lag, and resource utilization, which are routine administrative tasks.
- Least-Privilege Enforcement: The instructions explicitly guide the agent to use diagnostic logins with restricted permissions, such as
VIEW SERVER PERFORMANCE STATE. This practice aligns with the principle of least privilege, ensuring the tool can only read telemetry and not access or modify sensitive user data. - SQL Injection Mitigations: For the interpolation of parameters like the database name, the skill instructs the agent to escape single quotes. This is a standard and effective technique for preventing SQL injection within the generated T-SQL scripts.
- Structured Decision Logic: The skill provides clear heuristics for determining health (e.g., lag thresholds) but correctly categorizes these as operational defaults rather than hard rules. It includes instructions to prioritize observed facts and respect user-provided evidence over internal defaults, which helps prevent automated misinterpretations.
Audit Metadata