[Bug] showSubtechniques in SVGConfig does not show the sub techniques in the SVG
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Empieza en mitreattack.navlayers.exporters.to_svg, centrándote en SVGConfig y ToSvg.to_svg. Reproduce el problema con showSubtechniques="all" y la configuración de la capa proporcionada, y luego compara el SVG generado con la salida de attack navigator. Se considera terminado cuando el SVG incluye sub técnicas expandidas con la configuración descrita.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Expected Behavior
Expanded sub techniques in SVG
Actual Behavior
SVG is not showing sub techniques, while the attack navigator does
Steps to Reproduce the Problem
- create a json with:
layout: "expandedSubtechniques": "all"
techniques "showSubtechniques": True
"selectSubtechniquesWithParent": True - Validate that the json contains:
layout: "expandedSubtechniques": "all"
techniques: "showSubtechniques": true
"selectSubtechniquesWithParent": true - Validate that the json works in attack explorer
- Import: from mitreattack.navlayers.exporters.to_svg import ToSvg, SVGConfig
- svgconf =SVGConfig(width=118.9, height=84.1, unit="cm", showHeader=False, fontSize=12, showSubtechniques="all")
- export with
exporter = ToSvg(domain='enterprise', source='local', resource=resource_path, config=svgconf)
exporter.to_svg(layerInit=layer, filepath="Coverage.svg")
Possible Solution
Review > mitreattack.navlayers.exporters.to_svg
- Lenguaje dominante
- HTML
- Estrellas
- 747
- Forks
- 175
- Merge medio
- 12 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mitre-attack/mitreattack-python
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
mitre-attack/mitreattack-python#207 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
mitre-attack/mitreattack-python#188 · 1 comentario ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
mitre-attack/mitreattack-python#183 · 2 comentarios · 1 reacción ·
-
[Request] OWL exportAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Todos los issues de mitre-attack/mitreattack-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
UKGovernmentBEIS/inspect_ai#5821 ·
Los mantenedores suelen responder en 1 día
-
submodule-pointer-regression
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
smith-horn/skillsmith#3061 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
openai/codex-plugin-cc#813 ·
-
evidence wanted good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
open-coder-ai/agentseam#195 ·
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día