Question
Is it possible to import the xMatters IPs into ServiceNow for IP filtering?
Environment
- All versions of xMatters
- ServiceNow
Solution
Yes, you can import the xMatters IP addresses into ServiceNow by following the below steps:
- Load the system import set data in ServiceNow.
- Link the imported data by creating a transform map.
- Locate the new xMatters IP transformation map.
- Run the transformation.
- View the xMatters IP addresses in the IP Address Access Control list.
Load the system import set data in ServiceNow
- In System Import Sets, click Load Data
- Type xmatters_ips into the Label field.
- Click Choose File and upload: xMattersIPrange.csv
- To load the records, click Submit.
Link the imported data by creating a transform map
- Click Create Transform Map.
- Type a name for the transformation map (for example, xMatters IP Transformation).
- From the Source Table drop-down menu, select xmatters_ips.
- In the Target Table drop-down menu, select ip_access
- Click Submit.
Locate the new xMatters IP transformation map
- In System Import Sets, click Administration.
- Select Transform Map.
- Click the name of the transformation map you created.
- In the Field Map tab at the bottom of the transformation map window, click New:
- Create a field map for:
• Description to Description
• Range Start to Range Start
• Range End to Range End
• Active to Active. For the Active Script, select Use Source Script and add the following:
answer = (function transformEntry(source) {
if (source.u_active == "TRUE") {
return true;
}
})(source);
Run the transformation
- In the Related section of the Transform Map, click Transform.
- Select and review the Import Set and Map.
- Click Transform.
View the xMatters IP addresses in the IP Address Access Control list.
- In System Security, click IP Address Access Control.
Comments
0 commentsPlease sign in to leave a comment.