mozilla/foundation-security-advisories

check_advisory should ensures that there are no extra, unexpected fields in a file

Closed this issue · 1 comments

Current checks at https://github.com/mozilla/foundation-security-advisories/blob/master/check_advisories.py#L162 ensure that all the required fields are present in the files.

Inversely, we should ensure that there are no extra fields either, e.g., due to a nesting error we had a CVE section hidden below a CVE section

Julien beat me to it.