Appendix 3: Enhanced Inventory Gathered by Agent

IT Asset Management (Cloud)
As well as the high-level data gathered from the AWS EC2 connection, FlexNet inventory agent (version 13.1 or later) gathers addition inventory data for each AWS instance where FlexNet inventory agent is locally installed. To do so, FlexNet inventory agent accesses two AWS-internal URLs:
  • returns the unique identifier for the AWS EC2 instance.
  • returns a JSON-formatted value containing data about the instance where FlexNet inventory agent is locally installed. For example:
        "devpayProductCodes" : null,
        "marketplaceProductCodes" : [ "1abc2defghijklm3nopqrs4tu" ],
        "availabilityZone" : "us-west-2b",
        "privateIp" : "",
        "version" : "2017-09-30",
        "instanceId" : "i-1234567890abcdef0",
        "billingProducts" : null,
        "instanceType" : "t2.micro",
        "accountId" : "123456789012",
        "imageId" : "ami-5fb8c835",
        "pendingTime" : "2018-11-19T16:32:11Z",
        "architecture" : "x86_64",
        "kernelId" : null,
        "ramdiskId" : null,
        "region" : "us-west-2"
These two data points are then embedded within the normal .ndi inventory file as a pseudo-hardware WMI class called MGS_AWSComputerSystem. The class looks similar to this example (lines wrapped for presentation):
<Hardware class="MGS_AWSComputerSystem" Name="ec2amaz-vrkiu0p" Evidence="metadata">
    <Property Name="instance-id" Value="i-1234567890abcdef0" 
    <Property Name="document" Value="ewogICJwcml2YXRlSXAiIDogIjE3Mi4zMS4yLjExNiIs...." 
After a full inventory import, these details are eventually saved in the CloudServiceInstance table in the compliance database.

IT Asset Management (Cloud)