GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting the operation to post bulk security advisories for npm packages within a GitLab project. It is useful for automating the management and reporting of security advisories related to npm packages in a project hosted on GitLab. For example, it can be used to bulk upload security advisories to a project's npm packages to keep track of vulnerabilities.

Use Case Examples

  1. Bulk upload security advisories for npm packages in a GitLab project to automate vulnerability management.
  2. Integrate with CI/CD pipelines to update security advisories automatically after package scans.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Parameter Schema Schema defining the path parameter 'id' which is the ID or URL-encoded path of the project.
Request Body Schema Schema for the request body, used for sending bulk security advisories data.
Request Path API endpoint path for posting bulk security advisories to npm packages in a project.
Path Parameters Collection of path parameters including 'id' which identifies the project.

Output

JSON

  • response - The JSON response from the GitLab API after posting bulk security advisories.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in path parameters is correct and accessible with the authenticated user.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to post security advisories.
  • Check the request body format matches the expected schema for bulk security advisories to avoid validation errors.

Links

Discussion