Skip to content

Commit

Permalink
add azure asset count
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Münch <[email protected]>
  • Loading branch information
atomic111 committed Jan 21, 2024
1 parent 0c99727 commit ff988fc
Showing 1 changed file with 112 additions and 4 deletions.
116 changes: 112 additions & 4 deletions extra/mondoo-asset-count.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
packs:
- uid: mondoo-asset-count
name: Asset Count Query Pack
version: 1.1.0
version: 1.2.0
license: BUSL-1.1
authors:
- name: Mondoo, Inc
Expand All @@ -24,7 +24,25 @@ packs:
- title: Azure asset counts
filters: asset.platform == 'azure'
queries:
- uid: mondoo-asset-count-on-azure
- uid: mondoo-asset-count-azure-reource-groups
- uid: mondoo-asset-count-azure-vms
- uid: mondoo-asset-count-azure-subscription-name
- uid: mondoo-asset-count-azure-cosmosdb-accounts
- uid: mondoo-asset-count-azure-vaults
- uid: mondoo-asset-count-azure-mariaDb-servers
- uid: mondoo-asset-count-azure-mySql-servers
- uid: mondoo-asset-count-azure-postgreSql-servers
- uid: mondoo-asset-count-azure-application-gateways
- uid: mondoo-asset-count-azure-bastion-hosts
- uid: mondoo-asset-count-azure-firewalls
- uid: mondoo-asset-count-azure-loadbalancers
- uid: mondoo-asset-count-azure-natgateways
- uid: mondoo-asset-count-azure-public-addresses
- uid: mondoo-asset-count-azure-security-groups
- uid: mondoo-asset-count-azure-virtual-network-gateways
- uid: mondoo-asset-count-azure-virtual-networks
- uid: mondoo-asset-count-azure-aks-clusters
- uid: mondoo-asset-count-azure-aks-agent-pools
- title: Windows Active Directory asset counts
filters: asset.platform == "windows"
queries:
Expand Down Expand Up @@ -106,10 +124,100 @@ queries:
mql: |
vsphere.datacenters { vms.length }
- uid: mondoo-asset-count-on-azure
- uid: mondoo-asset-count-azure-reource-groups
title: Azure Resource Groups count
mql: |
azure.subscription.resourceGroups.length
- uid: mondoo-asset-count-azure-vms
title: Azure virtual machine count
mql: |
azure.subscription.compute.vms.length
azure.subscription.computeService.vms.length
- uid: mondoo-asset-count-azure-subscription-name
title: Azure subscription name
mql: |
azure.subscription.name
- uid: mondoo-asset-count-azure-cosmosdb-accounts
title: Azure cosmosDB accounts
mql: |
azure.subscription.cosmosDb.accounts.length
- uid: mondoo-asset-count-azure-vaults
title: Azure key vaults
mql: |
azure.subscription.keyVault.vaults.length
- uid: mondoo-asset-count-azure-mariaDb-servers
title: Azure MariaDB servers
mql: |
azure.subscription.mariaDb.servers.length
- uid: mondoo-asset-count-azure-mySql-servers
title: Azure MySQL servers
mql: |
azure.subscription.mySql.servers.length
- uid: mondoo-asset-count-azure-postgreSql-servers
title: Azure PostgreSQL servers
mql: |
azure.subscription.postgreSql.servers.length
- uid: mondoo-asset-count-azure-application-gateways
title: Azure Application Gateways
mql: |
azure.subscription.network.applicationGateways.length
- uid: mondoo-asset-count-azure-bastion-hosts
title: Azure Bastion Hosts
mql: |
azure.subscription.network.bastionHosts.length
- uid: mondoo-asset-count-azure-firewalls
title: Azure Firewalls
mql: |
azure.subscription.network.firewalls.length
- uid: mondoo-asset-count-azure-loadbalancers
title: Azure Load Balancers
mql: |
azure.subscription.network.loadBalancers.length
- uid: mondoo-asset-count-azure-natgateways
title: Azure NAT Gateways
mql: |
azure.subscription.network.natGateways.length
- uid: mondoo-asset-count-azure-public-addresses
title: Azure Public Addresses
mql: |
azure.subscription.network.publicIpAddresses.length
- uid: mondoo-asset-count-azure-security-groups
title: Azure Security Groups
mql: |
azure.subscription.network.securityGroups.length
- uid: mondoo-asset-count-azure-virtual-network-gateways
title: Azure virtual Network Security Gateways
mql: |
azure.subscription.network.virtualNetworkGateways.length
- uid: mondoo-asset-count-azure-virtual-networks
title: Azure virtual Networks
mql: |
azure.subscription.network.virtualNetworks.length
- uid: mondoo-asset-count-azure-aks-clusters
title: Azure AKS Clusters
mql: |
azure.subscription.aks.clusters.length
- uid: mondoo-asset-count-azure-aks-agent-pools
title: Azure AKS Cluster Agent Pool Count
mql: |
azure.subscription.aks.clusters { agentPoolProfiles.length }
- uid: mondoo-count-users-in-entra-id
title: Entra ID user count
Expand Down

0 comments on commit ff988fc

Please sign in to comment.