Skip to content

Create a datafix multitool deployed on Cloud Run Jobs #4848

@michaelkedar

Description

@michaelkedar

We currently have a bunch of random tools (and also been writing ad-hoc scripts) for fixing potential sync issues with the database.
Many of these tools require iterating through the entire database, which isn't great to run locally.
I want to make a single 'multitool' that lets us run some potentially useful jobs in a central location.

Possible commands:

  • Reprocess vulns (by ID, or by data source) (i.e. request_worker_update_record)
  • Reconcile Vulnerability, GCS, Alias/Related/Upstream Group for all vulns (or a particular vuln) (this might be specific to Datastore?)
  • Recompute coarse version strings for a given ecosystem

There's a little bit of code clean up I want to do before implementing this

Metadata

Metadata

Assignees

Labels

backlogImportant but currently unprioritizedneeds-gcp-infra-accessTo be able to adequately work on this issue will require access to GCP infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions