Skip to content

Add notification rule, project/team scoping, and publisher data source #6

Add notification rule, project/team scoping, and publisher data source

Add notification rule, project/team scoping, and publisher data source #6

Triggered via pull request March 17, 2026 18:18
Status Failure
Total duration 1m 4s
Artifacts

test.yml

on: pull_request
Matrix: Terraform Provider TLS Tests
Matrix: Terraform Provider Acceptance Tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors
generate
Process completed with exit code 1.
Build
issues found
Build: internal/provider/notification_rule_resource.go#L444
error returned from external package is unwrapped: sig: func github.com/DependencyTrack/client-go.FetchAll[T any](pageFetchFunc func(po github.com/DependencyTrack/client-go.PageOptions) (github.com/DependencyTrack/client-go.Page[T], error)) (items []T, err error) (wrapcheck)
Build: internal/provider/notification_publisher_resource.go#L294
error returned from external package is unwrapped: sig: func (github.com/DependencyTrack/client-go.NotificationService).GetAllPublishers(ctx context.Context) (ps []github.com/DependencyTrack/client-go.NotificationPublisher, err error) (wrapcheck)
Build: internal/provider/notification_rule_resource.go#L384
import-shadowing: The name 'diag' shadows an import name (revive)
Build: internal/provider/notification_rule_resource.go#L303
import-shadowing: The name 'diag' shadows an import name (revive)
Build: internal/provider/notification_rule_resource.go#L263
import-shadowing: The name 'diag' shadows an import name (revive)
Build: internal/provider/notification_rule_resource.go#L159
import-shadowing: The name 'diag' shadows an import name (revive)
Build: internal/provider/notification_rule_resource.go#L33
fieldalignment: struct of size 280 could be 272 (govet)
Build: internal/provider/notification_rule_resource.go#L295
cognitive complexity 15 of func `(*notificationRuleResource).Update` is high (> 10) (gocognit)
Build: internal/provider/notification_rule_resource.go#L151
cognitive complexity 17 of func `(*notificationRuleResource).Create` is high (> 10) (gocognit)