Documentation ¶
Index ¶
- Variables
- func DeleteStatus(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
- func DescribeOrg(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
- func DescribePolicy(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
- func DescribeResource(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
- func GetOrgOverview(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
- func GetStatus(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
- func NewStatusCount() *models.StatusCount
- func NewStatusCountBySeverity() *models.StatusCountBySeverity
- func SetStatus(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
- func UpdateMetadata(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
Constants ¶
This section is empty.
Variables ¶
var Env envConfig
Env is the parsed environment variables
Functions ¶
func DeleteStatus ¶
func DeleteStatus(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
DeleteStatus deletes a batch of items
func DescribeOrg ¶
func DescribeOrg(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
DescribeOrg returns pass/fail counts for every policy or resource in a customer account.
func DescribePolicy ¶
func DescribePolicy(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
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 ¶
func GetOrgOverview(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
GetOrgOverview returns all the pass/fail information for the Panther overview dashboard.
func GetStatus ¶
func GetStatus(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
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 ¶
func SetStatus(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
SetStatus batch writes a set of compliance status to the Dynamo table.
func UpdateMetadata ¶
func UpdateMetadata(request *events.APIGatewayProxyRequest) *events.APIGatewayProxyResponse
UpdateMetadata updates status entries for a given policy with a new severity / suppression set.
Types ¶
This section is empty.