[Request] Update drawSvg Library to latest version
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Aggiorna i riferimenti alla dipendenza drawSvg in requirements-dev.txt e setup.py, quindi esamina mitreattack/navlayers/exporters/svg_templates.py e svg_objects.py per verificarne la compatibilità. Usa il layer G0016 e il file STIX Enterprise ATT&CK v13.1 con il comando layerExporter_cli fornito e conferma che l’SVG generato abbia l’aspetto corretto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We have a dependency on drawSvg both in the requirements-dev.txt and setup.py files. It is used in the mitreattack/navlayers section of the library, specifically in the svg_templates.py and svg_objects.py files.
The documentation for drawSvg is here: https://github.com/cduck/drawsvg
It would be great to update our dependency to use the latest version of drawSvg, but the last time we did that, we had the following error: https://github.com/mitre-attack/mitreattack-python/issues/106
Test
After upgrading the dependency, a good way to test that it worked may be as follows:
- Download the G0016 Navigator Layer file
- Download the Enterprise ATT&CK v13.1 STIX file
- Run the following command in a python virtual environment with the updated version of the mitreattack-python library
layerExporter_cli G0016-enterprise-layer.json -m svg -s local --resource enterprise-attack.json -o my-G0016-svg-output.svg
- Check out the
my-G0016-svg-output.svgfile to see if it looks right!
- Lingua principale
- HTML
- Stelle
- 743
- Fork
- 176
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri 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/mitreattack-python
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
mitre-attack/mitreattack-python#207 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
mitre-attack/mitreattack-python#188 · 1 commento ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
mitre-attack/mitreattack-python#183 · 2 commenti · 1 reazione ·
-
[Request] OWL export Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di mitre-attack/mitreattack-python
Issue simili
-
area/sessions comp/agent P2 tool/skills type/perf
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NousResearch/hermes-agent#117788 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
code-quality refactoring
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
github/gh-aw-firewall#8816 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getgrav/grav-plugin-api#45 ·