handlers

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Env envConfig

Env is the parsed environment variables

Functions

func DeleteStatus

DeleteStatus deletes a batch of items

func DescribeOrg

DescribeOrg returns pass/fail counts for every policy or resource in a customer account.

func DescribePolicy

DescribePolicy returns all pass/fail information needed for the policy overview page.

func DescribeResource

func DescribeResource(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse

DescribeResource returns all pass/fail information needed for the resource overview page.

func GetOrgOverview

GetOrgOverview returns all the pass/fail information for the Panther overview dashboard.

func GetStatus

GetStatus retrieves a single policy/resource status pair from the Dynamo table.

func NewStatusCount

func NewStatusCount() *models.StatusCount

NewStatusCount creates a new pass/fail counter with values initialized to 0

func NewStatusCountBySeverity

func NewStatusCountBySeverity() *models.StatusCountBySeverity

NewStatusCountBySeverity creates a new pass/fail counter keyed by severity with initial values

func SetStatus

SetStatus batch writes a set of compliance status to the Dynamo table.

func UpdateMetadata

UpdateMetadata updates status entries for a given policy with a new severity / suppression set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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