opensre integrations verify servicenow and shell questions like “Is ServiceNow configured?” return a real result instead of suggesting commands to run.
Prerequisites
- A ServiceNow instance URL (a free developer instance works)
- A user with read access to the
sys_usertable (used for the onboarding connectivity check)
Setup
Option 1: Onboarding wizard
sys_user table before saving.
Option 2: Legacy CLI
Option 3: Environment variables
SERVICENOW_PASSWORD is also resolved from the OS keyring when the environment variable is not set (the wizard stores it there).
Option 4: Persistent store
Add to~/.opensre/integrations.json:
Verify
instance_url, username, and password are all set) rather than a live API call. The live connectivity check runs during onboarding wizard validation.
You can also ask the interactive shell directly:
Troubleshooting
Security best practices
- Use a dedicated ServiceNow user for OpenSRE with the minimum roles it needs (read access only).
- Prefer the onboarding wizard: it keeps the password in the OS keyring instead of
.env. - Rotate the password periodically and remove the integration when no longer needed.