apihandlers

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//RemediationLambdaNotFound is the Error when the remediation Lambda is not found
	RemediationLambdaNotFound = &models.Error{Message: aws.String("Remediation Lambda not found or misconfigured")}
)

Functions

func GetRemediations

GetRemediations returns the list of remediations available for an organization

func RemediateResource

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

RemediateResource remediates a resource synchronously

func RemediateResourceAsync

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

RemediateResourceAsync triggers remediation for a resource. The remediation is asynchronous so the method will return before the resource has been fixed, independently if it was successful or failed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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