Skip to content

Commit

Permalink
Merge pull request #654 from aquasecurity/add-ses-config-option
Browse files Browse the repository at this point in the history
Added SES configset input option
  • Loading branch information
roeelivaqua authored Dec 9, 2024
2 parents 5274dbe + 2fe8061 commit ad07a71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions outputs/email.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ func (email *EmailOutput) sendViaAwsSesService(awsConfig map[string]string,
Source: aws.String(awsConfig["fromEmailAddress"]),
}

sesConfigSetName := awsConfig["sesConfigSet"]
if sesConfigSetName != "" {
emailInput.ConfigurationSetName = aws.String(sesConfigSetName)
}

sourceArnConfig := awsConfig["arn"]
if sourceArnConfig != "" {
emailInput.SourceArn = aws.String(sourceArnConfig)
Expand Down

0 comments on commit ad07a71

Please sign in to comment.