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

AttributeError: module 'collections' has no attribute 'Iterable' #3

Open
hfakar opened this issue Jul 5, 2022 · 0 comments
Open

AttributeError: module 'collections' has no attribute 'Iterable' #3

hfakar opened this issue Jul 5, 2022 · 0 comments

Comments

@hfakar
Copy link

hfakar commented Jul 5, 2022

Trying to run Attack website on Win11. Encountering the error below. I was not sure whether the issue should be opened for this repository or the one for attack-website's.

(env) C:\Users\hfaka\OneDrive\Documents\GitHub\attack-website>python update-attack.py
clean : ---------------------------------------- 0.00s
matrices : ---------------------------------------- Running...2022-07-05 05:16:35.052 | INFO | modules.util.stixhelpers:download_stix_file:441 - Downloading http://localhost/api/stix-bundles/?domain=enterprise-attack --> output\stix/enterprise-attack.json
2022-07-05 05:16:37.492 | INFO | modules.util.stixhelpers:get_stix_memory_stores:405 - Loading STIX file from: output\stix/enterprise-attack.json
2022-07-05 05:16:40.396 | INFO | modules.util.stixhelpers:download_stix_file:441 - Downloading https://raw.githubusercontent.com/mitre/cti/master/mobile-attack/mobile-attack.json --> output\stix/mobile-attack.json
2022-07-05 05:16:41.270 | INFO | modules.util.stixhelpers:get_stix_memory_stores:405 - Loading STIX file from: output\stix/mobile-attack.json
2022-07-05 05:16:41.450 | INFO | modules.util.stixhelpers:download_stix_file:441 - Downloading https://raw.githubusercontent.com/mitre/cti/master/ics-attack/ics-attack.json --> output\stix/ics-attack.json
2022-07-05 05:16:42.184 | INFO | modules.util.stixhelpers:get_stix_memory_stores:405 - Loading STIX file from: output\stix/ics-attack.json
2022-07-05 05:16:42.313 | INFO | modules.util.stixhelpers:download_stix_file:441 - Downloading https://raw.githubusercontent.com/mitre/cti/master/pre-attack/pre-attack.json --> output\stix/pre-attack.json
2022-07-05 05:16:42.909 | INFO | modules.util.stixhelpers:get_stix_memory_stores:405 - Loading STIX file from: output\stix/pre-attack.json
matrices : ---------------------------------------- 8.98s
tactics : ---------------------------------------- 0.44s
techniques : ---------------------------------------- 4.50s
datasources : ---------------------------------------- Running...Traceback (most recent call last):
File "C:\Users\hfaka\OneDrive\Documents\GitHub\attack-website\update-attack.py", line 229, in
ptr"run_module"
File "C:\Users\hfaka\OneDrive\Documents\GitHub\attack-website\modules\datasources_init_.py", line 22, in run_module
return (datasources.generate_datasources(), datasources_config.module_name_no_spaces)
File "C:\Users\hfaka\OneDrive\Documents\GitHub\attack-website\modules\datasources\datasources.py", line 36, in generate_datasources
datasource_generated = generate_markdown_files()
File "C:\Users\hfaka\OneDrive\Documents\GitHub\attack-website\modules\datasources\datasources.py", line 82, in generate_markdown_files
generate_datasource_md(datasource, side_menu_data, side_menu_mobile_view_data, notes)
File "C:\Users\hfaka\OneDrive\Documents\GitHub\attack-website\modules\datasources\datasources.py", line 121, in generate_datasource_md
if isinstance(datasource.get("x_mitre_contributors"), collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'

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

1 participant