Policy types for @turbot/servicenow-aws-vpc-security
- AWS > VPC > Network ACL > ServiceNow
- AWS > VPC > Network ACL > ServiceNow > Configuration Item
- AWS > VPC > Network ACL > ServiceNow > Configuration Item > Record
- AWS > VPC > Network ACL > ServiceNow > Configuration Item > Table Definition
- AWS > VPC > Network ACL > ServiceNow > Table
- AWS > VPC > Network ACL > ServiceNow > Table > Definition
- AWS > VPC > Security Group > ServiceNow
- AWS > VPC > Security Group > ServiceNow > Configuration Item
- AWS > VPC > Security Group > ServiceNow > Configuration Item > Record
- AWS > VPC > Security Group > ServiceNow > Configuration Item > Table Definition
- AWS > VPC > Security Group > ServiceNow > Table
- AWS > VPC > Security Group > ServiceNow > Table > Definition
AWS > VPC > Network ACL > ServiceNow
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/networkAclServiceNow
AWS > VPC > Network ACL > ServiceNow > Configuration Item
Synchronize the data for the AWS > VPC > Network ACL based on the policies AWS > VPC > Network ACL > ServiceNow > Configuration Item > *
The policy ensures that AWS > VPC > Network ACL data is automatically synchronized as Configuration Items (CIs) in a designated ServiceNow table, maintaining an up-to-date reflection of the AWS > VPC > Network ACL information within the ServiceNow CMDB.
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/networkAclServiceNowConfigurationItem
[ "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 > Network ACL > 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 > Network ACL
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-security#/policy/types/networkAclServiceNowConfigurationItemRecord
"{\n resource: networkAcl{\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.metadata.aws.accountId | dump | safe }}\nassociations: {{ $.resource.data.Associations | dump | safe }}\nentries: {{ $.resource.data.Entries | dump | safe }}\nis_default: {{ $.resource.data.IsDefault | dump | safe }}\nnetwork_acl_id: {{ $.resource.data.NetworkAclId | dump | safe }}\nowner_id: {{ $.resource.data.OwnerId | dump | safe }}\nregion: {{ $.resource.metadata.aws.regionName | 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 > Network ACL > 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 > Network ACL
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/networkAclServiceNowConfigurationItemTableDefinition
[ "{\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-security#/policy/types/networkAclServiceNowTableDefinition 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 > Network ACL > ServiceNow > Table
Configure a table for AWS > VPC > Network ACL
resource type in ServiceNow via the AWS > VPC > Network ACL > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/networkAclServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
AWS > VPC > Network ACL > 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 > Network ACL data.
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/networkAclServiceNowTableDefinition
{ "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_security_networkacl", "label": "AWS > VPC > Network ACL", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "account_id", "label": "Account ID" }, { "name": "arn", "label": "ARN" }, { "name": "associations", "label": "Associations", "type": "string", "size": 1000 }, { "name": "entries", "label": "Entries", "type": "string", "size": 1000 }, { "name": "is_default", "label": "Is Default", "type": "boolean" }, { "name": "network_acl_id", "label": "Network ACL ID" }, { "name": "owner_id", "label": "Owner ID" }, { "name": "region", "label": "Region" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "title", "label": "Title" }, { "name": "vpc_id", "label": "VPC ID" } ] }}
AWS > VPC > Security Group > ServiceNow
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/securityGroupServiceNow
AWS > VPC > Security Group > ServiceNow > Configuration Item
Synchronize the data for the AWS > VPC > Security Group based on the policies AWS > VPC > Security Group > ServiceNow > Configuration Item > *
The policy ensures that AWS > VPC > Security Group data is automatically synchronized as Configuration Items (CIs) in a designated ServiceNow table, maintaining an up-to-date reflection of the AWS > VPC > Security Group information within the ServiceNow CMDB.
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/securityGroupServiceNowConfigurationItem
[ "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 > Security Group > 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 > Security Group
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-security#/policy/types/securityGroupServiceNowConfigurationItemRecord
"{\n resource: securityGroup{\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 }}\ndescription: {{ $.resource.data.Description | dump | safe }}\ngroup_id: {{ $.resource.data.GroupId | dump | safe }}\ngroup_name: {{ $.resource.data.GroupName | dump | safe }}\nip_permissions: {{ $.resource.data.IpPermissions | dump | safe }}\nip_permissions_egress: {{ $.resource.data.IpPermissionsEgress | dump | safe }}\nowner_id: {{ $.resource.data.OwnerId | dump | safe }}\nregion: {{ $.resource.metadata.aws.regionName | 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 > Security Group > 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 > Security Group
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/securityGroupServiceNowConfigurationItemTableDefinition
[ "{\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-security#/policy/types/securityGroupServiceNowTableDefinition 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 > Security Group > ServiceNow > Table
Configure a table for AWS > VPC > Security Group
resource type in ServiceNow via the AWS > VPC > Security Group > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/securityGroupServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
AWS > VPC > Security Group > 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 > Security Group data.
tmod:@turbot/servicenow-aws-vpc-security#/policy/types/securityGroupServiceNowTableDefinition
{ "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_security_securitygroup", "label": "AWS > VPC > Security Group", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "account_id", "label": "Account ID" }, { "name": "arn", "label": "ARN" }, { "name": "description", "label": "Description" }, { "name": "group_id", "label": "Group ID" }, { "name": "group_name", "label": "Group Name" }, { "name": "ip_permissions", "label": "IP Permissions", "type": "string", "size": 1000 }, { "name": "ip_permissions_egress", "label": "IP Permissions Egress", "type": "string", "size": 1000 }, { "name": "owner_id", "label": "Owner ID" }, { "name": "region", "label": "Region" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "title", "label": "Title" }, { "name": "vpc_id", "label": "VPC ID" } ] }}