Skip to content

Add artifacts dropdown to security MR widget

What does this MR do?

Add artifacts dropdown to security MR widget

This implements the report artifacts download dropdown on the Core security MR widget, for #249544 (closed).

This is implemented behind the core_security_mr_widget_downloads feature flag, whose rollout is tracked by #273418 (closed).

Screenshots (strongly suggested)

Feature flag statuses coreSecurityMrWidgetCounts coreSecurityMrWidgetCounts
coreSecurityMrWidgetDownloads neither

i.e., no visual change from current master.

counts

i.e., no visual change from what was implemented in !47656 (merged). To recreate this screenshot, follow the testing instructions in that MR.

coreSecurityMrWidgetDownloads downloads counts-downloads

Testing locally

  • To recreate the screenshots with vulnerability counts, follow the instructions in !47656 (merged).
  • To recreate the screenshots with the download dropdown, enable the feature flag with:
    echo "::Feature.enable(:core_security_mr_widget_downloads)" | bundle exec rails console

TODO

Verify downloads dropdown works in these plans:

  • Core (FOSS)
  • EE
    • Free
    • Bronze
    • Silver

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #273423 (closed)

Edited by Mark Florian

Merge request reports