handlers

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: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstSetItemNotInMapKeys added in v1.16.0

func FirstSetItemNotInMapKeys(itemSet []string, searchMap map[string]struct{}) string

Returns the first set entry not found as a key in the searchMap

func Setup

func Setup()

Setup parses the environment and constructs AWS and http clients on a cold Lambda start. All required environment variables must be present or this function will panic.

Types

type API added in v1.14.0

type API struct{}

API defines all of the handlers as receiver functions.

func (API) BulkUpload added in v1.14.0

BulkUpload uploads multiple analysis items from a zipfile.

func (API) CreateDataModel added in v1.14.0

CreateDataModel adds a new DataModel to the Dynamo table.

func (API) CreateGlobal added in v1.14.0

func (API) CreatePolicy added in v1.14.0

CreatePolicy adds a new policy to the Dynamo table.

func (API) CreateRule added in v1.14.0

func (API) DeleteDataModels added in v1.14.0

func (api API) DeleteDataModels(input *models.DeleteDataModelsInput) *events.APIGatewayProxyResponse

func (API) DeleteDetections added in v1.16.0

func (API) DeleteDetections(input *models.DeletePoliciesInput) *events.APIGatewayProxyResponse

func (API) DeleteGlobals added in v1.14.0

func (API) DeletePolicies added in v1.14.0

func (API) DeleteRules added in v1.14.0

func (API) EnumeratePack added in v1.16.0

func (API) GetDataModel added in v1.14.0

func (API) GetGlobal added in v1.14.0

func (API) GetPack added in v1.16.0

func (API) GetPolicy added in v1.14.0

func (API) GetRule added in v1.14.0

func (API) ListDataModels added in v1.14.0

func (API) ListDetections added in v1.16.0

func (API) ListGlobals added in v1.14.0

func (API) ListPacks added in v1.16.0

func (API) ListPolicies added in v1.14.0

ListPolicies is being deprecated. Use ListDetections and specify AnalysisType POLICY instead

func (API) ListRules added in v1.14.0

ListRules is being deprecated. Use ListDetections and specify AnalysisType RULE instead

func (API) PatchPack added in v1.16.0

func (API) PollPacks added in v1.16.0

func (API) Suppress added in v1.14.0

Suppress adds suppressions for one or more policies in the same organization.

func (API) TestPolicy added in v1.14.0

func (API) TestRule added in v1.14.0

func (API) UpdateDataModel added in v1.14.0

func (API) UpdateGlobal added in v1.14.0

func (API) UpdatePolicy added in v1.14.0

func (API) UpdateRule added in v1.14.0

Jump to

Keyboard shortcuts

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