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

Added column environment_name in All tables. #424

Merged
merged 5 commits into from
Jan 5, 2022
Merged

Conversation

bigdatasourav
Copy link
Contributor

@bigdatasourav bigdatasourav commented Dec 20, 2021

Example query results

Results
> select name, id, environment_name from azure_key_vault
+------+--------------------------------------------------------------------------------------------------------------------+------------------------+
| name | id                                                                                                                 | environment_name       |
+------+--------------------------------------------------------------------------------------------------------------------+------------------------+
| tesr | /subscriptions/18f18e31-a2f8-44f6-ac84-1091a5ac256e/resourceGroups/sourav/providers/Microsoft.KeyVault/vaults/tesr | AzureUSGovernmentCloud |
+------+--------------------------------------------------------------------------------------------------------------------+------------------------+

> select name, id, environment_name from azure_key_vault_deleted_vault
+----------------+--------------------------------------------------------------------------------------------------------------------------------+------------------+
| name           | id                                                                                                                             | environment_name |
+----------------+--------------------------------------------------------------------------------------------------------------------------------+------------------+
| test8956440355 | /subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/providers/Microsoft.KeyVault/locations/westus/deletedVaults/test8956440355 | AzurePublicCloud |
+----------------+--------------------------------------------------------------------------------------------------------------------------------+------------------+

> select name, id, environment_name from azure_log_alert
+--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+----------
| name                           | id                                                                                                                                                            | environme
+--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+----------
| turbot_monitor_log_alert_demo4 | /subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbot_demo4/providers/microsoft.insights/activityLogAlerts/turbot_monitor_log_alert_demo4 | AzurePubl
+--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+----------


> select environment_name, subscription_id from azure_tenant
+------------------+--------------------------------------+
| environment_name | subscription_id                      |
+------------------+--------------------------------------+
| AzurePublicCloud | d46d7416-f95f-4771-bbb5-529d4c76659c |
+------------------+--------------------------------------+

> select environment_name, subscription_id from azure_api_management
+------------------+--------------------------------------+
| environment_name | subscription_id                      |
+------------------+--------------------------------------+
| AzurePublicCloud | d46d7416-f95f-4771-bbb5-529d4c76659c |
+------------------+--------------------------------------+
> select environment_name, subscription_id from azure_subscription
+------------------+--------------------------------------+
| environment_name | subscription_id                      |
+------------------+--------------------------------------+
| AzurePublicCloud | d46d7416-f95f-4771-bbb5-529d4c76659c |
+------------------+--------------------------------------+

> select environment_name, subscription_id from azure_compute_virtual_machine
+------------------+--------------------------------------+
| environment_name | subscription_id                      |
+------------------+--------------------------------------+
| AzurePublicCloud | d46d7416-f95f-4771-bbb5-529d4c76659c |
+------------------+--------------------------------------+

@bigdatasourav bigdatasourav marked this pull request as draft December 20, 2021 09:49
@bigdatasourav bigdatasourav self-assigned this Dec 20, 2021
@bigdatasourav bigdatasourav linked an issue Dec 20, 2021 that may be closed by this pull request
@bigdatasourav bigdatasourav marked this pull request as ready for review December 21, 2021 10:32
Copy link
Contributor

@rajlearner17 rajlearner17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Tested random example queries and the entire set of compliance.

@bigdatasourav bigdatasourav merged commit f1f8cbe into main Jan 5, 2022
@bigdatasourav bigdatasourav deleted the issue-416 branch January 5, 2022 07:43
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.

Include Environment in tables
2 participants