> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Create Enrichment Document

- Component: `appmixer.wiz.core.CreateEnrichmentDocument`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.wiz 1.4.5](https://connectors.appmixer.com/connector/appmixer.wiz/1.4.5.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.wiz/1.4.5/component/appmixer.wiz.core.CreateEnrichmentDocument>

Prepare the enrichment JSON that will be uploaded to Wiz.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| `type` | select | Select the type of scan to be uploaded. |

## Input ports

### Port `in`

Fields are loaded dynamically from `/component/appmixer/wiz/core/CreateEnrichmentDocument?outPort=out`.

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Document (`document`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.wiz.core.CreateEnrichmentDocument",
  "author": "Appmixer <info@appmixer.com>",
  "label": "Create Enrichment Document",
  "description": "Prepare the enrichment JSON that will be uploaded to Wiz.",
  "private": false,
  "auth": {
    "service": "appmixer:wiz"
  },
  "quota": {
    "manager": "appmixer:wiz",
    "resources": "requests"
  },
  "version": "1.0.0",
  "properties": {
    "schema": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ]
    },
    "inspector": {
      "inputs": {
        "type": {
          "type": "select",
          "index": 0,
          "tooltip": "Select the type of scan to be uploaded.",
          "options": [
            {
              "label": "Runtime Events",
              "value": "events"
            },
            {
              "label": "DAST & ASM Vulnerability Findings",
              "value": "vulnerabilityFindings"
            }
          ]
        }
      }
    }
  },
  "inPorts": [
    {
      "name": "in",
      "source": {
        "url": "/component/appmixer/wiz/core/CreateEnrichmentDocument?outPort=out",
        "data": {
          "properties": {
            "generateInspector": true,
            "type": "properties/type"
          }
        }
      },
      "schema": {
        "type": "object",
        "properties": {
          "dataSourceId": {
            "type": "string"
          },
          "cloudPlatform": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "dataSourceAnalysisDate": {
            "type": "string"
          },
          "events": {
            "type": "object"
          },
          "webAppVulnerabilityFindings": {
            "type": "object"
          },
          "vulnerabilityFindings": {
            "type": "object"
          }
        },
        "required": []
      },
      "inspector": {
        "inputs": {
          "dataSourceId": {
            "type": "text",
            "label": "Data Source ID",
            "tooltip": "The ID that uniquely identifies asset findings within a tenant and integration ID. Can be a subscription ID.",
            "index": 2
          },
          "dataSourceAnalysisDate": {
            "type": "text",
            "label": "Analysis Date",
            "tooltip": "The date the scan was performed. For example 2025-01-14T00:05:11.463Z.",
            "index": 3
          },
          "providerId": {
            "type": "text",
            "label": "Provider ID",
            "tooltip": "A unique identifier assigned to a specific cloud asset by the cloud service provider when the asset is created, allowing for the identification and differentiation of the asset within the cloud computing ecosystem.",
            "index": 4
          },
          "cloudPlatform": {
            "type": "select",
            "index": 5,
            "label": "Cloud Platform",
            "defaultValue": "AWS",
            "tooltip": "The cloud platform that was scanned. Default is AWS",
            "options": [
              {
                "label": "AWS",
                "value": "AWS"
              },
              {
                "label": "Azure",
                "value": "Azure"
              },
              {
                "label": "GCP",
                "value": "GCP"
              },
              {
                "label": "OCI",
                "value": "OCI"
              },
              {
                "label": "Alibaba",
                "value": "Alibaba"
              },
              {
                "label": "vSphere",
                "value": "vSphere"
              },
              {
                "label": "OpenStack",
                "value": "OpenStack"
              },
              {
                "label": "Firemon",
                "value": "Firemon"
              },
              {
                "label": "Cloudflare",
                "value": "Cloudflare"
              },
              {
                "label": "OpenAI",
                "value": "OpenAI"
              },
              {
                "label": "Linode",
                "value": "Linode"
              },
              {
                "label": "MongoDBAtlas",
                "value": "MongoDBAtlas"
              },
              {
                "label": "GenericDB",
                "value": "GenericDB"
              },
              {
                "label": "Snowflake",
                "value": "Snowflake"
              },
              {
                "label": "Databricks",
                "value": "Databricks"
              },
              {
                "label": "Okta",
                "value": "Okta"
              },
              {
                "label": "Wiz",
                "value": "Wiz"
              },
              {
                "label": "AKS",
                "value": "AKS"
              },
              {
                "label": "EKS",
                "value": "EKS"
              },
              {
                "label": "GKE",
                "value": "GKE"
              },
              {
                "label": "Kubernetes",
                "value": "Kubernetes"
              },
              {
                "label": "OKE",
                "value": "OKE"
              },
              {
                "label": "OpenShift",
                "value": "OpenShift"
              },
              {
                "label": "ACK",
                "value": "ACK"
              },
              {
                "label": "AzureDevOps",
                "value": "AzureDevOps"
              },
              {
                "label": "GitHub",
                "value": "GitHub"
              },
              {
                "label": "Terraform",
                "value": "Terraform"
              },
              {
                "label": "GitLab",
                "value": "GitLab"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Document",
          "value": "document",
          "schema": {
            "type": "object",
            "example": {
              "id": "appmixer-enrichment",
              "analysisDate": "2026-09-10T08:30:00Z",
              "assets": [
                {
                  "assetIdentifier": {
                    "cloudPlatform": "AWS",
                    "providerId": "arn:aws:ec2:us-east-1:123456789012:instance/i-0abcd1234efgh5678"
                  }
                }
              ]
            }
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
