> 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).

# Upload Enrichment Documents

- Component: `appmixer.wiz.core.UploadScan`
- Kind: Action
- Version: 1.2.2
- 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.UploadScan>

Upload security scans to enrich the Wiz Security Graph, using the Vulnerability Findings Schema.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Threshold (`threshold`) | number | Enter the number of entries that will trigger the upload. The upload will be triggered when either the threshold is reached or the interval (configuration below) is reached, whichever comes first. If you only want to trigger the output when the threshold is reached, leave the interval configuration below empty. |
| Schedule Value (`scheduleValue`) | number | Enter the numerical value for the schedule (e.g., 5 for every 5 minutes, hours, or days). |
| Schedule Type (`scheduleType`) | select | Select the type of schedule (minute, hour, or day). |

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Document (`document`) | text | Data finding document to be uploaded. Expected to be in JSON format. |
| Integration ID (`integrationId`) | text | The unique ID for each Wiz integration. Sent by Wiz during the integration initiation process. |
| File Name (`filename`) | text | - |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.wiz.core.UploadScan",
  "author": "Appmixer <info@appmixer.com>",
  "label": "Upload Enrichment Documents",
  "description": "Upload security scans to enrich the Wiz Security Graph, using the Vulnerability Findings Schema.",
  "private": false,
  "auth": {
    "service": "appmixer:wiz"
  },
  "quota": {
    "manager": "appmixer:wiz",
    "resources": "requests"
  },
  "version": "1.2.2",
  "properties": {
    "schema": {
      "properties": {
        "threshold": {
          "type": "number"
        },
        "scheduleValue": {
          "type": "integer"
        },
        "scheduleType": {
          "type": "string"
        }
      }
    },
    "inspector": {
      "groups": {
        "threshold": {
          "label": "Trigger Upload by Threshold",
          "index": 1,
          "open": false
        },
        "schedule": {
          "label": "Trigger Upload by Schedule",
          "index": 3,
          "open": false
        }
      },
      "inputs": {
        "threshold": {
          "group": "threshold",
          "type": "number",
          "index": 1,
          "label": "Threshold",
          "tooltip": "Enter the number of entries that will trigger the upload. The upload will be triggered when either the threshold is reached or the interval (configuration below) is reached, whichever comes first. <br />If you only want to trigger the output when the threshold is reached, leave the interval configuration below empty."
        },
        "scheduleValue": {
          "group": "schedule",
          "type": "number",
          "index": 2,
          "label": "Schedule Value",
          "tooltip": "Enter the numerical value for the schedule (e.g., 5 for every 5 minutes, hours, or days)."
        },
        "scheduleType": {
          "group": "schedule",
          "type": "select",
          "index": 3,
          "label": "Schedule Type",
          "tooltip": "Select the type of schedule (minute, hour, or day).",
          "options": [
            {
              "label": "Minute",
              "value": "minutes"
            },
            {
              "label": "Hour",
              "value": "hours"
            },
            {
              "label": "Day",
              "value": "days"
            }
          ]
        }
      }
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "integrationId": {
            "type": "string"
          },
          "document": {}
        },
        "required": [
          "integrationId",
          "document"
        ]
      },
      "inspector": {
        "inputs": {
          "document": {
            "type": "text",
            "label": "Document",
            "tooltip": "Data finding document to be uploaded. Expected to be in JSON format.",
            "index": 0
          },
          "integrationId": {
            "type": "text",
            "label": "Integration ID",
            "tooltip": "The unique ID for each Wiz integration. Sent by Wiz during the integration initiation process.",
            "index": 1
          },
          "filename": {
            "type": "text",
            "label": "File Name",
            "index": 2
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out"
    }
  ],
  "icon": "(data URI omitted)"
}
```
