-
Notifications
You must be signed in to change notification settings - Fork 8
196 csaf 2.1 optional test 6.2.28 #258
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
base: 196-csaf-2.1
Are you sure you want to change the base?
Conversation
Coverage after merging 196-csaf-2.1_optional_test_6.2.28 into main
Coverage Report |
|
||
const ajv = new Ajv() | ||
|
||
const MAX_UUID = 'ffffffff-ffff-ffff-ffff-ffffffffffff' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you can move the file csaf_2_1/mandatoryTests/sharingGroup.js
one level up and reference MAX_UUID
identifier from there.
const sharingGroup = doc.document.distribution.sharing_group | ||
if (sharingGroup.id === MAX_UUID) { | ||
ctx.warnings.push({ | ||
message: 'The MAX UUID should not be used for the sharing group id.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other tests like "6.1.39" use the wording "Max UUID" to refer to the maximum uuid. I think we should be consistent here.
Coverage after merging 196-csaf-2.1_optional_test_6.2.28 into 196-csaf-2.1
Coverage Report |
Coverage after merging 196-csaf-2.1_optional_test_6.2.28 into 196-csaf-2.1
Coverage Report |
8507656
to
3d13c1b
Compare
Coverage after merging 196-csaf-2.1_optional_test_6.2.28 into 196-csaf-2.1
Coverage Report |
3d13c1b
to
7ac90f2
Compare
Coverage after merging 196-csaf-2.1_optional_test_6.2.28 into 196-csaf-2.1
Coverage Report |
No description provided.