CipherInsights Connector User Guide

Instructions for deploying the CipherInsights Connector to scan for cryptographic assets and deliver findings to the AgileSec Platform for processing and analysis.

Overview

The CipherInsights Connector integrates CipherInsights with Keyfactor's AgileSec Platform. This Connector allows users to import and analyze cryptographic findings from the CipherInsights API, bringing protocol-level and certificate-level visibility into the AgileSec ecosystem.

What Gets Scanned

The CipherInsights Connector can discover the following cryptographic asset types:

  • X.509 Certificates: SSL/TLS certificates discovered by CipherInsights network scans

  • TLS Protocol Information: TLS/SSL protocol versions, cipher suites, and key exchange algorithms observed on network endpoints

  • SSH Protocol Information: SSH key exchange, encryption, and MAC algorithms observed on network endpoints

Prerequisites

Ensure you meet the following requirements to enable scanning.

Network Access

Ensure HTTPS network connectivity from AgileSec platform or remote execution machine to Cipher Insights endpoints.

Supported Authentication Methods

The CipherInsights Connector supports token-based authentication:

  • Obtain an API token from your CipherInsights deployment.

  • Provide the token in the Connector configuration via the token field.

CipherInsights Required Access Rights

At minimum, the default Operator role is required for proper CipherInsight API token access permissions.

Custom Roles Note: If using custom CipherInsights roles, the token must have the evidence capability.

Remote Execution Requirements

If running the Connector remotely using CLI, the remote execution machine must meet these requirements:

Component

Requirement

Operating System

  • Linux (x86_64, x86_64): Ubuntu 18.04+, RHEL 9+, CentOS 8+, Debian 10+

RAM

Minimum 500 mb (0.5 GB) to enable API calls and data streaming.

Disk Space

Minimal; scans are API-driven and findings are streamed to the AgileSec platform. No data is stored on disk.

Permissions

Read/write access to remote sensor working directory (remote sensor install location)


Running the Connector

AgileSec CipherInsights scans can be executed using the following methods:

  1. Platform Scan Execution: Configure and execute scans directly through the Keyfactor AgileSec web UI with on-demand or scheduled execution options.

  2. API Scan Execution: Programmatically trigger scans through REST API calls, enabling integration with CI/CD pipelines and automation workflows.

  3. Remote Scan Execution: Deploy and run the connector via CLI on customer-managed infrastructure for scenarios such as:

    1. Scanning air-gapped or internal instances the platform cannot directly reach

    2. Customers wanting to manage their own scheduling and execution environment.

Refer to Scan Execution Flows for additional scan execution information.

Connectors/Sensors Note: Connectors are considered a subset of Sensors. Sensors and Connectors utilize the same Unified Sensor Framework, but Sensors use the Host Sensor for additional scanning depth.

“Sensor”-labeled variables for API and Remote execution are common to both Sensors and Connectors. Unless specified, do NOT update these with “Connector”.

Configuration Options

The following parameters are used to configure AgileSec Cipher Insights scans.

Field Name

UI Display Name

Type

Required

Description

url

API URL

String

✅ Yes

The base URL of the CipherInsights API

token

API Token

Password field

✅ Yes

Authentication token for the CipherInsights API

time_frame

Time Frame (hours)

Number

❌ No

Optional Time-Based Filtering:

Restrict imports to a configurable lookback window (in hours). Scan data from this many hours ago until now.

Set to 0 to scan all available data.

pagination_limit

Pagination Limit

Number

❌ No

Configures number of results per API page to handle large datasets.

insecure

Not available in UI; Remote Scan Execution only.

Boolean

❌ No

Skips TLS verification for non-production environments. Set to true to skip certificate validation when connecting to the CipherInsights API.

Defaults to false.

Platform Scan Execution

Running scans through the user interface is the simplest and fastest way to get started. The platform enables running on-demand or scheduled scans in a dedicated environment.

Platform Scan Configuration

  1. Open your browser and navigate to the Keyfactor AgileSec Platform Web URL

  2. Log in with your credentials

  3. Click on "Sensors" in the left navigation menu under Scan

    image-20260616-210209.png
  4. Click "+ New Sensor".

    image-20260616-210325.png
  5. Click on the correct card to open the configuration interface.

Configure Parameters and Start Scan
  1. Fill in the required configuration parameters.

  2. Click Save.

  3. Click Action then Scan to begin a scan.
    Note: Click Edit to reconfigure parameters.

    image-20260616-214857.png

API Scan Execution

