ServiceNow (ITSM) Integration Setup
Prerequisites
Before you begin, ensure you have:- Admin access to ServiceNow (Washington DC release or later)
- Ability to create users, roles, and API keys in ServiceNow
- The API Key and HMAC Authentication plugin enabled
- Access to RAD Security workspace with integration permissions
Step 1: Log in to ServiceNow as Admin
Access ServiceNow Admin
Verify API Key Plugin
- Navigate to All > Admin Center > Application Manager
- Verify the API Key and HMAC Authentication plugin (
com.glide.tokenbased_auth) is activated - If not enabled, activate the plugin before proceeding
Step 2: Elevate Role and Create Custom Role
Elevate to Security Admin
- Click on the face icon in the upper right corner
- Click Elevate Role
- Select security_admin
Create Custom Role
- Navigate to All > System Security > Users and Groups > Roles
- Click New
- Create a new custom role with a descriptive name (e.g., “rad_security_integration”)
- Save and note the role name for use in later steps
Step 3: Create Service Account User
Navigate to User Management
Create New User
- Select New from the upper right corner
- Fill in the required fields, making sure to select the Internal Integration User field
Assign Roles to User
- In the Roles tab, select Edit…
- Add the following role collections:
sn_incident_write- Write access to incidentssn_incident_read- Read access to incidentsitil_admin- ITIL administrationu_ticket_user- Ticket management
- Add the custom role you created in Step 2
- Click Save
Step 4: Create Inbound Authentication Profile
Navigate to Authentication Profiles
Create API Key Profile
- Click New
- Click Create API Key authentication profiles
- Provide a name for the profile
- In the Auth Parameter field, add Auth Header using the
x-sn-apikeyheader field - Click Submit
x-sn-apikey header is the standard header used to send the API key in requests to ServiceNow.Step 5: Generate API Key
Navigate to REST API Keys
Create API Key
- Click New
- Enter a name for the key (e.g., “RAD Security Integration Key”)
- Select the service user created in Step 3 as the User
- Click Save
Copy API Key Token
- After saving, the system generates a token
- Use the lock icon to view the token
- Immediately copy the token that appears below the field
Step 6: Set API Access Policy
Navigate to API Access Policies
Create New Policy
- Click New
- Provide a descriptive name (e.g., “RAD Security Table API Access”)
- Under REST API, select Table API
- Verify that Apply to all methods is checked
Step 7: Create ACL for Table Access
Navigate to Access Control
Configure ACL
- In the Type field, select record
- In the Operation field, select Create
- In the Name field, select Incident
- Under Requires Role, in the Roles field, select the custom role created in Step 2
- Click Submit
Step 8: Configure in RAD Security
Navigate to your RAD Security workspace and configure the ServiceNow ITSM integration with the following parameters:Required Parameters
https://<tenant>.service-now.com/ where <tenant> is your organization’s ServiceNow instance name.Verify Integration
After completing the setup, verify your integration is working:- Navigate to Data Sources > Integrations > Ticketing in RAD Security
- Locate your ServiceNow ITSM integration
- Check the connection status shows as Connected
- Test by creating a sample incident from RAD Security
What Data is Synced
Once configured, RAD Security will sync the following with ServiceNow ITSM:Incident Creation
Incident Creation
- Automatically create ServiceNow incidents for security events
- Include detailed incident context and metadata
- Attach relevant threat intelligence
- Add affected assets and resources
- Include remediation recommendations
- Populate standard ITIL fields
Custom Field Mapping
Custom Field Mapping
- Map RAD Security fields to ServiceNow fields
- Configure custom field values
- Set default incident types
- Define priority and urgency mappings
- Configure assignment rules
- Support for custom ServiceNow fields
ITSM Workflow Integration
ITSM Workflow Integration
- Integrate with ServiceNow workflows
- Trigger automated assignment rules
- Leverage ServiceNow escalation policies
- Support approval processes
- Enable change management integration
Use Cases
Automated Incident Creation
ITSM Workflow Integration
Enterprise Incident Management
Compliance Tracking
Troubleshooting
Authentication Failed
Authentication Failed
- API token is incorrect or expired
- API token was revoked
- Service user account was disabled or deleted
- Incorrect ServiceNow instance URL
- Verify the API token is copied correctly (no extra spaces)
- Check that the service user account is still active
- Try logging in to ServiceNow with the service user credentials
- Generate a new API token if needed
- Confirm the instance URL is correct
Insufficient Permissions
Insufficient Permissions
- User missing required roles
- Custom role not assigned
- ACL not properly configured
- User removed from necessary groups
- Verify the service user has all required roles assigned
- Check that the custom role is assigned to the user
- Review ACL configuration for the Incident table
- Ensure role collections are active and properly configured
- Confirm no role restrictions have been added
Cannot Create Incidents
Cannot Create Incidents
- Missing ACL permissions
- Required fields not mapped
- Table access restrictions
- Workflow blocking creation
- Verify the ACL for Incident table includes the custom role
- Check that all required ServiceNow fields are properly mapped
- Ensure the Incident table is accessible
- Review ServiceNow workflow restrictions
- Check ServiceNow business rules that might block creation
API Key Plugin Not Available
API Key Plugin Not Available
- ServiceNow version is older than Washington DC release
- Plugin not activated
- License doesn’t include API access
- Verify your ServiceNow version supports API keys (Washington DC or later)
- Check that the API Key and HMAC Authentication plugin is activated
- Contact ServiceNow support about licensing if plugin is unavailable
- Consider upgrading to a supported ServiceNow version
Wrong ServiceNow Instance URL
Wrong ServiceNow Instance URL
- Missing trailing slash
- Incorrect instance name
- Using developer instance URL format
- Including additional path components
- Ensure you’re using the correct URL format:
https://<instance>.service-now.com/ - Include the trailing slash
- Verify the instance name matches your organization
- Don’t include paths like
/api/or/incident.do
Token Expired or Revoked
Token Expired or Revoked
- Token was manually revoked
- Service user was deleted or deactivated
- Token reached configured expiration
- API access policy changed
- Log in as admin and verify the service user exists and is active
- Navigate to REST API Keys and check if the token still exists
- Check API access policies haven’t changed
- Create a new token if the old one was revoked
- Update the token in RAD Security integration settings
Security Best Practices
Use Service Accounts
Least Privilege Access
Rotate Tokens Regularly
Secure Token Storage
Monitor Integration Activity
Audit Permissions
Track Token Usage
Enable MFA on Admin Accounts
Token Rotation
To rotate your ServiceNow API token:Create New Token
- Log in as admin to ServiceNow
- Navigate to All > System Web Services > API Access Policies > REST API Key
- Create a new API key for the same service user with a different name
- Copy the new token immediately
Update Integration
Verify Connection
Revoke Old Token