Documentation
¶
Index ¶
- func CanonicalFindingKey(finding model.Finding) string
- type MappedRecord
- func MapDecisionTraces(paths []risk.ActionPath, now time.Time) []MappedRecord
- func MapFindings(findings []model.Finding, profile *profileeval.Result, ...) []MappedRecord
- func MapRisk(report risk.Report, posture score.Result, profile profileeval.Result, ...) []MappedRecord
- func MapTransition(transition lifecycle.Transition, eventType string) MappedRecord
- type SecurityVisibilityContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalFindingKey ¶
Types ¶
type MappedRecord ¶
type MappedRecord struct {
RecordType string
AgentID string
Timestamp time.Time
Event map[string]any
Metadata map[string]any
Relationship *proof.Relationship
ApprovedScope string
PermissionsEnforced bool
}
func MapDecisionTraces ¶ added in v1.7.0
func MapDecisionTraces(paths []risk.ActionPath, now time.Time) []MappedRecord
func MapFindings ¶
func MapFindings(findings []model.Finding, profile *profileeval.Result, visibility SecurityVisibilityContext, now time.Time) []MappedRecord
func MapRisk ¶
func MapRisk(report risk.Report, posture score.Result, profile profileeval.Result, visibility SecurityVisibilityContext, now time.Time) []MappedRecord
func MapTransition ¶
func MapTransition(transition lifecycle.Transition, eventType string) MappedRecord
type SecurityVisibilityContext ¶ added in v1.0.9
type SecurityVisibilityContext struct {
Summary agginventory.SecurityVisibilitySummary
StatusByInstance map[string]string
}
Click to show internal directories.
Click to hide internal directories.