Scans may be programmatically triggered through REST API calls, enabling seamless integration with CI/CD pipelines, automation workflows, and custom applications. API execution provides flexibility for developers to incorporate cryptographic scanning into their existing development and deployment processes.

Note: For complete API reference, see API.

Generate AgileSec API Access Token

  1. Open your browser and navigate to AgileSec Platform UI

  2. Log in with your Keyfactor credentials

  3. Click "Access Tokens" in the main navigation menu

  4. Click "Generate Token" button

  5. Set Token Type to API Token and provide the required details

  6. Click "Generate" and copy the generated token

    image-20260616-212437.png

AgileSec API Endpoint

POST https://<platform-url>/v3/scan/create/

Request Format

Headers
Content-Type: application/json
isg-api-token: <your-api-token>
Request Body
JSON
  {
    "sensorName": "<sensor name>",
    "sensorType": "CipherInsights",
    "sensorConfig": {
       "url": "<cipher insights api url>",
       "token": "<api token>",
       "time_frame": 24,
       "pagination_limit": 100
    },
    "callbackId": "<callback id>",
    "labels": [
        {
            "<label name>": "<label value>"
        }
    ],
    "priority": "<priority>"
  }

Remote Scan Execution

Scans may be run on remote host machines with the AgileSec Remote Sensor Package.

Download Remote Sensor Package
  1. Open your browser and navigate to the Keyfactor AgileSec Platform Web URL

  2. Log in with your credentials

  3. Click on "Sensors" in the left navigation menu under Scan

    image-20260616-210209.png
  4. Click Remote Scan.

    image-20260616-220921.png
  5. Click + Download Remote Sensor.

    image-20260616-221015.png
  6. Download the sensor binary for your remote machine’s operating system

    image-20260616-221050.png
Generate Platform Token
  1. In the Download Remote UI, click "Generate Token"

  2. Copy the generated token

  3. Store securely in an environment variable such as SENSOR_TOKEN:

     export SENSOR_TOKEN="your-generated-token"
    
Create Configuration File

Create a YAML configuration file (e.g., cipher_insights-config.yml) with your scan settings. An example configuration can be found at config/sample-configs/cipher_insights.yml.

Step 4: Run the Connector

Execute the Connector with your configuration file:

  • Linux/macOS

    Bash
    # Set environment variables
    export SENSOR_TOKEN="your-sensor-token"
    
    # Run Connector
    ./unified_sensor_linux -c cipher_insights-config.yml
    
  • Windows (PowerShell)

    PowerShell
    # Set environment variables
    $env:SENSOR_TOKEN = "your-sensor-token"
    
    # Run Connector
    .\\unified_sensor_windows.exe -c .\\cipher_insights-config.yml
    

Remote Scan Execution Configuration Examples

  • Basic Configuration

    YAML
    scan_config:
      plugins:
        - cipher_insights
        - export
      config:
        cipher_insights:
          name: cipher_insights
          plugin_config:
            url: "<https://cipherinsights.example.com/api/v1/>"
            token: "${env:CI_TOKEN}"
            insecure: false
    
  • With Time Frame and Pagination

    YAML
    scan_config:
      plugins:
        - cipher_insights
        - export
      config:
        cipher_insights:
          name: cipher_insights
          plugin_config:
            url: "<https://cipherinsights.example.com/api/v1/>"
            token: "${env:CI_TOKEN}"
            insecure: false
            time_frame: 24
            pagination_limit: 200
    

Known Limitations

API Rate Limiting

The CipherInsights API may enforce rate limits depending on deployment configuration. Large datasets may require pagination tuning. Adjust pagination_limit and time_frame to manage request volume.

Troubleshooting Common Errors

  • CONFIG-404 – Unable to read/parse configuration file

    • Cause: The configuration file path is incorrect or the file is malformed.

    • Fix: Verify the config file path and validate JSON syntax.

  • CONFIG-422 – Required attribute not found

    • Cause: A required configuration field (e.g., url or token) is missing.

    • Fix: Ensure all required fields are present in the configuration.

  • 401 Unauthorized

    • Cause: Invalid or expired API token.

    • Fix: Verify the token is correct and has not expired.

  • Connection refused or TLS errors

    • Cause: Network connectivity issue or certificate validation failure.

    • Fix: Ensure the Connector can reach the CipherInsights API. When using remote scan, set insecure: true for self-signed certificates.

Getting Support

Collect diagnostic information:

  • Connector version

  • Configuration file (redact tokens)

  • Log output

  • CipherInsights deployment details (URL, version)

Contact Support