[Request] Update drawSvg Library to latest version
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Cập nhật các tham chiếu đến dependency drawSvg trong requirements-dev.txt và setup.py, sau đó kiểm tra mitreattack/navlayers/exporters/svg_templates.py và svg_objects.py về khả năng tương thích. Sử dụng layer G0016 và tệp STIX Enterprise ATT&CK v13.1 với lệnh layerExporter_cli được cung cấp, rồi xác nhận rằng SVG được tạo ra hiển thị chính xác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- HTML
- Star
- 743
- Fork
- 176
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mitre-attack/mitreattack-python
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
mitre-attack/mitreattack-python#207 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
mitre-attack/mitreattack-python#188 · 1 bình luận ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
mitre-attack/mitreattack-python#183 · 2 bình luận · 1 reaction ·
-
[Request] OWL export Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của mitre-attack/mitreattack-python
Issue tương tự
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Đang mởbug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
AXERA-TECH/ax-llm#77 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
games-on-whales/wolf#509 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100