GitLab API

GitlabTool

Actions1095

Npm_packages → postApiV4ProjectsIdPackagesNpmNpmV1SecurityAuditsQuick

AI-generated

Summary

Send a POST request to the GitLab API to perform a quick security audit of an NPM package within a specified project.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the NPM package to audit.
  • skipAuthentication — Optionally skip authentication for this request (default is false).
  • baseUrl — The base URL of the GitLab instance (default is 'https://gitlab.com').

Output shape

The operation returns the response body from the GitLab security audit quick endpoint, typically containing security audit results for the NPM package in JSON format.

The output depends on the GitLab API response and includes security audit information. Authentication is required unless explicitly skipped. The operation targets the endpoint '/api/v4/projects/{id}/packages/npm/-/npm/v1/security/audits/quick' using POST method.

Links

Discussion