IndexError: list index out of range while running update-attack.py
@jondricek ci sta già lavorando.
Dal 8/2/2023.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- HTML
- Stelle
- 590
- Fork
- 175
- Merge medio
- 1g 11h
- PR unite (30g)
- 2
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mitre-attack/attack-website
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mitre-attack/attack-website#628 · 1 commento ·
-
Search result ordering issueAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
mitre-attack/attack-website#626 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
mitre-attack/attack-website#596 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
mitre-attack/attack-website#571 · 2 commenti · 1 reazione ·
-
[Accessibility] Navbar logo missing alt text causing WCAG violationForse di nuovo libera @jondricek l’ha presa 237 giorni fa e non c’è nessuna pull request aperta. Aperta
mitre-attack/attack-website#563 · 1 assegnatario ·