Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SigmaRuleImporter error when saving KQL queries #192

Open
apdelchi opened this issue Jan 13, 2023 · 0 comments
Open

SigmaRuleImporter error when saving KQL queries #192

apdelchi opened this issue Jan 13, 2023 · 0 comments
Assignees

Comments

@apdelchi
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants