lib/aws_recon/lib/formatter.rb in aws_recon-0.2.7 vs lib/aws_recon/lib/formatter.rb in aws_recon-0.2.8
- old
+ new
@@ -6,10 +6,10 @@
# Custom
#
def custom(account_id, region, service, resource)
{
account: account_id,
- name: resource[:arn] || "#{account_id}_#{region}_#{service.name}_#{resource[:type]}",
+ name: resource[:arn],
service: service.name,
region: region,
asset_type: resource[:type],
resource: { data: resource, version: 'v1' },
timestamp: Time.now.utc