Skip to content

feat: audit log notif - #3156

Merged
arunjaindev merged 5 commits into
mainfrom
feat/audit-log-notif
Nov 23, 2026
Merged

arunjaindev merged 5 commits into
mainfrom
feat/audit-log-notif

Conversation

@arunjaindev

@arunjaindev arunjaindev commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

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

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

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

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

Copilot AI balanced review requested due to automatic review settings November 23, 2026 11:28
@github-actions

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

Copy link
Copy Markdown

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

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Audit form routes bypass the runtime feature flag, and a CI/CD recipient-request failure can incorrectly block authorized administrators from adding audit notifications.

2 open issues
What changed in this PR

Adds enterprise audit-log notification entry points to the dashboard’s notification settings, alongside existing CI/CD notifications and shared delivery configurations.

Changes:

  • Adds an audit notification tab, add/edit routes, and tab-aware creation navigation.
  • Clarifies CI/CD labels, breadcrumbs, and webhook payload guidance.
  • Updates the shared-library dependency and nginx runtime image.
File Description
yarn.lock Locks the updated common-library version and checksum.
src/​Pages-Devtron-2.0/​ApplicationManagement/​Configurations/​ConfigurationsRouter.tsx Registers enterprise audit notification add/edit forms.
src/​components/​notifications/​WebhookConfigModal.tsx Adds guidance on separating audit and CI/CD webhook payloads.
src/​components/​notifications/​Notifications.tsx Adds the feature-gated audit tab and listing route.
src/​components/​notifications/​constants.ts Defines notification tab constants and CI/CD breadcrumbs.
src/​components/​notifications/​AddNotificationButton.tsx Selects the creation route based on the active tab.
src/​components/​notifications/​AddNotification.tsx Uses shared CI/CD breadcrumb definitions.
package.json Changes common-lib to 4.0.15-beta-1.
Dockerfile Updates nginx-brotli to v1.30.7.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 23, 2026 11:32
@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 Nov 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Audit notification form routes bypass the feature flag, and shared CI/CD error state can incorrectly block audit notification creation.

2 open issues

Review effort: Balanced

@arunjaindev
arunjaindev merged commit b3a6055 into main Nov 23, 2026
12 of 13 checks passed
@arunjaindev
arunjaindev deleted the feat/audit-log-notif branch November 23, 2026 11:41
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.

3 participants