Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecorateResource ¶
func DecorateResource(resource models.ResourceState, term *ast.Term)
DecorateResource is a helper that sets up DecorateTerm in a way that we will be able to tell which resource the values belonged to.
func DecorateTerm ¶
DecorateValue stores meta-information about where the values originated from inside the Location attribute of the corresponding terms. This will allow us to deduce which terms were used in coverTerm.
Types ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) Config ¶
func (t *Tracer) Config() topdown.TraceConfig
func (*Tracer) InferAttributes ¶
func (tracer *Tracer) InferAttributes(ruleResult []models.RuleResult)
InferAttributes decorates the given rule results with any attributes that have been accessed; using the resource identifiers to correlate them.
func (*Tracer) TraceEvent ¶
Click to show internal directories.
Click to hide internal directories.