We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46bd4cc commit ccdb12bCopy full SHA for ccdb12b
splunklib/binding.py
@@ -93,8 +93,8 @@ def mask_sensitive_data(data):
93
except Exception as ex:
94
return data
95
96
- # json.loads will return "123"(str) as 123(int), so return the data
97
- if isinstance(data, int):
+ # json.loads will return "123"(str) as 123(int), so return the data if it's not 'dict' type
+ if not isinstance(data, dict):
98
99
mdata = {}
100
for k, v in data.items():
0 commit comments