Skip to content

Capture remote stepAction source in SLSA resolvedDependencies#1737

Open
ngelman1 wants to merge 1 commit into
tektoncd:mainfrom
ngelman1:StepAction-origin-wiring
Open

Capture remote stepAction source in SLSA resolvedDependencies#1737
ngelman1 wants to merge 1 commit into
tektoncd:mainfrom
ngelman1:StepAction-origin-wiring

Conversation

@ngelman1

Copy link
Copy Markdown
Contributor

This PR aims to close some gaps before advancing to reslove issue #1160

Changes

When a TaskRun step uses a remotely resolved stepAction, Pipelines records its origin in StepState.Provenance.RefSource. This change wires that data into the SLSA provenance resolvedDependencies as entries named "stepAction/{stepName}", enabling full traceability of step definitions.

Currently, Chains captures the origin of remote Tasks and Pipelines in provenance, but ignores the origin of remote StepActions. This means the SLSA provenance has a traceability gap -- a verifier cannot tell where a step's definition came from.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs included if any changes are user facing
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

@tekton-robot tekton-robot requested review from ab-ghosh and enarha June 30, 2026 10:28
@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign lcarva after the PR has been reviewed.
You can assign the PR to them by writing /assign @lcarva in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 30, 2026
@ngelman1 ngelman1 force-pushed the StepAction-origin-wiring branch from 7842fe8 to 96e6234 Compare June 30, 2026 10:37
…sk. saved in SLSA provenance resolvedDependency
@ngelman1 ngelman1 force-pushed the StepAction-origin-wiring branch from 96e6234 to d4a946e Compare July 1, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants