analysis

package
v1.9.0-RC2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

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.TestPolicy) (models.TestPolicyResult, 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.TestPolicy) (models.TestPolicyResult, error)

type TestInputError

type TestInputError struct {
	// contains filtered or unexported fields
}

func (*TestInputError) Error

func (e *TestInputError) Error() string

Jump to

Keyboard shortcuts

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