department-of-veterans-affairs / abd-vro

To get Veterans benefits in minutes, VRO software uses health evidence data to help fast track disability claims.
Other
19 stars 6 forks source link

SecRel scheduled scan does not scan images #3224

Closed brostk closed 1 month ago

brostk commented 2 months ago

The SecRel action is currently designed to only publish images once per commit hash. Because of this, and because SecRel scans are automatically triggered with each PR merge, any scheduled scans will only ever run against code which has already been scanned and signed. Because of the how the action is coded, when no images are published there are then no images passed along in the workflow to scan.

The action should be modified to perform a full SecRel scan while still only publishing images once per commit hash.

Acceptance Criteria

  1. Scheduled runs continue to not publish duplicate images
  2. Scheduled runs perform full scans, including Aqua and Snyk checks
  3. Manual workflows continue to work for single services as well as 'all' services