diff --git a/lang/en/docs/cli/audit.md b/lang/en/docs/cli/audit.md index b9697c9ba..9c9ce9799 100644 --- a/lang/en/docs/cli/audit.md +++ b/lang/en/docs/cli/audit.md @@ -8,7 +8,7 @@ layout: guide

Perform a vulnerability audit against the installed packages.

-##### `yarn audit [--verbose] [--json] [--level]` +##### `yarn audit [--verbose] [--json] [--level] [--groups]` Checks for known security issues with the installed packages. The output is a list of known issues. @@ -33,3 +33,8 @@ For scripting purposes, `yarn audit` also supports the `--json` flag, which will ##### `yarn audit [--level info|low|moderate|high|critical]` Applying the level flag will limit the audit table to vulnerabilities of the corresponding level and above. It will *not* affect the exit code of the command. + + +##### `yarn audit [--groups group_name ...]` + +Applying the groups flag will limit the audit table to vulnerabilities of the corresponding dependency groups (e.g dependencies,devDependencies).