chains icon indicating copy to clipboard operation
chains copied to clipboard

Add maven package support using simple type hinting in intoto provenance

Open ywluogg opened this issue 3 years ago • 1 comments

Feature request

Add maven package support using simple type hinting in intoto. Currently we support git source and OCI images. Supporting maven packages in image in simple type hinting gives extra support of such type of artifact and let users to use Chains before TEP 0075, 0076 and 0109 can be released.

Use case

We will have:

      results:
        - name: mvn1_pkg_INTOTO_TARGET_NAME
           value: maven-test-0.0.1.jar
        - name: mvn1_pkg_INTOTO_TARGET_DIGEST
           value: sha256@abc
        - name: mvn1_pom_INTOTO_TARGET_NAME
           value: maven-test-0.0.1.pom
        - name: mvn1_pom_INTOTO_TARGET_DIGEST
           value: sha256@def
        - name: mvn1_src_INTOTO_TARGET_NAME
           value: maven-test-0.0.1-sources.jar
        - name: mvn1_src_INTOTO_TARGET_DIGEST
           value: sha256@xyz

From this, we will generate a subject in intoto provenence:

{"name": "maven-test-0.0.1.jar", "digest": {"sha256": "abc"}}
{"name": "maven-test-0.0.1.pom", "digest": {"sha256": "def"}}
{"name": "maven-test-0.0.1-sources.jar", "digest": {"sha256": "xyz"}}

ywluogg avatar Jun 14 '22 13:06 ywluogg

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale with a justification. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

tekton-robot avatar Sep 26 '22 22:09 tekton-robot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten with a justification. Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with /close with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle rotten

Send feedback to tektoncd/plumbing.

tekton-robot avatar Oct 26 '22 22:10 tekton-robot

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen with a justification. Mark the issue as fresh with /remove-lifecycle rotten with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/close

Send feedback to tektoncd/plumbing.

tekton-robot avatar Nov 25 '22 22:11 tekton-robot

@tekton-robot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen with a justification. Mark the issue as fresh with /remove-lifecycle rotten with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/close

Send feedback to tektoncd/plumbing.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

tekton-robot avatar Nov 25 '22 22:11 tekton-robot