GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API, specifically supporting the operation to post bulk security advisories for npm packages. It is useful for automating the submission of multiple security advisories to GitLab's npm package registry, which can help maintainers manage vulnerabilities efficiently.

Use Case Examples

  1. A security team automates the upload of multiple npm security advisories to GitLab to keep their package registry up to date.
  2. A DevOps engineer integrates this node in a workflow to bulk report security issues found during automated scans of npm packages.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request, defaulting to GET but supporting POST, PUT, DELETE, HEAD, and PATCH.
Parameter Schema Hidden property representing the schema for parameters of the bulk security advisories operation.
Request Body Schema Hidden property representing the schema for the request body of the bulk security advisories operation.
Request Path Hidden property specifying the API endpoint path for posting bulk npm security advisories.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key is valid and has sufficient permissions to post security advisories.
  • Verify the baseUrl is correct and accessible from the network where the node runs.
  • Check that the request body conforms to the expected schema for bulk security advisories to avoid validation errors.

Links

Discussion