Closed

Description
Describe the bug
service.storage_passwords.list
misses space in username
field.
To Reproduce
Steps to reproduce the behavior:
- Install https://splunkbase.splunk.com/app/2731/
- Add
[ test]
account_name = ucspe
account_password = ucspe
disable_ssl_verification = True
server_url = 10.141.36.107
to local/splunk_ta_cisco_ucs_servers.conf
.
3. Go to Splunk, open Cisco UCS app and refresh the page.
4. Run this Python script
from splunklib.client import connect
service = connect(username="admin", password="<your-admin-password>")
all_passwords = service.storage_passwords.list(count=-1, search="")
for p in all_passwords:
print(p.state)
- See that username field does not have space, but the stanza that we add in step 2 has.
Expected behavior
Username field should have space in it.
Splunk (please complete the following information):
- Version: 8.2.2.1
- OS: MacOS 11.6
- Deployment: single-instance
SDK (please complete the following information):
- Version: 1.6.16
- Language Runtime Version: Python 3.7
- OS: MacOS 11.6
Metadata
Metadata
Assignees
Labels
No labels