Calculate the Amount of Assets
Last updated
Was this helpful?
Was this helpful?
curl -s https://onboarding.dig.security/aws/dig-aws-asset-
counter/single-profile-cloudshell/AACDig-single-profile-
cloudshell.sh | bashResources | where type in~ ("microsoft.storage/storageaccounts", "microsoft.documentdb/databaseaccounts",
"microsoft.sql/servers",
“microsoft.sql/managedinstances”,
"microsoft.dbformysql/servers", "microsoft.dbformysql/flexibleservers", "microsoft.dbforpostgresql/servergroupsv2"
"microsoft.dbforpostgresql/flexibleservers", "microsoft.dbforpostgresql/servers", "microsoft.dbformariadb/servers") | summarize count()