endpoint_classifier

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleID    = "endpoint-classifier"
	ModuleName  = "Endpoint Classifier"
	ModuleShort = "Tags HTTP records with semantic labels based on request/response characteristics"
)

Variables

View Source
var (
	ModuleDesc = `` /* 694-byte string literal not displayed */

	ModuleConfirmation = "Endpoint classified based on HTTP request/response characteristics"
	ModuleSeverity     = severity.Info
	ModuleConfidence   = severity.Certain
	ModuleTags         = []string{"utility", "light"}
)

Functions

This section is empty.

Types

type Module

type Module struct {
	modkit.BasePassiveModule
}

Module implements a passive module that classifies HTTP endpoints and annotates database records with semantic tags.

func New

func New() *Module

New creates a new endpoint classifier passive module.

func (*Module) ScanPerRequest

func (m *Module) ScanPerRequest(ctx *httpmsg.HttpRequestResponse, scanCtx *modkit.ScanContext) ([]*output.ResultEvent, error)

ScanPerRequest classifies the endpoint and annotates the record with semantic tags.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL