Type to search.

Shodan connector

Serverless Preview

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Preview

    This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack Preview 9.3+

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Preview since 9.3

    This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

The Shodan connector communicates with the Shodan API for Internet-wide asset discovery and vulnerability scanning.

You can use this connector in Agent Builder and Workflows.

You can create connectors in Stack Management > Connectors. For example:

Shodan connectors have the following configuration properties:

API Key
The Shodan API key for authentication.

You can test connectors as you're creating or editing the connector in Kibana.

The Shodan connector has the following actions:

Search Hosts

Search for hosts and services using Shodan's search engine.

  • Query (required): Search query string.
  • Page (optional): Page number (default 1).
Get Host Info

Retrieve detailed information about a specific IP address.

  • IP (required): The IPv4 address to look up.
Count Results

Get the count of results for a search query without retrieving the actual results.

  • Query (required): Search query string.
  • Facets (optional): Facets to include in the results.
Get Services
Retrieve the list of services that Shodan crawls.

Use the Action configuration settings to customize connector networking configurations, such as proxies, certificates, or TLS settings. You can set configurations that apply to all your connectors or use xpack.actions.customHostSettings to set per-host configurations.

To use the Shodan connector, you need an API key:

  1. Go to Shodan.
  2. Sign up for an account or log in.
  3. Navigate to your Account page.
  4. Find your API Key in the account overview.
  5. Copy the API key to configure the connector.

Note: Some features require a paid Shodan membership for full access.