GitLab API

GitlabTool

Actions1095

Npm_packages → postApiV4ProjectsIdPackagesNpmNpmV1SecurityAdvisoriesBulk

AI-generated

Summary

Submit multiple security advisories for NPM packages within a specified GitLab project in bulk.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project where the security advisories will be added.

Output shape

a list of created security advisories or an acknowledgment response from the GitLab API

The operation sends a POST request to the /api/v4/projects/{id}/packages/npm/-/npm/v1/security/advisories/bulk endpoint. Authentication via GitLab API credentials is required unless explicitly skipped. The exact response shape adheres to the GitLab API's bulk security advisory creation response and may include created advisories or status information.

Links

Discussion