Skip to content

Conversation

@jiparis
Copy link
Member

@jiparis jiparis commented Dec 18, 2024

With this change, STRING materials are added to referral graph.

This is an example of chainloop att add --value "hello string" sent in two different attestations:

➜ cldev discover --digest sha256:cab0b7342c65f6aba6a3c328e91e7c70bb26314b8905c20b68ef503463dd0e52
{
   "digest": "sha256:cab0b7342c65f6aba6a3c328e91e7c70bb26314b8905c20b68ef503463dd0e52",
   "kind": "STRING",
   "downloadable": false,
   "public": false,
   "createdAt": "2024-12-18T23:08:57.435661Z",
   "references": [
      {
         "digest": "sha256:392c8d0d5402225250362919888eae781df9ee5e32870a90e215086f52dbf801",
         "kind": "ATTESTATION",
         "downloadable": true,
         "public": false,
         "createdAt": "2024-12-18T23:08:57.419241Z",
         "references": [],
         "metadata": {
            "name": "mywf",
            "organization": "my-org",
            "project": "myproject",
            "team": ""
         }
      },
      {
         "digest": "sha256:ebbaaf0353ae054d6ba24ce1384d7b8244d063c89177bd090a1aeb37dc0af0e6",
         "kind": "ATTESTATION",
         "downloadable": true,
         "public": false,
         "createdAt": "2024-12-18T23:10:13.171466Z",
         "references": [],
         "metadata": {
            "name": "mywf",
            "organization": "my-org",
            "project": "myproject",
            "team": ""
         }
      }
   ]
}

Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
@jiparis jiparis requested review from javirln and migmartri December 18, 2024 23:14
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
@jiparis jiparis merged commit 52c1782 into chainloop-dev:main Dec 19, 2024
13 checks passed
@jiparis jiparis deleted the PFM-2018-strings branch December 19, 2024 09:39
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.

2 participants