Azure / Azure/Azure-Sentinel-Notebooks
SigmaRuleImporter error when saving KQL queries
Open
- Dominant language
- Jupyter Notebook
- Stars
- 628
- Forks
- 236
- PR merge metrics
- No merged PRs in 30d
Description
When trying to export the KQL queries, the cell runs for a bit without a problem, and successfully outputs some of the KQL queries then it runs into this issue:
```
TypeError Traceback (most recent call last)
Cell In[22], line 7
4 sub_dir = root.joinpath(categ)
6 for file_name, contents in kql_files.items():
----> 7 kql_txt = contents[1]
8 if not kql_txt == NOT_CONVERTIBLE:
9 sub_dir.mkdir(exist_ok=True)
TypeError: 'WindowsPath' object is not subscriptable
Contributor guide
Assessment
This issue has not been assessed yet.