turbot / steampipe-plugin-azure

Use SQL to instantly query Azure resources across regions and subscriptions. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/azure
Apache License 2.0
37 stars 17 forks source link

Fix the GetConfig of azure_app_service_web_app_slot table to correctly return data instead of an empty row #654

Closed misraved closed 1 year ago

misraved commented 1 year ago

Integration test logs

Logs ``` Add passing integration test logs here ```

Example query results

Results ``` select name,app_name, resource_group, site_config_resource from azure_app_service_web_app_slot where name = 'slot-1' and app_name = 'web-app-test-mr' and resource_group = 'demo' [ { "app_name": "web-app-test-mr", "name": "slot-1", "resource_group": "demo", "site_config_resource": { "alwaysOn": false, "appCommandLine": "", "autoHealEnabled": false, "defaultDocuments": [ "Default.htm", "Default.html", "Default.asp", "index.htm", "index.html", "iisstart.htm", "default.aspx", "index.php", "hostingstart.html" ], "detailedErrorLoggingEnabled": false, "experiments": { "rampUpRules": [] }, "ftpsState": "FtpsOnly", "http20Enabled": false, "httpLoggingEnabled": false, "ipSecurityRestrictions": [ { "action": "Allow", "description": "Allow all access", "ipAddress": "Any", "name": "Allow all", "priority": 2147483647 } ], "linuxFxVersion": "NODE|18-lts", "loadBalancing": "LeastRequests", "localMySqlEnabled": false, "logsDirectorySizeLimit": 35, "managedPipelineMode": "Integrated", "minTlsVersion": "1.2", "netFrameworkVersion": "v4.0", "nodeVersion": "", "numberOfWorkers": 1, "phpVersion": "", "powerShellVersion": "", "preWarmedInstanceCount": 0, "publishingUsername": "$web-app-test-mr__slot-1", "pythonVersion": "", "remoteDebuggingEnabled": false, "remoteDebuggingVersion": "VS2019", "requestTracingEnabled": false, "scmIpSecurityRestrictions": [ { "action": "Allow", "description": "Allow all access", "ipAddress": "Any", "name": "Allow all", "priority": 2147483647 } ], "scmIpSecurityRestrictionsUseMain": false, "scmMinTlsVersion": "1.2", "scmType": "None", "use32BitWorkerProcess": true, "virtualApplications": [ { "physicalPath": "site\\wwwroot", "preloadEnabled": false, "virtualPath": "/" } ], "vnetName": "", "vnetPrivatePortsCount": 0, "vnetRouteAllEnabled": false, "webSocketsEnabled": false } } ] ```