![](<https://www.versio.io/img/icons/port-scan.svg>)

# Port scan importer

Versio.io can import, historize and process monitoring data from port scans.

## Configuration

You can find the configuration option in Versio.io at `Environment settings > OneImporter > Configurations > Port scan`.

Here you can edit all existing configurations, create new configurations or delete existing configurations. Each configuration can import multiple IP and port ranges into a single specified entity. To add a new configuration, enter a `Name` and click `Add` to proceed to the configuration. To edit an existing configuration, click the arrow on the left of your importer name to expand the configuration options.

The following configuration options are available:

| Field | Description | Advice |
| --- | --- | --- |
| **Name** | Meaningful name | Should include "Port Scan" |
| **Active** | Option to activate and deactivate the configuration. Data is only imported if the configuration is activated. |  |
| **IP ranges** | Enter one IP and the range of IPs that surround it |  |
| **Domain, hostname or IP** | Enter either the domain, hostname or IP address whose ports you would like to scan |  |
| **Port ranges** | Specify the range of imported ports:<br>from (left field) to (right field) |  |
| **Single ranges** | Specify single imported ports |  |
| **Entity name** | Name of the entity that instances are assigned to (default: `port-scan`) | Determine standards about entity names before your first import |
| **Import also if all ports are closed** | Option to activate and deactivate the imports when all ports are closed |  |
| **Executing OneImporter** | Select a Versio.io OneImporter to import the data based on the importer configuration. | Requires an installed OneImporter: [Installation instructions](<https://docs.versio.io/setup-one-importer/index.md>) |
| **Schedule time (cron format)** | Determine the frequency of imports in CRON format | Learn more about CRON format: [https://en.wikipedia.org/wiki/Cron](<https://en.wikipedia.org/wiki/Cron>) |

*Table: Port scan configuration parameters*

The following image is an example of a configuration in Versio.io for imports of port scans:

![Versio.io port scan configuration](<https://docs.versio.io/img/importer/port-scan/port-scan-configuration.png>) *Figure: Example of a configuration in Versio.io for imports of port scans*

## Example

The Versio.io OneImporter imports port scans based on your specific configuration and stores the different instances in the entity defined by you (default: `port-scan`). To view the imported instances in Versio.io, you can select 'Asset &amp; Configuration Repository → Instance Viewer'. There you can select your specific instance and click it for a detailed view in the instance history viewer.

The following image is an example of an imported port scan:

![Versio.io port scan instance](<https://docs.versio.io/img/importer/port-scan/port-scan-instance.png>) *Figure: Example of a port scan instance*
