attackpath

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScoredPath

type ScoredPath struct {
	PathID          string   `json:"path_id"`
	Org             string   `json:"org"`
	Repo            string   `json:"repo"`
	PathScore       float64  `json:"path_score"`
	EntryNodeID     string   `json:"entry_node_id"`
	PivotNodeID     string   `json:"pivot_node_id,omitempty"`
	TargetNodeID    string   `json:"target_node_id"`
	EntryExposure   float64  `json:"entry_exposure"`
	PivotPrivilege  float64  `json:"pivot_privilege"`
	TargetImpact    float64  `json:"target_impact"`
	EdgeRationale   []string `json:"edge_rationale"`
	Explain         []string `json:"explain"`
	SourceFindings  []string `json:"source_findings"`
	GenerationModel string   `json:"generation_model"`
}

func Score

func Score(graphs []aggattack.Graph) []ScoredPath

Jump to

Keyboard shortcuts

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