Webhooks

Sample Primary Resource Metadata Webhook Payload,

  [
        {"SUBNET": [
            {
                "subnetId": "subnet-92fd93f5",
                "cloudResourceReferenceId": "subnet-92fd93f5",
                "subnetArn": "arn:aws:ec2:us-east-1:011xxxx152xx:subnet/subnet-92fd93f5",
                "cidrBlock": "172.31.0.0/20",
                "vpcId": "vpc-7fb70123",
                "name": "Primary-subnet-02",
                "region": "us-east-1",
                "availabilityZone": "us-east-1b"
            },
            {
                "subnetId": "subnet-0cfb81642b9013ec6",
                "cloudResourceReferenceId": "subnet-0cfb81642b9013ec6",
                "subnetArn": "arn:aws:ec2:us-east-1:011xxxx152xx:subnet/subnet-0cfb81642b9013ec6",
                "cidrBlock": "172.31.100.0/24",
                "vpcId": "vpc-7fb70123",
                "name": "subnet-test",
                "region": "us-east-1",
                "availabilityZone": "us-east-1a"
            },
            {
                "subnetId": "subnet-fae68da6",
                "cloudResourceReferenceId": "subnet-fae68da6",
                "subnetArn": "arn:aws:ec2:us-east-1:011xxxx152xx:subnet/subnet-fae68da6",
                "cidrBlock": "172.31.32.0/20",
                "vpcId": "vpc-7fb70123",
                "name": "Primary-subnet-01",
                "region": "us-east-1",
                "availabilityZone": "us-east-1a"
            },
            {
                "subnetId": "subnet-29f48107",
                "cloudResourceReferenceId": "subnet-29f48107",
                "subnetArn": "arn:aws:ec2:us-east-1:011xxxx152xx:subnet/subnet-29f48107",
                "cidrBlock": "172.31.80.0/20",
                "vpcId": "vpc-7fb70123",
                "name": "Primary-subnet-03",
                "region": "us-east-1",
                "availabilityZone": "us-east-1c"
            }
        ]},
        {"COMPUTE": [{
            "cloudResourceReferenceId": "i-09bfa40b518ba1bf8",
            "networkInterfaces": [
                "eni-0e0178f76359e4622",
                "eni-0649f654187b5ee2e"
            ],
            "zone": "us-east-1a",
            "vpcId": "vpc-7fb70123",
            "name": "Wordpress",
            "privateDnsName": "ip-172-31-36-23.ec2.internal",
            "region": "us-east-1",
            "publicDnsName": "",
            "privateIpAddress": "172.31.36.23",
            "machineType": "t2.micro"
        }]},
        {"APPLICATION_LOAD_BALANCER": [{
            "cloudResourceReferenceId": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:loadbalancer/app/application-lb-2/911c5749112a0c7b",
            "loadBalancerType": "application",
            "lbv2TargetGroups": [{
                "targetType": "ip",
                "targetGroupPort": 80,
                "targetGroupProtocol": "HTTP",
                "targets": [{
                    "port": 80,
                    "availabilityZone": "us-east-1a",
                    "id": "172.31.36.23"
                }],
                "targetGroupARN": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:targetgroup/test-tg/f83f2950cf14d6aa"
            }],
            "loadBalancerScheme": "internet-facing",
            "lbv2Listeners": [{
                "protocol": "HTTP",
                "listenerARN": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:listener/app/application-lb-2/911c5749112a0c7b/5c64a20754df3bba"
            }],
            "loadBalancerName": "application-lb-2",
            "vpcId": "vpc-7fb70123",
            "name": "application-lb-2",
            "dnsName": "application-lb-2-499620838.us-east-1.elb.amazonaws.com",
            "availabilityZones": [
                {
                    "subnetId": "subnet-29f48107",
                    "zoneName": "us-east-1c"
                },
                {
                    "subnetId": "subnet-fae68da6",
                    "zoneName": "us-east-1a"
                },
                {
                    "subnetId": "subnet-92fd93f5",
                    "zoneName": "us-east-1b"
                }
            ],
            "region": "us-east-1"
        },
        {
            "cloudResourceReferenceId": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:loadbalancer/app/application-lb-1/2db95d5a0781ece4",
            "loadBalancerType": "application",
            "lbv2TargetGroups": [{
                "targetType": "instance",
                "targetGroupPort": 80,
                "targetGroupProtocol": "HTTP",
                "targets": [{
                    "port": 80,
                    "id": "i-09bfa40b518ba1bf8"
                }],
                "targetGroupARN": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:targetgroup/alb-test/52ef06bbe026732d"
            }],
            "loadBalancerScheme": "internet-facing",
            "lbv2Listeners": [{
                "protocol": "HTTP",
                "listenerARN": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:listener/app/application-lb-1/2db95d5a0781ece4/7103fa941af60700"
            }],
            "loadBalancerName": "application-lb-1",
            "vpcId": "vpc-7fb70123",
            "name": "application-lb-1",
            "dnsName": "application-lb-1-2013840755.us-east-1.elb.amazonaws.com",
            "availabilityZones": [
                {
                    "subnetId": "subnet-fae68da6",
                    "zoneName": "us-east-1a"
                },
                {
                    "subnetId": "subnet-92fd93f5",
                    "zoneName": "us-east-1b"
                }
            ],
            "region": "us-east-1"
            }
        ]},
        {"NETWORK_LOAD_BALANCER": [{
            "cloudResourceReferenceId": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:loadbalancer/net/network-lb/02c2f96c14cf285c",
            "loadBalancerType": "network",
            "lbv2TargetGroups": [{
                "targetType": "instance",
                "targetGroupPort": 80,
                "targetGroupProtocol": "TCP",
                "targets": [{
                    "port": 80,
                    "id": "i-09bfa40b518ba1bf8"
                }],
                "targetGroupARN": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:targetgroup/nlb-test/122286f9c9d82f2c"
            }],
            "loadBalancerScheme": "internet-facing",
            "lbv2Listeners": [{
                "protocol": "TCP",
                "listenerARN": "arn:aws:elasticloadbalancing:us-east-1:011xxxx152xx:listener/net/network-lb/02c2f96c14cf285c/62519406a9ad50b3"
            }],
            "loadBalancerName": "network-lb",
            "vpcId": "vpc-7fb70123",
            "name": "network-lb",
            "dnsName": "network-lb-02c2f96c14cf285c.elb.us-east-1.amazonaws.com",
            "availabilityZones": [
                {
                    "subnetId": "subnet-fae68da6",
                    "zoneName": "us-east-1a"
                },
                {
                    "subnetId": "subnet-92fd93f5",
                    "zoneName": "us-east-1b"
                }
            ],
            "region": "us-east-1"
        }]},
        {"CLASSIC_LOAD_BALANCER": [{
            "cloudResourceReferenceId": "classic-lb",
            "listeners": [{
                "instancePort": 80,
                "instanceProtocol": "HTTP",
                "protocol": "HTTP",
                "loadBalancerPort": 80
            }],
            "scheme": "internet-facing",
            "instances": [{"instanceId": "i-09bfa40b518ba1bf8"}],
            "loadBalancerName": "classic-lb",
            "vpcId": "vpc-7fb70123",
            "name": "classic-lb",
            "dnsName": "classic-lb-1197648182.us-east-1.elb.amazonaws.com",
            "availabilityZones": [
                "us-east-1a",
                "us-east-1b",
                "us-east-1c",
                "us-east-1d",
                "us-east-1e",
                "us-east-1f"
            ],
            "region": "us-east-1"
        }]},
        {"VPC": [{
            "name": "source-vpc",
            "cloudResourceReferenceId": "vpc-7fb70123",
            "region": "us-east-1",
            "dhcpOptionsId": "default",
            "cidrBlock": "172.31.0.0/16",
            "vpcId": "vpc-7fb70123"
        }]},
        {"NAT_GATEWAYS": [{
            "subnetId": "subnet-0cfb81642b9013ec6",
            "cloudResourceReferenceId": "nat-03108127a9dce4b9d",
            "vpcId": "vpc-7fb70123",
            "name": "nat-gateway-01",
            "natGatewayId": "nat-03108127a9dce4b9d",
            "state": "available",
            "region": "us-east-1",
            "natGatewayAddresses": [{
                "networkInterfaceId": "eni-07161d3f54d31183f",
                "publicIp": "52.21.26.202",
                "privateIp": "172.31.100.152"
            }]
        }]},
        {"NETWORK_INTERFACE": [{
            "subnetId": "subnet-0cfb81642b9013ec6",
            "publicIpAddress": "54.167.92.123",
            "attachmentStatus": "attached",
            "publicDnsName": "ec2-54-167-92-123.compute-1.amazonaws.com",
            "privateIpAddress": "172.31.100.20",
            "cloudResourceReferenceId": "eni-0e0178f76359e4622",
            "instanceId": "i-09bfa40b518ba1bf8",
            "zone": "us-east-1a",
            "vpcId": "vpc-7fb70123",
            "name": "test-nic-01",
            "ipAddresses": [{
                "privateDnsName": "ip-172-31-100-20.ec2.internal",
                "publicDnsName": "ec2-54-167-92-123.compute-1.amazonaws.com",
                "publicIpAddress": "54.167.92.123",
                "privateIpAddress": "172.31.100.20",
                "primary": true
            }],
            "privateDnsName": "ip-172-31-100-20.ec2.internal",
            "region": "us-east-1"
        }]},
        {"EIP": [
            {
                "networkInterfaceId": "eni-07161d3f54d31183f",
                "cloudResourceReferenceId": "eipalloc-02a1b7ca735f7cc78",
                "domain": "vpc",
                "name": "eip-1",
                "publicIp": "52.21.26.202",
                "region": "us-east-1",
                "privateIpAddress": "172.31.100.152"
            },
            {
                "networkInterfaceId": "eni-0e0178f76359e4622",
                "cloudResourceReferenceId": "eipalloc-09e2ae00ca7a865bd",
                "instanceId": "i-09bfa40b518ba1bf8",
                "domain": "vpc",
                "publicIp": "54.167.92.123",
                "region": "us-east-1",
                "privateIpAddress": "172.31.100.20"
            }
        ]}
    ]
Need more help? Submit a ticket