Documentation
¶
Overview ¶
Package analyzergo implements an unregistered experimental Go fact extractor.
Index ¶
Constants ¶
View Source
const ( Profile = "corvint-analyzer-candidate/experimental" Family = "go" MaxInputBytes = 1 << 20 MaxRequestBytes = 1_500_000 MaxInputs = 128 MaxFacts = 4096 MaxOutputBytes = 1 << 20 )
Variables ¶
View Source
var ErrMalformed = errors.New("analyzergo: malformed request")
Functions ¶
Types ¶
type Fact ¶
type Fact struct {
Kind string `json:"kind"`
InputHandle string `json:"input_handle"`
RelatedHandle string `json:"related_handle"`
Subject string `json:"subject"`
Predicate string `json:"predicate"`
Value string `json:"value"`
InstanceID string `json:"instance_id"`
EvidenceSHA256 string `json:"evidence_sha256"`
}
Click to show internal directories.
Click to hide internal directories.