Chef inspec on chef automate (Azure)

Hi,

I am trying to upload my inspec profile and run the scan job in chef-automate. Following is my control source code

control 'azurerm_network_security_group' do
describe azurerm_network_security_group(resource_group: resource_group, name: nsg_name) do
it { should exist }
it { should_not allow_ssh_from_internet }
it { should_not allow_https_from_internet }
end
end

I am facing this error and not sure what it means:
undefined method `azurerm_network_security_group' for #<#Class:0x0000000004a0cf18:0x00000000049cfe60>

Here is my inspec.yml
name: azure-nsg-test
title: InSpec Profile
maintainer: The Authors
copyright: The Authors
copyright_email: you@example.com
license: Apache-2.0
summary: An InSpec Compliance Profile
version: 0.1.0
inspec_version: '>= 4.6.9'
depends:

I have tried with two version types: inspec_version: '>= 2.2.7' and inspec_version: '>= 4.6.9'
Could i get any suggestions on where am going wrong.

Thanks
Lavanya