Patent attributes
A system may include persistent storage containing discovery patterns configured to identify computing resources and relationships therebetween, and an application configured to perform operations, including selecting a discovery pattern from the discovery patterns and obtaining, from the persistent storage, source code representing the discovery pattern. The operations may also include parsing the source code to determine therein (i) a plurality of configuration items (CIs) representing the computing resources that the discovery pattern is configured to discover when executed, and (ii) relationships between respective CIs of the plurality of CIs. The operations may additionally include generating a representation of the discovery pattern based on the plurality of CIs and the relationships. The representation may include the plurality of CIs represented by a plurality of nodes and the relationships represented by edges between respective nodes. The representation may be stored in the persistent storage in association with the discovery pattern.