wace

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

The main package of WACE.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(modelsTypeAsString, transactionId, payload string, models []string) error

Analyze calls the model plugins with the given payload and models

func CheckTransaction

func CheckTransaction(transactionID, decisionPlugin string, wafParams map[string]string) (bool, error)

CheckTransaction checks the result of the analysis of the transaction with the given id and decision plugin

func CloseTransaction

func CloseTransaction(transactionID string)

CloseTransaction closes the transaction with the given id removing the transaction sync model results

func Init

func Init(met metric.Meter)

Init initializes the WACE core with the given metric meter

func InitTransaction

func InitTransaction(transactionId string)

InitTransaction initializes a transaction with the given id

Types

This section is empty.

Directories

Path Synopsis
Package configstore handles the configuration of WACE.
Package configstore handles the configuration of WACE.
Package pluginmanager handles the communication with the model and decision plugins
Package pluginmanager handles the communication with the model and decision plugins

Jump to

Keyboard shortcuts

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