Parent: #1079 · Splits #1043 §2 · Project: https://github.com/orgs/OWASP/projects/60
What
GET /rest/v1/ga_standards feeds Map Analysis / gap-analysis dropdowns. It is not passed through apply_user_resource_filter. Completing the profile view means:
- Filter
ga_standards the same way as /standards when the user has a non-empty selection (keep OpenCRE; empty selection = full eligible list).
- Frontend must pass
?all=true wherever GA should still span all eligible standards (same pattern as ResourceSelector).
Left out of #586 on purpose so we would not silently shrink the dropdowns.
Do
Success
A user who saved ASVS+CWE sees those (if GA-eligible) in the dropdowns by default, and can still run a comparison against the full eligible set without clearing their profile.
Related
Parent: #1079 · Splits #1043 §2 · Project: https://github.com/orgs/OWASP/projects/60
What
GET /rest/v1/ga_standardsfeeds Map Analysis / gap-analysis dropdowns. It is not passed throughapply_user_resource_filter. Completing the profile view means:ga_standardsthe same way as/standardswhen the user has a non-empty selection (keep OpenCRE; empty selection = full eligible list).?all=truewherever GA should still span all eligible standards (same pattern asResourceSelector).Left out of #586 on purpose so we would not silently shrink the dropdowns.
Do
apply_user_resource_filter(or equivalent) on/rest/v1/ga_standardsresource_name_ga_eligible_in_db)?all=true?all=truebypass, anonymous full, flags off = fullSuccess
A user who saved ASVS+CWE sees those (if GA-eligible) in the dropdowns by default, and can still run a comparison against the full eligible set without clearing their profile.
Related
application/web/web_main.pyga_standardsapplication/frontend/src/pages/GapAnalysis/GapAnalysis.tsx