Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add column disable_local_auth to table azure_cosmosdb_account. Closes #735 #736

Merged
merged 3 commits into from Mar 19, 2024

Conversation

Priyanka-Chatterjee-2000
Copy link
Contributor

@Priyanka-Chatterjee-2000 Priyanka-Chatterjee-2000 commented Mar 19, 2024

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
select
      a.id as resource,
      case
        when disable_local_auth then 'ok'
        else 'alarm'
      end as status,
      case
        when disable_local_auth then a.name || ' is using AAD and RBAC.'
        else a.name || ' is not using AAD and RBAC.'
      end as reason
    from
      azure_cosmosdb_account as a,
      azure_subscription as sub
    where
      sub.subscription_id = a.subscription_id;
[
 {
  "reason": "turbot-test-20200125-create-update is using AAD and RBAC.",
  "resource": "/subscriptions/dddddddd-bbbb-7777777777c/resourceGroups/turbot-test-20200125-create-update/providers/Microsoft.DocumentDB/databaseAccounts/turbot-test-20200125-create-update",
  "status": "ok"
 }
]

@Priyanka-Chatterjee-2000 Priyanka-Chatterjee-2000 changed the title Add column disable_local_auth to table azure_cosmosdb_account Add column disable_local_auth to table azure_cosmosdb_account. Closes #735 Mar 19, 2024
@bigdatasourav bigdatasourav merged commit c88f86b into main Mar 19, 2024
1 check passed
@bigdatasourav bigdatasourav deleted the issue#735 branch March 19, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add column disable_local_auth to table azure_cosmosdb_account
2 participants