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 #1155

Merged
merged 2 commits into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`2.35.0...main`][2.35.0...main].

### Changed

- Updated `schema.json` ([#1155]), by [@ergebnis-bot]

## [`2.35.0`][2.35.0]

For a full diff see [`2.34.0...2.35.0`][2.34.0...2.35.0].
Expand Down Expand Up @@ -1099,6 +1103,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0].
[#1127]: https://github.com/ergebnis/composer-normalize/pull/1127
[#1136]: https://github.com/ergebnis/composer-normalize/pull/1136
[#1141]: https://github.com/ergebnis/composer-normalize/pull/1141
[#1155]: https://github.com/ergebnis/composer-normalize/pull/1155

[@core23]: https://github.com/core23
[@dependabot]: https://github.com/dependabot
Expand Down
26 changes: 20 additions & 6 deletions resource/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,12 +399,26 @@
"type": "object",
"description": "Security audit configuration options",
"properties": {
"ignored": {
"type": "array",
"description": "A set of advisory ids, remote ids or CVE ids that should be ignored and not reported as part of an audit.",
"items": {
"type": "string"
}
"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"
}
}
]
}
}
},
Expand Down
Loading