Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Update schema.json #1038

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions test/Fixture/Vendor/Composer/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,41 @@
]
}
},
"audit": {
"type": "object",
"description": "Security audit configuration options",
"properties": {
"ignore": {
"anyOf": [
{
"type": "object",
"description": "A list of advisory ids, remote ids or CVE ids (keys) and the explanations (values) for why they're being ignored. The listed items are reported but let the audit command pass.",
"additionalProperties": {
"type": [
"string",
"string"
]
}
},
{
"type": "array",
"description": "A set of advisory ids, remote ids or CVE ids that are reported but let the audit command pass.",
"items": {
"type": "string"
}
}
]
},
"abandoned": {
"enum": [
"ignore",
"report",
"fail"
],
"description": "Whether abandoned packages should be ignored, reported as problems or cause an audit failure."
}
}
},
"notify-on-install": {
"type": "boolean",
"description": "Composer allows repositories to define a notification URL, so that they get notified whenever a package from that repository is installed. This option allows you to disable that behaviour, defaults to true."
Expand Down Expand Up @@ -831,6 +866,15 @@
"additionalProperties": {
"type": "string"
}
},
"scripts-aliases": {
"type": [
"object"
],
"description": "Aliases for custom commands.",
"additionalProperties": {
"type": "array"
}
}
},
"definitions": {
Expand Down