Skip to content

Commit ad07a71

Browse files
authored
Merge pull request #654 from aquasecurity/add-ses-config-option
Added SES configset input option
2 parents 5274dbe + 2fe8061 commit ad07a71

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs/email.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ func (email *EmailOutput) sendViaAwsSesService(awsConfig map[string]string,
237237
Source: aws.String(awsConfig["fromEmailAddress"]),
238238
}
239239

240+
sesConfigSetName := awsConfig["sesConfigSet"]
241+
if sesConfigSetName != "" {
242+
emailInput.ConfigurationSetName = aws.String(sesConfigSetName)
243+
}
244+
240245
sourceArnConfig := awsConfig["arn"]
241246
if sourceArnConfig != "" {
242247
emailInput.SourceArn = aws.String(sourceArnConfig)

0 commit comments

Comments
 (0)