ServiceNow CMDB CI relationship sync: faster, more complete →
Mods
ServiceNow

Policy: AWS > S3 > Bucket > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an AWS > S3 > Bucket is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Specification

Schema Type
object
Default template
account_id: {{ $.resource.metadata.aws.accountId | dump | safe }}
arn: {{ $.resource.turbot.akas[0] | dump | safe }}
block_public_acls: {{ $.resource.block_public_acls | dump | safe }}
block_public_policy: {{ $.resource.block_public_policy | dump | safe }}
bucket_name: {{ $.resource.bucket_name | dump | safe }}
creation_date: {{ $.resource.creation_date | dump | safe }}
ignore_public_acls: {{ $.resource.ignore_public_acls | dump | safe }}
lifecycle_rules: {{ $.resource.lifecycle_rules | dump | safe }}
logging: {{ $.resource.logging | dump | safe }}
name: {{ $.resource.turbot.title | dump | safe }}
region: {{ $.resource.metadata.aws.regionName | dump | safe }}
replication: {{ $.resource.replication | dump | safe }}
restrict_public_buckets: {{ $.resource.restrict_public_buckets | dump | safe }}
server_side_encryption_configuration: {{ $.resource.server_side_encryption_configuration | dump | safe }}
tags: {{ $.resource.tags | dump | safe }}
versioning_enabled: {{ $.resource.versioning_enabled | dump | safe }}
website_configuration: {{ $.resource.website_configuration | dump | safe }}
Default template input
|
{
resource {
block_public_acls: get(path:"PublicAccessBlock.BlockPublicAcls")
block_public_policy: get(path:"PublicAccessBlock.BlockPublicPolicy")
bucket_name: get(path:"Name")
creation_date: get(path:"CreationDate")
ignore_public_acls: get(path:"PublicAccessBlock.IgnorePublicAcls")
lifecycle_rules: get(path:"Lifecycle.Rules")
logging: get(path:"Logging")
replication: get(path:"Replication")
restrict_public_buckets: get(path:"PublicAccessBlock.RestrictPublicBuckets")
server_side_encryption_configuration: get(path:"Encryption.ServerSideEncryptionConfiguration")
tags: get(path:"Tags")
versioning_enabled: get(path:"Versioning.Status")
website_configuration: get(path:"Website")
metadata
turbot {
akas
id
tags
title
}
}
}

Category

In Your Workspace

Developers