MCMMCM DocsEngineering (Internal)
HLDModulesDiscovery

Discovery

Automated cloud resource discovery and inventory management.

Discovery

The Discovery module automatically identifies and inventories all resources across connected cloud accounts and infrastructure providers. It normalises resources from every provider into a unified record format and stores them in the platform database, making them available across the MCM platform.


How It Works

  • Runs against connected account credentials on a configurable schedule (e.g. every 30 minutes).
  • Users can trigger a manual discovery run at any time.
  • Builds a resource topology representing relationships between resources (VPC → Subnet → EC2, etc.).
  • Discovered resources are stored in MongoDB and surfaced in the MCM UI resource inventory.

Resource Hierarchy


Provider Support

Supported

  • AWS AWS
  • Azure Azure
  • GitHub GitHub
  • Docker Hub Docker Hub
  • Ubuntu Ubuntu
  • Docker Docker

Resource Record Fields

Every discovered resource is normalised into the following fields regardless of provider:

FieldDescription
IDUnique resource identifier
NameResource display name
Resource TypeCanonical type such as AWS_EC2, AWS_S3, or AZURE_VM
ProviderAWS, Azure, GitHub, Docker Hub, Ubuntu, Docker
Account IDThe connected account this resource belongs to
RegionCloud region or host location
Resource GroupAzure resource group or AWS logical grouping
VPCParent VPC (CSP resources)
SubnetParent Subnet (CSP resources)
Resource DetailsProvider-specific attributes (e.g. disk size, CPU, memory for EC2)

On this page