Skip to content

feat: expose investigation target purpose and optional datasource_id - #96

Merged
UlricQin merged 1 commit into
mainfrom
feat/investigation-target-purpose
Oct 10, 2026
Merged

UlricQin merged 1 commit into
mainfrom
feat/investigation-target-purpose

Conversation

@UlricQin

Copy link
Copy Markdown
Member

Summary

  • Vendor the OpenAPI contract that adds InvestigationTarget.Purpose (optional, max 512 bytes).
  • Mark QueryInvestigationTarget.DatasourceID optional (omitempty); omit or 0 runs the query on the alert event's own datasource.
  • make generate for models_gen.go.

Verification

  • go test ./internal/cmd/gen/ passes.

Regenerate models from the OpenAPI contract that adds InvestigationTarget
.Purpose and marks QueryInvestigationTarget.DatasourceID optional (omit or
0 selects the alert event's own datasource).
@UlricQin
UlricQin merged commit a2783aa into main Oct 10, 2026
4 checks passed
@UlricQin
UlricQin deleted the feat/investigation-target-purpose branch October 10, 2026 14:21
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.

1 participant