inspec-azure icon indicating copy to clipboard operation
inspec-azure copied to clipboard

azure_webapp: Support additional config properties for stacks

Open srb3 opened this issue 5 years ago • 1 comments

Supported stack versions and types sometimes include things like linuxFxVersion. We do not currently have methods for checking stacks reported in this way

example

inspec> cd azure_webapp(resource_group:'test-app', name: 'testapp1')                                                                                                                                                                     
inspec> configuration.properties                                                                                                                                                                                                           
=> #<#<Class:0x0000000007320ee0>::AzureResourceProbe:0x0000000006997568                                                                                                                                                                    
 @count=77,                                                                                                                                                                                                                                
 @item=                                                                                                                                                                                                                                    
  {:numberOfWorkers=>1,                                                                                                                                                                                                                    
   :defaultDocuments=>["Default.htm", "Default.html", "Default.asp", "index.htm", "index.html", "iisstart.htm", "default.aspx", "index.php", "hostingstart.html"],                   
   :netFrameworkVersion=>"v4.0",                                                                                                                                                                                                           
   :phpVersion=>"",                                                                                                                                                                                                                        
   :pythonVersion=>"",                                                                                                                                                                                                                     
   :nodeVersion=>"",                                                                                                                                                                                                                       
   :powerShellVersion=>"",                                                                                                                                                                                                                 
   :linuxFxVersion=>"PYTHON|3.7",                                                                                                                                                                                                          
   :windowsFxVersion=>nil,                                                                                                                                                                                                                 
   :requestTracingEnabled=>false,                                                                                                                                                                                                          
   :remoteDebuggingEnabled=>false,                                                                                                                                                                                                         
   :remoteDebuggingVersion=>"VS2019",                                                                                                                                                                                                      
   :httpLoggingEnabled=>false,                                                                                                                                                                                                             
   :azureMonitorLogCategories=>nil,                                                                                                                                                                                                        
   :acrUseManagedIdentityCreds=>false,                                                                                                                                                                                                     
   :acrUserManagedIdentityID=>nil,                                                                                                                                                                                                         
   :logsDirectorySizeLimit=>35,                                                                                                                                                                                                            
   :detailedErrorLoggingEnabled=>false,                                                                                                                                                                                                    
   :publishingUsername=>"$saptest1",                                                                                                                                                                                                       
   :publishingPassword=>nil,                                                                                                                                                                                                               
   :appSettings=>nil,                                                                                                                                                                                                                      
   :azureStorageAccounts=>{},                                                                                                                                                                                                              
   :metadata=>nil,                                                                                                                                                                                                                         
   :connectionStrings=>nil,

srb3 avatar Nov 23 '20 14:11 srb3

I am looking in to this issue.

sa-progress avatar Aug 09 '21 07:08 sa-progress