GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation performs a quick security audit on npm packages within a specified GitLab group. It is useful for developers and DevOps teams who want to quickly check for vulnerabilities in npm packages associated with a GitLab group. For example, it can be used to automate security checks in CI/CD pipelines to ensure package safety before deployment.

Use Case Examples

  1. Perform a quick security audit on npm packages for a GitLab group by providing the group ID.
  2. Integrate this node in a workflow to automatically trigger security audits on npm packages when new packages are published or updated.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is 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.
Parameter Schema Schema for path parameters, specifically the group ID or URL-encoded path.
Request Body Schema Schema for the request body, if applicable.
Request Path API endpoint path for the security audit request.
Path Parameters Collection of path parameters, specifically the group ID required for the API call.

Output

JSON

  • response - The JSON response from the GitLab API containing the results of the npm security audit.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and accessible with the authenticated user.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access the group's npm packages.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages may include authentication failures, invalid group ID, or permission denied errors. Resolving these typically involves verifying credentials and input parameters.

Links

Discussion