analysis

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 10 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.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

Jump to

Keyboard shortcuts

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