Documentation ¶
Overview ¶
Package analysis contains proxies to interact with the Panther analysis backends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyEngine ¶
type PolicyEngine struct {
// contains filtered or unexported fields
}
PoliceEngine is a proxy for the policy engine backend (currently another lambda function).
func NewPolicyEngine ¶
func NewPolicyEngine(lambdaClient lambdaiface.LambdaAPI, lambdaName string) PolicyEngine
func (*PolicyEngine) TestPolicy ¶
func (e *PolicyEngine) TestPolicy(policy *models.TestPolicyInput) (*models.TestPolicyOutput, error)
type RuleEngine ¶
type RuleEngine struct {
// contains filtered or unexported fields
}
RuleEngine is a proxy for the rule engine backend (currently another lambda function).
func NewRuleEngine ¶
func NewRuleEngine(lambdaClient lambdaiface.LambdaAPI, lambdaName string) RuleEngine
func (*RuleEngine) TestRule ¶
func (e *RuleEngine) TestRule(rule *models.TestRuleInput) (*models.TestRuleOutput, error)
type TestInputError ¶
type TestInputError struct {
// contains filtered or unexported fields
}
func (*TestInputError) Error ¶
func (e *TestInputError) Error() string
Click to show internal directories.
Click to hide internal directories.