derrickaw opened a new pull request, #41651:
URL: https://github.com/apache/beam/pull/41651

   Note: this PR was auto-generated by tooling. Before moving it out of draft, 
the author has done a full review of the PR, specifically evaluating it on the 
following criteria:
   
   - The PR remediates a confirmed, live vulnerability on `master` that 
Dependabot is not already addressing
   - The version update is minimal, respects Beam's compatibility bounds, and 
avoids unrelated dependency churn
   - Relevant lockfiles, package constraints, and tests have been verified
   
   If you have concerns with the PR or with the underlying methodology used to 
generate this, please comment below - they will be addressed by the author not 
the tooling :)
   
   Adds a GitHub Actions workflow 
(`.github/workflows/beam_Vendor_Java_Dependency_Submission.yml`) using 
[`gradle/actions/dependency-submission`](https://github.com/gradle/actions/tree/main/dependency-submission)
 to resolve and submit Maven dependency graphs for Beam's vendored Java 
subprojects (`:vendor:*`, currently `:vendor:calcite-1_40_0`, 
`:vendor:grpc-1_69_0`, and `:vendor:guava-32_1_2-jre`).
   
   ### Motivation
   Beam's vendored Java artifacts (`beam-vendor-*`) shade and relocate 
dependencies under `org.apache.beam.vendor.*` (and `:vendor:calcite-1_40_0` 
strips `META-INF/maven/**`), leaving both GitHub's static Dependency Graph and 
downstream JAR/container scanners unable to detect CVEs in shaded transitive 
libraries. Resolving `runtimeClasspath` across `:vendor:.*` at the Gradle layer 
enables GitHub Dependabot Alerts to track vulnerabilities in vendored artifacts 
without flooding the repository with unshaded module alerts.
   
   ### Workflow Behavior
   - **On Pull Requests (`pull_request`)**: Runs `dependency-graph: 
generate-and-upload` with `contents: read` to validate resolution and upload 
the snapshot JSON artifact without submitting to the Dependency Graph API.
   - **On `master` Pushes & Manual Dispatch (`push` / `workflow_dispatch`)**: 
Runs `dependency-graph: generate-submit-and-upload` scoped to 
`dependency-graph-include-projects: ':vendor:.*'` and 
`dependency-graph-include-configurations: 'runtimeClasspath'` whenever 
`vendor/**`, `buildSrc/**/*Vendoring*.groovy`, `VendorJavaPlugin.groovy`, 
`settings.gradle.kts`, or the workflow file changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to