cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Esben_D
Lansweeper Employee
Lansweeper Employee
The report below gives back a list of Azure resource groups security groups.

The report will only list groups when the following criteria are met:
  • You have Lansweeper 7.1 or higher.
  • There is Azure resource group data scanned.
  • The asset state is active.

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAzureResourceGroup.SubscriptionId,
tblAzureResourceGroup.Region,
tblAzureResourceGroup.Tags,
tblAzureNetworkSecurityGroup.Name As SecurityGroupName,
tblAzureNetworkSecurityGroup.Region As SecurityGroupRegion,
tblAzureNetworkSecurityGroup.Tags As SecurityGroupTags,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblAzureResourceGroup On tblAzureResourceGroup.AssetId =
tblAssets.AssetID
Inner Join tblAzureNetworkSecurityGroup On
tblAzureNetworkSecurityGroup.AzureResourceGroupId = tblAzureResourceGroup.Id
Where tblState.Statename = 'Active'
Order By tblAssets.AssetName,
SecurityGroupName
0 REPLIES 0