/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ /* * DO NOT EDIT, this is an Auto-generated file from: * buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2 */ #pragma once #include "opentelemetry/common/macros.h" #include "opentelemetry/version.h" OPENTELEMETRY_BEGIN_NAMESPACE namespace semconv { namespace artifact { /** The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the SLSA Relationship specification for more information. */ static constexpr const char *kArtifactAttestationFilename = "artifact.attestation.filename"; /** The full hash value (see glossary), of the built attestation. Some envelopes in the software attestation space also refer to this as the digest. */ static constexpr const char *kArtifactAttestationHash = "artifact.attestation.hash"; /** The id of the build software attestation. */ static constexpr const char *kArtifactAttestationId = "artifact.attestation.id"; /** The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name.
This file name can also act as the Package Name in cases where the package ecosystem maps accordingly. Additionally, the artifact can be published for others, but that is not a guarantee. */ static constexpr const char *kArtifactFilename = "artifact.filename"; /** The full hash value (see glossary), often found in checksum.txt on a release of the artifact and used to verify package integrity.
The specific algorithm used to create the cryptographic hash value is not defined. In situations where an artifact has multiple cryptographic hashes, it is up to the implementer to choose which hash value to set here; this should be the most secure hash algorithm that is suitable for the situation and consistent with the corresponding attestation. The implementer can then provide the other hash values through an additional set of attribute extensions as they deem necessary. */ static constexpr const char *kArtifactHash = "artifact.hash"; /** The Package URL of the package artifact provides a standard way to identify and locate the packaged artifact. */ static constexpr const char *kArtifactPurl = "artifact.purl"; /** The version of the artifact. */ static constexpr const char *kArtifactVersion = "artifact.version"; } // namespace artifact } // namespace semconv OPENTELEMETRY_END_NAMESPACE