You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 24eedec
Browse filesBrowse the repository at this point in the historyBrowse files
fix(scanner): align AZ-DB-008 with the shared evaluate() contract
dev added tests/test_rule_evaluation_contract.py (#381) after this branch
was opened. It requires a failed inventory to be ERROR, an empty one to be
NOT_APPLICABLE, and a registered PASS/FAIL fixture, so AZ-DB-008 failed
three of its checks once synced with dev.
Add AzureClient.list_sql_servers(), which returns None when the list call
fails (get_sql_servers() stays as the [] wrapper for legacy callers), and
use the shared inventory_unavailable / no_resources_found / fail_findings
helpers. This replaces the earlier UNKNOWN-on-empty workaround, which only
existed because the failure could not be told apart from an empty result.
Evidence now records the inspected minimal_tls_version.
Signed-off-by: Dipesh Ray <dipesh.ray.g@gmail.com>
0 commit comments