Skip to content

Expose cluster IDs mapping to template IDs #6840

@coderabbitai

Description

@coderabbitai

Overview

This issue tracks the implementation of an API to expose mapping from cluster IDs to template IDs.

Use Case

When WriteStoreDebugData is called, cluster template IDs (format: cluster-%s) are sometimes returned. This mapping API allows identifying which actual template IDs correspond to executed requests/responses for logging purposes.

Implementation

The feature adds two new public methods to NucleiEngine:

  • GetClusterTemplateIDs(clusterID string) []string - returns template IDs for a given cluster ID
  • GetAllClusterMappings() map[string][]string - returns all cluster mappings

Related Pull Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions