Documentation ¶
Overview ¶
Package findings handles sending findings to Security Hub.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
A Publisher represents an object that publishes finds to AWS Security Hub.
func (*Publisher) PublishFinding ¶
func (p *Publisher) PublishFinding(finding []types.AwsSecurityFinding) (*PublisherOutput, error)
PublishFinding publishes findings to AWS Security Hub Service
type PublisherOutput ¶
type PublisherOutput struct { // The number of findings that failed to import. // // FailedCount is a required field FailedCount int32 // The list of findings that failed to import. FailedFindings []types.ImportFindingsError // The number of findings that were successfully imported. // // SuccessCount is a required field SuccessCount int32 }
A PublisherOutput represents an object that contains information about the service call.
Click to show internal directories.
Click to hide internal directories.