lib/aws_recon/collectors/ses.rb in aws_recon-0.2.35 vs lib/aws_recon/collectors/ses.rb in aws_recon-0.2.36
- old
+ new
@@ -17,10 +17,10 @@
log(response.context.operation_name, page)
response.identities.each do |identity|
struct = OpenStruct.new
struct.type = 'identity'
- struct.arn = "aws:ses:#{@region}:#{@account}:identity/#{identity}"
+ struct.arn = "arn:aws:ses:#{@region}:#{@account}:identity/#{identity}"
# get_identity_dkim_attributes
struct.dkim_attributes = @client.get_identity_dkim_attributes({ identities: [identity] }).dkim_attributes[identity].to_h
resources.push(struct.to_h)