IndexError: list index out of range while running update-attack.py
@jondricek is already working on this.
Since Feb 8, 2023.
Assessment
This issue has not been assessed yet.
Description
While using workbench to integrate with attack website as per the guide, the following occurs while running update-attack.py
clean : ---------------------------------------- 0.00s
matrices : ---------------------------------------- 7.74s
tactics : ---------------------------------------- 0.13s
techniques : ---------------------------------------- Running...Traceback (most recent call last):
File "update-attack.py", line 154, in
ptr'run_module'
File "/home/yash/Downloads/attack-website-master/modules/techniques/init.py", line 37, in run_module
return (techniques.generate_techniques(), techniques_config.module_name)
File "/home/yash/Downloads/attack-website-master/modules/techniques/techniques.py", line 53, in generate_techniques
check_if_generated = generate_domain_markdown(domain['name'], techniques_no_sub, tactics, side_nav_data, notes, deprecated)
File "/home/yash/Downloads/attack-website-master/modules/techniques/techniques.py", line 95, in generate_domain_markdown
generate_technique_md(technique, domain, side_nav_data, tactics[domain], notes)
File "/home/yash/Downloads/attack-website-master/modules/techniques/techniques.py", line 123, in generate_technique_md
technique_dict = generate_data_for_md(technique_dict, technique, tactic_list)
File "/home/yash/Downloads/attack-website-master/modules/techniques/techniques.py", line 239, in generate_data_for_md
tactic = [x for x in tactic_list if x['x_mitre_shortname'] == elem['phase_name']][0]
IndexError: list index out of range
- Dominant language
- HTML
- Stars
- 590
- Forks
- 175
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 2
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mitre-attack/attack-website
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mitre-attack/attack-website#628 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
mitre-attack/attack-website#626 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
mitre-attack/attack-website#596 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
mitre-attack/attack-website#571 · 2 comments · 1 reaction ·
-
[Accessibility] Navbar logo missing alt text causing WCAG violationMay be free again @jondricek claimed this 237 days ago, and no pull request is open. Open
mitre-attack/attack-website#563 · 1 assignee ·