Skip to content

Conversation

@rsc
Copy link
Contributor

@rsc rsc commented Oct 6, 2021

Per CNA rules, descriptions must contain at least one English-language description,
which we take to mean a BCP 47 language tag beginning with "en".

Fixes #112.

Per CNA rules, descriptions must contain at least one English-language description,
which we take to mean a BCP 47 language tag beginning with "en".

Fixes CVEProject#112.
@chandanbn
Copy link
Collaborator

Looks good to me, Thank you Russ for fixing this.

I see ajv throws this error when no English entries are present:

{
    instancePath: '/containers/cna/descriptions',
    schemaPath: '#/contains',
    keyword: 'contains',
    params: { minContains: 1 },
    message: 'must contain at least 1 valid item(s)'
  },

@chandanbn chandanbn merged commit df8b00d into CVEProject:master Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codify "at least one English entry" requirements for CNA descriptions

2 participants