GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the signature information of a specific commit in a GitLab project repository. It is useful for verifying the authenticity and integrity of commits by checking their cryptographic signatures. Common scenarios include auditing commit signatures for security compliance or validating signed commits in a CI/CD pipeline.

Use Case Examples

  1. Retrieve the signature of a commit identified by its SHA in a GitLab project to verify its authenticity.
  2. Check the commit signature in a project repository to ensure it was signed by a trusted contributor.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project ID or URL-encoded path and the commit SHA to identify the commit.

Output

JSON

  • signature - The cryptographic signature details of the commit.
  • verification - Verification status and details of the commit signature.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and commit SHA are correctly specified and URL-encoded if necessary.
  • Authentication errors may occur if the GitLab API key is missing or invalid; verify credentials.
  • HTTP method should be GET for this operation; using other methods may cause errors.

Links

Discussion