Discovery Credential check automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2024 11:26 PM
Hi All,
I have a requirement to automate the process to check the Discovery credential automatically and create a corresponding task in sc_task table.
I create one flow and check the record in IP affinitity table but it's not working as expected, Some time credentials not having any IP affinity record but still credentials are working fine.
Please check flow chart in attachment.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 02:47 AM
Hi @Runjay Patel ,
Thanks for your response, I'm curious suppose if the password is not updated in the ServiceNow instance but is updated on the target machine, will it still work as expected or will there be issues accessing the target machine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 03:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 04:06 AM
Hi @Runjay Patel,
Then I think above code not working as per requirement.
Because if the credential are not working then task will be created for that credential to update with new credential.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 04:57 AM
Hi @shubhamverm6594 ,
On that case you can cerate BR on Discovery Log table with bellow condition, It will check if any credential fails.
short_messageSTARTSWITHCould not find any valid credentials to authenticate the target for type^ORshort_messageSTARTSWITHNo credential found for type
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 10:36 PM
Hi @Runjay Patel ,
Thank you for your quick responses regarding recent requirement. I’d like to delve deeper into the last suggestion.
Is it possible to specifically target actual credentials that do not possess valid passwords? As I understand it, discovery may utilize a HIT & TRY method to identify devices.
Looking forward to your insights on this matter.
Thanks & Regards,
Shubham Verma