Skip to content

ci: 👷 Harden repository security automation - #89

Merged
oxspan merged 1 commit into
developfrom
feature/security-hardening
Nov 14, 2026
Merged

oxspan merged 1 commit into
developfrom
feature/security-hardening

Conversation

@oxspan

@oxspan oxspan commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Why

Gradle dependencies were not covered by the existing Actions-only Dependabot configuration, and no workflow submitted the resolved dependency graph for vulnerability alerts. Dependabot security PRs targeting the default branch were also rejected by the CI route check.

Changes

  • Add weekly grouped Gradle version updates targeting develop.
  • Submit resolved Gradle dependencies from trusted master pushes, a weekly schedule, or manual dispatch on master, using pinned actions and job-scoped write permissions.
  • Allow Dependabot security PRs into master through the existing CI route check.
  • Document the configured repository protections, single-maintainer review policy, and release-please CI approval procedure in the security and release guides.

Validation

  • Hosted Linux CI passed on b406006dee9de1dccd0cb4fa87ca82cacde26c20: 289 tests passed, zero failures/errors/skips. Line coverage 95.35%; branch coverage 81.08%; both thresholds passed.
  • Windows package checks were intentionally skipped for the develop target, matching existing CI policy. GitGuardian security checks and the test-summary job passed.
  • actionlint 1.7.12: all three workflows passed. Dependabot YAML parsed successfully.
  • Executed the actual PR route-check block: seven supported routes accepted and three unsupported routes rejected. git diff --check passed.
  • Separately enabled and verified Secret scanning, push protection, Dependabot alerts/security updates, PR/CI branch requirements, and selected Actions with SHA pinning. CodeQL default setup completed successfully for Actions, C/C++, and Java/Kotlin on the base commit.

Compatibility and risks

No CLI, output, capture-format, or supported-Collector changes. Gradle submission becomes operational after this workflow reaches master; a successful submission has not yet been observed. The vendored Scouter JAR still needs separate review. Initial CodeQL analysis reported 39 findings under test/verification sources; those findings remain open and require separate triage. Optional real-Collector smoke tests were not run.

@github-actions

Copy link
Copy Markdown
Contributor

Linux CI: success · Commit b406006

Test results (Linux)

Total Passed Failed Errors Skipped
289 289 0 0 0

Test coverage

Metric Covered / total Coverage Minimum Result
LINE 2278 / 2389 95.35% 90.00% PASS
BRANCH 1371 / 1691 81.08% 80.00% PASS

Includes the test JVM and CLI subprocesses. Excludes optional real-Collector smoke tests.

Workflow logs and report artifacts

Updated on each CI run. Windows checks, when required, are reported separately in the workflow.

@oxspan
oxspan merged commit 5dc2457 into develop Nov 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant