Skip to content

feat: add docker hub onVulnerabilityScan and deleteTag components#4940

Open
WashingtonKK wants to merge 6 commits into
superplanehq:mainfrom
WashingtonKK:feat/docker-hub-expand
Open

feat: add docker hub onVulnerabilityScan and deleteTag components#4940
WashingtonKK wants to merge 6 commits into
superplanehq:mainfrom
WashingtonKK:feat/docker-hub-expand

Conversation

@WashingtonKK
Copy link
Copy Markdown
Collaborator

Closes: #4935

This expands the docker hub integration by adding the following components:

  • dockerhub.onVulnerabilityScan
  • docekrhub.deleteTag

Demo Video

Adds a new trigger that fires when Docker Scout completes a vulnerability
scan for a DockerHub repository. Supports optional minimum-severity
filtering so pipelines only activate when scans surface CVEs at or above
a configured threshold (low / medium / high / critical).

Includes backend trigger, webhook handler, severity logic, tests,
embedded example data, and frontend renderer with webhook setup UI.

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Adds a Delete Tag action that permanently removes a tag from a DockerHub
repository via the Hub API. Includes backend action, client method, tests,
embedded example output, frontend mapper with execution details, and
vitest spec.

Also fixes a complexity regression in the On Vulnerability Scan trigger
renderer by extracting criticalities formatting to a helper function, and
removes an unused formatSeveritySummary function. Regenerates DockerHub
component docs.

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
@superplanehq-integration
Copy link
Copy Markdown

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes ~30s)
  • /sp stop - Stop a running machine (auto-executed on pr close)

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Updated the formatting of the Docker Scout webhook setup instructions for better readability by adding line breaks to list items and paragraph text.

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docker Hub] Add docker hub deleteTag and onVulnerabilityScan components

1 participant