Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

URLs are inconsistent

Đang mở
#322 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
html
Lĩnh vực
web-dev

Hướng nghiên cứu

Bắt đầu bằng cách xác định các thuộc tính href của anchor và các mục trong index.json tham chiếu đến các đối tượng ATT&CK. Chuẩn hóa các URL tương đương về dạng có dấu gạch chéo ở cuối và không có index.html, sau đó xác minh rằng các liên kết và kết quả tìm kiếm đối tượng vẫn trỏ đến cùng các trang.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug Points: 5 timescale/long-term
  • Problem

URLs to the same technique, software, mitigation, or group page are inconsistent.

  • Detail

URLs to the same object are inconsistent. For example,

  1. /techniques/T1595/ (in href attributes in anchor tags)
  2. /techniques/T1595/index.html (in index.json used in ATT&CK object search)

Both URLs lead us to the same object (the same web content).
There are many incosistent URL expressions in ATT&CK, such as the example above.

If there is no reason, I would like to suggest unifying the them into a single URL format as shown in the solution section below.

  • Solution

I would go for something like "/techniques/T1595/" with "/" and without "index.html" at the end.
That is what you get when you click the links in the ATT&CK pages.
As for 'without "index.html"', the ATT&CK pages are currently static,
but they might be generated dynamically in the future.
It would be safe not to specify "index.html", to be prepared for dynamic HTML generation.

  • Additional improvement

Not in this repo, but ATT&CK STIX 2 JSON file has URLs like "/technique/T1595" in its external_references.
I believe that they should be consistent with URLs in this repo.
When the standard is set, I will raise an issue for the ATT&CK STIX 2 JSON file.

Ngôn ngữ chính
HTML
Star
590
Fork
174
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mitre-attack/attack-website

Tất cả issue của mitre-attack/attack-website

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.