Skip to content

Commit 072ee51

Browse files
authored
Add auditLevel to pnpm-workspace.json (SchemaStore#5352)
Co-authored-by: btea <btea@users.noreply.github.com>
1 parent 1cce01b commit 072ee51

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/schemas/json/pnpm-workspace.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,15 @@
830830
"trustPolicyIgnoreAfter": {
831831
"description": "Allows ignoring the trust policy check for packages published more than the specified number of minutes ago. This is useful when enabling strict trust policies, as it allows older versions of packages (which may lack a process for publishing with signatures or provenance) to be installed without manual exclusion, assuming they are safe due to their age.",
832832
"type": "number"
833+
},
834+
"auditLevel": {
835+
"description": "Controls the level of issues reported by `pnpm audit`. When set to 'low', all vulnerabilities are reported. When set to 'moderate', 'high', or 'critical', only vulnerabilities with that severity or higher are reported.",
836+
"oneOf": [
837+
{
838+
"type": "string",
839+
"enum": ["low", "moderate", "high", "critical"]
840+
}
841+
]
833842
}
834843
},
835844
"additionalProperties": false

0 commit comments

Comments
 (0)