Policy types for @turbot/servicenow-aws-vpc-core
- AWS > VPC > Route Table > ServiceNow
- AWS > VPC > Route Table > ServiceNow > Configuration Item
- AWS > VPC > Route Table > ServiceNow > Configuration Item > Record
- AWS > VPC > Route Table > ServiceNow > Configuration Item > Table Definition
- AWS > VPC > Route Table > ServiceNow > Table
- AWS > VPC > Route Table > ServiceNow > Table > Definition
- AWS > VPC > Subnet > ServiceNow
- AWS > VPC > Subnet > ServiceNow > Configuration Item
- AWS > VPC > Subnet > ServiceNow > Configuration Item > Record
- AWS > VPC > Subnet > ServiceNow > Configuration Item > Table Definition
- AWS > VPC > Subnet > ServiceNow > Table
- AWS > VPC > Subnet > ServiceNow > Table > Definition
- AWS > VPC > VPC > ServiceNow
- AWS > VPC > VPC > ServiceNow > Configuration Item
- AWS > VPC > VPC > ServiceNow > Configuration Item > Record
- AWS > VPC > VPC > ServiceNow > Configuration Item > Table Definition
- AWS > VPC > VPC > ServiceNow > Table
- AWS > VPC > VPC > ServiceNow > Table > Definition
AWS > VPC > Route Table > ServiceNow
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/routeTableServiceNow
AWS > VPC > Route Table > ServiceNow > Configuration Item
Synchronize the data for the AWS > VPC > Route Table based on the policies AWS > VPC > Route Table > ServiceNow > Configuration Item > *
The policy ensures that AWS > VPC > Route Table data is automatically synchronized as Configuration Items (CIs) in a designated ServiceNow table, maintaining an up-to-date reflection of the AWS > VPC > Route Table information within the ServiceNow CMDB.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/routeTableServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "type": "string", "enum": [ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete" ], "example": [ "Skip" ], "default": "Skip"}
AWS > VPC > Route Table > 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 > VPC > Route Table
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.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/routeTableServiceNowConfigurationItemRecord
"{\n resource: routeTable{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"account_id: {{ $.resource.metadata.aws.accountId | dump | safe }}\narn: {{ $.resource.turbot.akas[0] | dump | safe }}\nassociations: {{ $.resource.data.Associations | dump | safe }}\nowner_id: {{ $.resource.data.OwnerId | dump | safe }}\npropagating_vgws: {{ $.resource.data.PropagatingVgws | dump | safe }}\nregion: {{ $.resource.metadata.aws.regionName | dump | safe }}\nroute_table_id: {{ $.resource.data.RouteTableId | dump | safe }}\nroutes: {{ $.resource.data.Routes | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntitle: {{ $.resource.turbot.title | dump | safe }}\nvpc_id: {{ $.resource.data.VpcId | dump | safe }}\n"
{ "type": "object"}
AWS > VPC > Route Table > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the AWS > VPC > Route Table
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/routeTableServiceNowConfigurationItemTableDefinition
[ "{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n", "{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-aws-vpc-core#/policy/types/routeTableServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"]
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
AWS > VPC > Route Table > ServiceNow > Table
Configure a table for AWS > VPC > Route Table
resource type in ServiceNow via the AWS > VPC > Route Table > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/routeTableServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
AWS > VPC > Route Table > ServiceNow > Table > Definition
The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing AWS > VPC > Route Table data.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/routeTableServiceNowTableDefinition
{ "type": "object", "additionalProperties": false, "required": [ "table", "columns" ], "properties": { "table": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "pattern": "^([0-9a-z_])+$" }, "label": { "type": "string" }, "extendsTable": { "type": "string", "pattern": "^([0-9a-z_])+$" } } }, "columns": { "type": "array", "description": "An array of columns with their mappings to the CMDB.", "default": [], "items": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "The name of the column in the table.", "pattern": "^([0-9a-z_])+$" }, "label": { "type": "string", "description": "The label for the column." }, "type": { "description": "The data type of the column.", "type": "string" }, "size": { "type": "integer", "description": "The length for data type." } } } } }, "default": { "table": { "name": "guardrails_aws_vpc_core_routetable", "label": "AWS > VPC > Route Table", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "account_id", "label": "Account ID" }, { "name": "arn", "label": "ARN" }, { "name": "associations", "label": "Associations", "type": "string", "size": 1000 }, { "name": "owner_id", "label": "Owner ID" }, { "name": "propagating_vgws", "label": "Propagating VGWs", "type": "string", "size": 1000 }, { "name": "region", "label": "Region" }, { "name": "route_table_id", "label": "Route Table ID" }, { "name": "routes", "label": "Routes", "type": "string", "size": 1000 }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "title", "label": "Title" }, { "name": "vpc_id", "label": "VPC ID" } ] }}
AWS > VPC > Subnet > ServiceNow
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/subnetServiceNow
AWS > VPC > Subnet > ServiceNow > Configuration Item
Synchronize the data for the AWS > VPC > Subnet based on the policies AWS > VPC > Subnet > ServiceNow > Configuration Item > *
The policy ensures that AWS > VPC > Subnet data is automatically synchronized as Configuration Items (CIs) in a designated ServiceNow table, maintaining an up-to-date reflection of the AWS > VPC > Subnet information within the ServiceNow CMDB.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/subnetServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "type": "string", "enum": [ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete" ], "example": [ "Skip" ], "default": "Skip"}
AWS > VPC > Subnet > 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 > VPC > Subnet
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.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/subnetServiceNowConfigurationItemRecord
"{\n resource: subnet{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"account_id: {{ $.resource.metadata.aws.accountId | dump | safe }}\nassign_ipv6_address_on_creation: {{ $.resource.data.AssignIpv6AddressOnCreation | dump | safe }}\navailability_zone: {{ $.resource.data.AvailabilityZone | dump | safe }}\navailability_zone_id: {{ $.resource.data.AvailabilityZoneId | dump | safe }}\navailable_ip_address_count: {{ $.resource.data.AvailableIpAddressCount | dump | safe }}\ncidr_block: {{ $.resource.data.CidrBlock | dump | safe }}\ndefault_for_az: {{ $.resource.data.DefaultForAz | dump | safe }}\nipv6_cidr_block_association_set: {{ $.resource.data.Ipv6CidrBlockAssociationSet | dump | safe }}\nmap_customer_owned_ip_on_launch: {{ $.resource.data.MapCustomerOwnedIpOnLaunch | dump | safe }}\nmap_public_ip_on_launch: {{ $.resource.data.MapPublicIpOnLaunch | dump | safe }}\nowner_id: {{ $.resource.data.OwnerId | dump | safe }}\nregion: {{ $.resource.metadata.aws.regionName | dump | safe }}\nstate: {{ $.resource.data.State | dump | safe }}\nsubnet_arn: {{ $.resource.data.SubnetArn | dump | safe }}\nsubnet_id: {{ $.resource.data.SubnetId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntitle: {{ $.resource.turbot.title | dump | safe }}\nvpc_id: {{ $.resource.data.VpcId | dump | safe }}\n"
{ "type": "object"}
AWS > VPC > Subnet > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the AWS > VPC > Subnet
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/subnetServiceNowConfigurationItemTableDefinition
[ "{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n", "{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-aws-vpc-core#/policy/types/subnetServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"]
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
AWS > VPC > Subnet > ServiceNow > Table
Configure a table for AWS > VPC > Subnet
resource type in ServiceNow via the AWS > VPC > Subnet > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/subnetServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
AWS > VPC > Subnet > ServiceNow > Table > Definition
The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing AWS > VPC > Subnet data.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/subnetServiceNowTableDefinition
{ "type": "object", "additionalProperties": false, "required": [ "table", "columns" ], "properties": { "table": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "pattern": "^([0-9a-z_])+$" }, "label": { "type": "string" }, "extendsTable": { "type": "string", "pattern": "^([0-9a-z_])+$" } } }, "columns": { "type": "array", "description": "An array of columns with their mappings to the CMDB.", "default": [], "items": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "The name of the column in the table.", "pattern": "^([0-9a-z_])+$" }, "label": { "type": "string", "description": "The label for the column." }, "type": { "description": "The data type of the column.", "type": "string" }, "size": { "type": "integer", "description": "The length for data type." } } } } }, "default": { "table": { "name": "guardrails_aws_vpc_core_subnet", "label": "AWS > VPC > Subnet", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "account_id", "label": "Account ID" }, { "name": "assign_ipv6_address_on_creation", "label": "Assign Ipv6 Address On Creation", "type": "boolean" }, { "name": "availability_zone", "label": "Availability Zone" }, { "name": "availability_zone_id", "label": "Availability Zone ID" }, { "name": "available_ip_address_count", "label": "Available IP Address Count" }, { "name": "cidr_block", "label": "CIDR Block" }, { "name": "default_for_az", "label": "Default For AZ", "type": "boolean" }, { "name": "ipv6_cidr_block_association_set", "label": "Ipv6 CIDR Block Association Set", "type": "string", "size": 1000 }, { "name": "map_customer_owned_ip_on_launch", "label": "Map Customer Owned IP On Launch", "type": "boolean" }, { "name": "map_public_ip_on_launch", "label": "Map Public IP On Launch", "type": "boolean" }, { "name": "owner_id", "label": "Owner ID" }, { "name": "region", "label": "Region" }, { "name": "state", "label": "State" }, { "name": "subnet_arn", "label": "Subnet ARN" }, { "name": "subnet_id", "label": "Subnet ID" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "title", "label": "Title" }, { "name": "vpc_id", "label": "VPC ID" } ] }}
AWS > VPC > VPC > ServiceNow
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/vpcServiceNow
AWS > VPC > VPC > ServiceNow > Configuration Item
Synchronize the data for the AWS > VPC > VPC based on the policies AWS > VPC > VPC > ServiceNow > Configuration Item > *
The policy ensures that AWS > VPC > VPC data is automatically synchronized as Configuration Items (CIs) in a designated ServiceNow table, maintaining an up-to-date reflection of the AWS > VPC > VPC information within the ServiceNow CMDB.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/vpcServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "type": "string", "enum": [ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete" ], "example": [ "Skip" ], "default": "Skip"}
AWS > VPC > VPC > 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 > VPC > VPC
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.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/vpcServiceNowConfigurationItemRecord
"{\n resource: vpc{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"account_id: {{ $.resource.metadata.aws.accountId | dump | safe }}\narn: {{ $.resource.turbot.akas[0] | dump | safe }}\ncidr_block: {{ $.resource.data.CidrBlock | dump | safe }}\ncidr_block_association_set: {{ $.resource.data.CidrBlockAssociationSet | dump | safe }}\ndhcp_options_id: {{ $.resource.data.DhcpOptionsId | dump | safe }}\ninstance_tenancy: {{ $.resource.data.InstanceTenancy | dump | safe }}\nipv6_cidr_block_association_set: {{ $.resource.data.Ipv6CidrBlockAssociationSet | dump | safe }}\nis_default: {{ $.resource.data.IsDefault | dump | safe }}\nowner_id: {{ $.resource.data.OwnerId | dump | safe }}\nregion: {{ $.resource.metadata.aws.regionName | dump | safe }}\nstate: {{ $.resource.data.State | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntitle: {{ $.resource.turbot.title | dump | safe }}\nvpc_id: {{ $.resource.data.VpcId | dump | safe }}\n"
{ "type": "object"}
AWS > VPC > VPC > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the AWS > VPC > VPC
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/vpcServiceNowConfigurationItemTableDefinition
[ "{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n", "{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-aws-vpc-core#/policy/types/vpcServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"]
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
AWS > VPC > VPC > ServiceNow > Table
Configure a table for AWS > VPC > VPC
resource type in ServiceNow via the AWS > VPC > VPC > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/vpcServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
AWS > VPC > VPC > ServiceNow > Table > Definition
The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing AWS > VPC > VPC data.
tmod:@turbot/servicenow-aws-vpc-core#/policy/types/vpcServiceNowTableDefinition
{ "type": "object", "additionalProperties": false, "required": [ "table", "columns" ], "properties": { "table": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "pattern": "^([0-9a-z_])+$" }, "label": { "type": "string" }, "extendsTable": { "type": "string", "pattern": "^([0-9a-z_])+$" } } }, "columns": { "type": "array", "description": "An array of columns with their mappings to the CMDB.", "default": [], "items": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "The name of the column in the table.", "pattern": "^([0-9a-z_])+$" }, "label": { "type": "string", "description": "The label for the column." }, "type": { "description": "The data type of the column.", "type": "string" }, "size": { "type": "integer", "description": "The length for data type." } } } } }, "default": { "table": { "name": "guardrails_aws_vpc_core_vpc", "label": "AWS > VPC > VPC", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "account_id", "label": "Account ID" }, { "name": "arn", "label": "ARN" }, { "name": "cidr_block", "label": "CIDR Block" }, { "name": "cidr_block_association_set", "label": "CIDR Block Association Set", "type": "string", "size": 1000 }, { "name": "dhcp_options_id", "label": "DHCP Options ID" }, { "name": "instance_tenancy", "label": "Instance Tenancy" }, { "name": "ipv6_cidr_block_association_set", "label": "Ipv6 CIDR Block Association Set", "type": "string", "size": 1000 }, { "name": "is_default", "label": "Is Default", "type": "boolean" }, { "name": "owner_id", "label": "Owner ID" }, { "name": "region", "label": "Region" }, { "name": "state", "label": "State" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "title", "label": "Title" }, { "name": "vpc_id", "label": "VPC ID" } ] }}