How can I identify which credential was used during a Credential Test?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi all,
I have a question regarding the Credential Test functionality in ServiceNow Discovery.
In my environment, I have multiple credentials configured, and I run Credential Tests to verify connectivity. However, I would like to identify which specific credential (record/sys_id) was actually used during the test execution.
At the moment, I can see the test results, but it is not clear which credential was applied. I also checked sources such as ECC Queue and Discovery-related logs, but I could not reliably trace it back to a specific credential.
Question
Is there a way to determine which credential was used during a Credential Test?
For example:
Can this be identified from ECC Queue payloads or logs (MID Server logs, Discovery logs, etc.)?
Is there any out-of-the-box functionality or configuration to track this?
Are there recommended approaches or best practices (including custom solutions such as scripts or Business Rules)?
Additional context
I have already considered the following approaches:
Analyzing ECC Queue payloads
Checking the relationship with Credential Affinity
Reviewing MID Server logs
However, I have not found a practical and reliable way yet.
Any guidance or proven approaches would be greatly appreciated.
Environment
ServiceNow: (e.g., Zurich)
Discovery in use