GitLab API

GitlabTool

Actions1095

Npm_packages → postApiV4GroupsIdPackagesNpmNpmV1SecurityAdvisoriesBulk

AI-generated

Summary

Post multiple NPM security advisories in bulk to a specified GitLab group.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group to which the advisories are posted.

Output shape

a JSON response from GitLab's bulk security advisories API endpoint

The operation sends a POST request to the GitLab API endpoint /api/v4/groups/{id}/-/packages/npm/-/npm/v1/security/advisories/bulk. Authentication via GitLab API credentials is required unless explicitly skipped. The response shape depends on GitLab's API and may include success/failure details per advisory.

Examples

Example 1: Bulk submit security advisories for NPM packages within a GitLab group.

Provide the group ID in the path parameters and authenticate with GitLab API credentials. The node constructs a POST request to the appropriate GitLab API URL and submits the advisories in the request body (handled internally as per the hidden requestBodySchema). The output returns the server response to the request.

Links

Discussion