GitLab API icon

GitLab API

Gitlab

Actions1062

Npm_packages → postApiV4GroupsIdPackagesNpmNpmV1SecurityAuditsQuick

AI-generated

Summary

Trigger a quick security audit on an NPM package within a specified GitLab group by sending a POST request to the group's NPM security audit endpoint.

Inputs

  • Path Parameters (required) — Specify the 'id' which is the ID or URL-encoded path of the GitLab group whose NPM package you want to audit.
  • Skip Authentication — Optionally skip authentication by setting this boolean; defaults to false.

Output shape

a JSON object representing the result of the quick security audit from GitLab's API.

The operation performs a POST request to the API path /api/v4/groups/{id}/-/packages/npm/-/npm/v1/security/audits/quick with required path parameter 'id'. The 'id' must be provided for the audit to execute. Authentication is used by default unless explicitly skipped. The response contains details from the security audit as returned by GitLab's API.

Links

Discussion