Resolve a SQL Server evidence permission gap Let's troubleshoot a SQL Server evidence gap. We'll run a bounded scan, inspect the denied probe, review one permission, and compare a second result. The native agent and local database authorization are already prepared. Choose Database and give this first job a recognizable name. Enter the connection ID from the local authorization, then search for the intended database-capable agent. Check both selections before submitting. This is our isolated SQL Server twenty twenty-two instance. The job asks for metadata, not application rows. Submit once and follow the job's state. If the response is slow, inspect the existing job before starting another one. We'll open its evidence next. The first job is partial. Find its database connection in inventory, open the asset, and expand the evidence. Look specifically at the session probe. Permission denied means the collector couldn't observe that metadata. It doesn't mean the connection is unencrypted, and it doesn't mean the database is safe. Keep the original job as the before change record. For SQL Server twenty twenty-two, this view requires View Server Performance State. That's server-wide metadata access, so review it with the database owner. If that visibility isn't acceptable, keep the gap. Don't grant sysadmin just to turn a status green. In this owned test instance, we approve that specific permission. Watch the command execute. The reader still has no select permission on our application table. We're changing metadata visibility, not weakening certificate validation. Create a second job with a different name so we can distinguish the comparison. Keep the same database connection and the same authorized agent. Review those selections and submit once. The earlier job stays in history. A changed permission doesn't rewrite its evidence. Wait for this new result before drawing a conclusion. A successful SQL command proves that the grant executed, but the managed scan still has to demonstrate that this collector can read the view. Now inspect the new session evidence. Encryption is observed as enabled with TCP transport and SQL authentication. The negotiated cipher and key establishment are still unknown. This fixes one visibility gap. It does not establish post-quantum readiness. We'll revoke the temporary metadata permission in this test instance and confirm the probe is denied again. A production administrator would retain or remove the grant according to the approved policy. Existing evidence remains historical. You've traced a partial result to a specific permission, checked its scope, rerun discovery, and compared the outcome. Preserve the unknown fields and the original evidence. Investigate the next gap separately without automatically widening access.