docs/predicates/trace_url.md
Type URI: https://dagger.io/cloud
Version: 0.1
Predicate Name: Trace URL
A reference to a Dagger Cloud trace URL
Associate a build or artifact with the Dagger Cloud trace that produced it
A Dagger Cloud account. The trace URL of a run can be found during a session from the Dagger client at Client.Cloud.TraceURL
This is a predicate type that fits within the larger Attestation framework.
{
// Standard attestation fields:
"_type": "https://in-toto.io/Statement/v1",
"subject": [{ ... }],
// Predicate:
"predicateType": "https://dagger.io/evidence/trace-url/v1",
"predicate": {
"traceURL": "https://dagger.cloud/traces/abcd1234"
}
}
Parsing rules are important to define explicitly to ensure implementations can handle example attestations correctly. For example, this section can discuss how the predicate type is versioned, how non-specified fields must be handled, and so on. Attestations definitions MUST use this section to define how the parsing rules differ from the framework’s standard parsing rules.
traceURL: A valid url to a Dagger Cloud trace
{
// Standard attestation fields:
"_type": "https://in-toto.io/Statement/v1",
"subject": [{ ... }],
// Predicate:
"predicateType": "https://dagger.io/evidence/trace-url/v1",
"predicate": {
"traceURL": "https://dagger.cloud/traces/abcd1234"
}
}
This is the initial version