IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

CB Response: Can additional print statements for SAML SSO debugging?

CB Response: Can additional print statements for SAML SSO debugging?

Environment

  • Carbon Black Response: 5.x and above
  • SAML/SSO

Question

Can I add additional print statements for my own SAML SSO debugging?

Answer

This is not supported, however it is possible to add using Python coding but should be done at your own risk.

Additional Notes

  • A backup of the file should be made before making any modifications.
  • The only CB Response Python (.py) file that we ship with is the SSO attr_map.py (/etc/cb/sso/attr_map.py). The function in this file gets passed in a logger through the logging parameter. Logging can be added there with logger.debug() or logger.info() statements. Files under the sitepackages folder (/usr/share/cb/virtualenv/lib/python2.7/site-packages/saml2/) could be used to find what additional logging statements are available, and follow that call function to find other relevant file to add more logging. 

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎02-06-2019
Views:
265
Contributors