Skip to content

feat(SIEM): Add SIEM alert 1058#1078

Merged
MR2011 merged 9 commits intomainfrom
tsim-sap/issue-1058/create-SIEM-alert
Feb 27, 2026
Merged

feat(SIEM): Add SIEM alert 1058#1078
MR2011 merged 9 commits intomainfrom
tsim-sap/issue-1058/create-SIEM-alert

Conversation

@tsim-sap
Copy link
Copy Markdown
Collaborator

@tsim-sap tsim-sap commented Feb 6, 2026

Description

SIEM Alerts handling, mutation implementation and e2e test.

What type of PR is this? (check all applicable)

  • 🍕 Feature

Related Tickets & Documents

Added tests?

  • [x ] 👍 yes

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@tsim-sap tsim-sap marked this pull request as ready for review February 11, 2026 15:51
@tsim-sap
Copy link
Copy Markdown
Collaborator Author

Will probably need a sync with @MR2011 on this.

@tsim-sap tsim-sap changed the title [Draft] feat(SIEM): Add SIEM alert 1058 feat(SIEM): Add SIEM alert 1058 Feb 11, 2026
Comment thread internal/e2e/siem_alert_test.go
Comment thread internal/e2e/siem_alert_test.go Outdated
Comment thread internal/e2e/siem_alert_test.go Outdated
Comment thread internal/api/graphql/graph/resolver/mutation.go
if input.Name != nil && *input.Name != "" {
ivs, err := r.App.ListIssueVariants(&entity.IssueVariantFilter{SecondaryName: []*string{input.Name}}, &entity.ListOptions{})
if err == nil {
for _, v := range ivs.Elements {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe we should consider adding url to filters? @MR2011

Comment thread internal/api/graphql/graph/resolver/mutation.go Outdated
Comment thread internal/api/graphql/graph/resolver/mutation.go Outdated
Comment thread internal/api/graphql/graph/resolver/mutation.go Outdated
Comment thread internal/api/graphql/graph/resolver/mutation.go
@tsim-sap tsim-sap force-pushed the tsim-sap/issue-1058/create-SIEM-alert branch from aacff78 to d8e1550 Compare February 16, 2026 12:25

package model

// SIEM models (kept separate to avoid touching generated models.go)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I suggest we remove this and use the generated models by gqlgen. You can generate them with make gqlgen

Comment thread internal/api/graphql/graph/resolver/mutation_helpers.go
Comment thread internal/e2e/siem_alert_test.go
Comment thread internal/api/graphql/graph/resolver/mutation.go
@tsim-sap tsim-sap force-pushed the tsim-sap/issue-1058/create-SIEM-alert branch from 47ef037 to cc69a7b Compare February 26, 2026 15:25
@tsim-sap tsim-sap force-pushed the tsim-sap/issue-1058/create-SIEM-alert branch from cc69a7b to 8d6e635 Compare February 27, 2026 11:06
@MR2011 MR2011 merged commit 9d7fdcb into main Feb 27, 2026
9 checks passed
@MR2011 MR2011 deleted the tsim-sap/issue-1058/create-SIEM-alert branch February 27, 2026 13:57
kanstantsinbuklis-sap pushed a commit that referenced this pull request Mar 24, 2026
* feat(SIEM): SIEM Alert models & gql

* Automatic application of license header

* feat(SIEM): mutation for SIEM

* Some additions to SIEM handling

* Review changes

* Automatic application of license header

* Test fix for siem alert test

* Review fixes

---------

Co-authored-by: License Bot <license_bot@github.com>
Co-authored-by: Michael Reimsbach <michael.reimsbach@sap.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.

feat(api): create SIEM alert

3 participants