→ The Lansweeper Customer Excellence Awards 2024 - Submit Your Project Now! Learn More & Enter Here

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 AWS VPC security group permissions.

The report will only list permissions when the following criteria are met:
  • You have Lansweeper 7.1 or higher.
  • There is AWS VPC data scanned.

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAWSContainer.VpcId,
tblAWSContainer.Region,
tblAWSContainer.InstanceTenancy,
tblAWSContainer.State,
tblAWSContainer.IsDefault,
tblAWSSecurityGroup.GroupId As SecurityGroupId,
tblAWSSecurityGroup.Name,
tblAWSSecurityGroup.OwnerId,
tblAWSSecurityGroup.Description,
tblAWSSecurityGroupPermission.FromPort,
tblAWSSecurityGroupPermission.ToPort,
tblAWSSecurityGroupPermission.IpProtocol,
tblAWSSecurityGroupPermissionIpRange.CidrIp,
tblAWSSecurityGroupPermissionIpRange.Description As RangeDescription
From tblAssets
Inner Join tblAWSContainer On tblAWSContainer.AssetID = tblAssets.AssetID
Inner Join tblAWSSecurityGroup On tblAWSSecurityGroup.AWSContainerId =
tblAWSContainer.AWSContainerId
Inner Join tblAWSSecurityGroupPermission On
tblAWSSecurityGroupPermission.AWSSecurityGroupId =
tblAWSSecurityGroup.AWSSecurityGroupId
Inner Join tblAWSSecurityGroupPermissionIpRange On
tblAWSSecurityGroupPermissionIpRange.AWSSecurityGroupPermissionId =
tblAWSSecurityGroupPermission.AWSSecurityGroupPermissionId
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Order By tblAWSContainer.Region,
tblAWSContainer.VpcId,
SecurityGroupId,
tblAWSSecurityGroupPermission.FromPort
0 REPLIES 0

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now