Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Dear All,
Referring to "NSO Access Control - Role-based and Resource-based Access" session, which was presented in Cisco NSO Developer Days 2020 (Virtual) event, I share the external authentication script that was used for the actual NSO demonstrat...
#!/usr/bin/env python
import sys, re
# please modify below as per your NSO_LOG directory
f=open("<some_dir>/external-authentication.log", "a+")
f.write("\nCalled\n")
credentialstring = sys.stdin.readline()[:-2][1:]
if credentialstring.endswith(';...
#!/usr/bin/env python
import sys, re
# please modify below as per your NSO_LOG directory
f=open("<some_dir>/external-authentication.log", "a+")
f.write("\nCalled\n")
credentialstring = sys.stdin.readline()[:-2][1:]
if credentialstring.endswith('...