Skip to content

feat!: Notification Service#56

Open
SolarFactories wants to merge 7 commits intoDependencyTrack:mainfrom
SolarFactories:notifications
Open

feat!: Notification Service#56
SolarFactories wants to merge 7 commits intoDependencyTrack:mainfrom
SolarFactories:notifications

Conversation

@SolarFactories
Copy link

Add new endpoints for managing Notifications, adding new Notification service.

  • This is distinct from existing dtrack/notifications, since that is concerned with handling received notifications, whereas this is concerned with configuring the sending of notifications.
  • Add minimum version requirements to all new bindings.
  • Add tests for majority of new bindings.

New Endpoint Bindings

  • Notification.GetAllPublishers - GET /api/v1/notification/publisher
  • Notification.CreatePublisher - PUT /api/v1/notification/publisher
  • Notification.UpdatePublisher - POST /api/v1/notification/publisher
  • Notification.DeletePublisher - DELETE /api/v1/publisher/{uuid}
  • Notification.RestoreDefaultTemplates - POST /api/v1/notification/publisher/restoreDefaultTemplates
  • Notification.TestRule - POST /api/v1/notification/publisher/test/%s
  • Notification.TestSMTP - POST /api/v1/notification/publisher/test/smtp
  • Notification.AddProjectToRule - POST /api/v1/notification/rule/{ruleUUID}/project/{projectUUID}
  • Notification.RemoveProjectFromRule - DELETE /api/v1/notification/rule/{ruleUUID}/project/{projectUUID}
  • Notification.AddTeamToRule - POST /api/v1/notification/rule/{ruleUUID}/team/{teamUUID}
  • Notification.RemoveTeamFromRule - DELETE /api/v1/notification/rule/{ruleUUID}/team/{teamUUID}
  • Notification.GetAllRules - GET /api/v1/notification/rule
  • Notification.CreateRule - PUT /api/v1/notification/rule
  • Notification.UpdateRule - POST /api/v1/notification/rule
  • Notification.DeleteRule - DELETE /api/v1/notification/rule
  • Notification.CreateScheduledRule - PUT /api/v1/notification/rule/scheduled

Misc

Signed-off-by: SolarFactories <SolarFactories@users.noreply.github.com>
Signed-off-by: SolarFactories <SolarFactories@users.noreply.github.com>
Signed-off-by: SolarFactories <SolarFactories@users.noreply.github.com>
Signed-off-by: SolarFactories <SolarFactories@users.noreply.github.com>
@owasp-dt-bot
Copy link

owasp-dt-bot commented Feb 23, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

… dot rather comma within field tag for Projects.

Signed-off-by: SolarFactories <SolarFactories@users.noreply.github.com>
Signed-off-by: SolarFactories <SolarFactories@users.noreply.github.com>
@SolarFactories SolarFactories marked this pull request as ready for review February 23, 2026 22:22
bkondakor pushed a commit to bkondakor/terraform-provider-dependencytrack that referenced this pull request Mar 12, 2026
Add support for configuring DependencyTrack notifications via Terraform:

- dependencytrack_notification_rule: manages notification rules with full
  support for event-driven and scheduled triggers, all notification groups
  (SYSTEM and PORTFOLIO scopes), publisher config, notify_on, message,
  notify_children, log_successful_publish, schedule_cron, and
  schedule_skip_unchanged options.

- dependencytrack_notification_rule_project: scopes a notification rule
  to a specific project (PORTFOLIO scope only).

- dependencytrack_notification_rule_team: associates a team with a
  notification rule (for email publisher).

- dependencytrack_notification_publisher (data source): looks up a
  notification publisher by name to retrieve its UUID.

Uses SolarFactories/client-go fork with notification API support
(PR DependencyTrack/client-go#56).

https://claude.ai/code/session_019ocavNKpCndi448shsGs4Q
…vel to NotificationLevel.

Signed-off-by: SolarFactories <SolarFactories@users.noreply.github.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.

2 participants