OWASP / OWASP/owasp-java-encoder

Add maintained code scanning and automated dependency update workflows

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

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

enhancement
Ngôn ngữ chính
Java
Star
541
Fork
122
Merge trung bình
9 giờ 9 phút
Pull request đã merge (30 ngày)
1

Mô tả

Follow-up to #90 (reviewed at 31588e1). This tracks work intentionally kept separate from the modernization PR.

Current state

As checked on 2026-09-11, GitHub reports CodeQL default setup as not-configured. The repository contains a build workflow but no checked-in CodeQL or Dependabot configuration.

The project would benefit from ongoing checks after the one-time dependency updates in #90.

Acceptance criteria

  • Choose one maintained CodeQL setup (default or advanced) appropriate for this Maven reactor; configure PR/default-branch and scheduled analysis as appropriate, without duplicate scan jobs.
  • Confirm analysis includes the intended Java modules and relevant workflow code, and document the optional Jakarta test application's coverage.
  • Establish dependency/Actions update automation with sensible grouping and cadence; cover the optional test-app POM as well as the published library modules.
  • Treat the deliberately pinned Felix 5.6.12 OSGi R6 test fixture as a documented compatibility fixture: do not silently upgrade it away, and review any applicable advisories rather than blanket-suppressing findings.
  • Review dependency alerts by runtime/test/build scope; document ownership and a triage process without disabling meaningful security checks.
  • Preserve least-privilege permissions, keep secrets away from untrusted PR execution, and validate action changes with actionlint.
  • Require the normal tests and consumer-contract checks for automated update PRs; do not enable unattended merges of packaging-sensitive changes.

Reference: GitHub code-scanning setup documentation.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Hướng nghiên cứu

Xem xét build workflow hiện có và Maven reactor, bao gồm POM của ứng dụng kiểm thử tùy chọn và fixture Felix 5.6.12 được ghim. Sau đó kiểm tra các yêu cầu của CodeQL và cập nhật dependency, các quyền theo nguyên tắc đặc quyền tối thiểu và việc xác thực bằng actionlint. Được xem là hoàn tất khi các workflow được duy trì bao phủ các module và phạm vi cập nhật dự kiến, giữ nguyên các kiểm thử bắt buộc và các kiểm tra consumer-contract, đồng thời ghi lại các quyết định về triage và khả năng tương thích.

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

Đánh giá

Công nghệ
github-actions, java
Lĩnh vực
build-system, ci-cd, security
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

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.