Just Published! Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

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:
187
Contributors