Synopsis
To get an attestation from a trail, specify the trail name using the
--trail flag.To get an attestation from an artifact, specify the artifact fingerprint using the
--fingerprint flag.These flags cannot be used together. In both cases the flow must also be specified using the
--flow flag.If there are multiple attestations with the same name on the trail or artifact, a list of all will be returned. You can also get an attestation by its id using the
--attestation-id flag. This cannot be used with the attestation name,
or any of the --flow, --trail or --fingerprint flags.
Flags
Flags inherited from parent commands
Live Example
To view a live example of ‘kosli get attestation’ you can run the command below (for the cyber-dojo demo organization).View example output
View example output
Examples Use Cases
These examples all assume that the flags--api-token, --org, --host, (and --flow, --trail when required), are set/provided.
get an attestation by name from a trail (requires the --trail flag)
get an attestation by name from a trail (requires the --trail flag)
get an attestation by name from an artifact
get an attestation by name from an artifact
get an attestation by its id
get an attestation by its id