package_auditAudit a local project or remote Git repository lockfile and return normalized package vulnerability results.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "Required. Local directory path or remote Git repository URL"
},
"threshold": {
"description": "Minimum threshold that controls the returned advisories list. Defaults to low.",
"type": "string",
"enum": [
"low",
"moderate",
"high",
"critical"
]
},
"registry": {
"description": "Custom registry URL used during audit execution. Defaults to https://registry.npmjs.org/.",
"type": "string"
},
"skipDev": {
"description": "Whether to skip dev dependencies during audit",
"type": "boolean"
},
"retryCount": {
"description": "Retry count passed to the audit executor",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"outputFormat": {
"description": "Response format. Defaults to text.",
"type": "string",
"enum": [
"json",
"text"
]
},
"outputFormatLanguage": {
"description": "Text report language. Defaults to zh.",
"type": "string",
"enum": [
"zh",
"en"
]
}
},
"required": [
"source"
]
} | — | | — |