Add Generic attestation to a trail with an optional attachment file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Attestation data in JSON format
{
"annotations": { "key": "value" },
"artifact_fingerprint": "089eeef9ef2ba07f142d93bb172eab3f23586b4cb40af75175ce140ab9a88c9a",
"attestation_name": "manual-test",
"description": "this is a glorious attestation",
"external_urls": {
"github": "https://github.com/org/repo/actions/123"
},
"git_commit_info": {
"author": "Jon Smith <jon@smith.com>",
"branch": "main",
"message": "adding glorious commit",
"sha1": "ae08fc6a5c963ae8dfaa0c27d8e5de9980d433b6",
"timestamp": 1750923680,
"url": "https://github.com/org/repo/commit/ae08fc6a5c963ae8dfaa0c27d8e5de9980d433b6"
},
"is_compliant": true,
"origin_url": "https://github.com/actions/123",
"user_data": {}
}
Optional attachment file (max size: 10MB)
Creation Success