OWASP / OWASP/owasp-java-encoder

Add maintained code scanning and automated dependency update workflows

未关闭
#97 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
Java
星标
541
派生
122
平均合并
9 小时 9 分钟
30 天内合并 PR
1

描述

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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

检查现有的构建工作流和 Maven reactor,包括可选测试应用的 POM 以及固定版本的 Felix 5.6.12 fixture。然后检查 CodeQL 和依赖更新要求、最小权限原则下的权限,以及 actionlint 验证。完成的标准是:维护中的工作流覆盖预期的模块和更新范围,保留必需的测试和 consumer-contract 检查,并记录 triage 和兼容性决策。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, java
领域
build-system, ci-cd, security
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。