Skip to content

feat: Dockerfile hadolint scan#3084

Merged
shivani170 merged 43 commits into
developfrom
feat/dockerfile-hadolint-scan
Apr 9, 2026
Merged

feat: Dockerfile hadolint scan#3084
shivani170 merged 43 commits into
developfrom
feat/dockerfile-hadolint-scan

Conversation

@shivani170

@shivani170 shivani170 commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Description

  • Overview
    Currently, Devtron focuses primarily on post-build image scanning (Trivy/Clair). This feature shifts security "left" by introducing Dockerfile Linting and Security Scanning during the CI build phase.
    By integrating Hadolint, we enable developers to catch insecure patterns (e.g., running as root, missing version tags, leaked secrets in instructions) before the image is even built.

Fixes https://github.com/devtron-labs/sprint-tasks/issues/2829

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@shivani170 shivani170 changed the title Feat/dockerfile hadolint scan featdockerfile hadolint scan Mar 31, 2026
@shivani170 shivani170 changed the title featdockerfile hadolint scan feat: Dockerfile hadolint scan Mar 31, 2026
@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions github-actions Bot added the PR:Issue-verification-failed PR:Issue-verification-failed label Apr 1, 2026
@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@shivani170 shivani170 changed the base branch from main to develop April 1, 2026 09:47
@shivani170 shivani170 self-assigned this Apr 1, 2026
@github-actions github-actions Bot added PR:Ready-to-Review PR:Ready-to-Review and removed PR:Issue-verification-failed PR:Issue-verification-failed labels Apr 1, 2026
Comment thread src/components/CIPipelineN/Build.tsx Outdated
Comment thread src/components/CIPipelineN/Build.tsx Outdated
Comment thread src/components/CIPipelineN/CIPipeline.tsx
Comment thread src/components/ciPipeline/ciPipeline.service.ts Outdated
vivek-devtron
vivek-devtron previously approved these changes Apr 8, 2026
@sonarqubecloud

sonarqubecloud Bot commented Apr 8, 2026

Copy link
Copy Markdown

@shivani170 shivani170 merged commit 250e50d into develop Apr 9, 2026
10 checks passed
@shivani170 shivani170 deleted the feat/dockerfile-hadolint-scan branch April 9, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:Ready-to-Review PR:Ready-to-Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants