wip: doctor/cli/docs/api to vector db consolidation; api hardening for descriptions, tenant, and scopes; migrations and conversions of all DALs to EF v10
This commit is contained in:
@@ -23,6 +23,7 @@ public static class ScmWebhookEndpoints
|
||||
|
||||
webhooks.MapPost("/github", HandleGitHubWebhookAsync)
|
||||
.WithName("ScmWebhookGitHub")
|
||||
.WithDescription("Inbound webhook endpoint for GitHub events. Validates the X-Hub-Signature-256 HMAC signature, extracts the event type and delivery ID, and dispatches the payload to the SCM webhook service for scan and SBOM trigger evaluation. Returns 202 Accepted on success.")
|
||||
.Produces(StatusCodes.Status202Accepted)
|
||||
.Produces(StatusCodes.Status200OK)
|
||||
.Produces(StatusCodes.Status400BadRequest)
|
||||
@@ -31,6 +32,7 @@ public static class ScmWebhookEndpoints
|
||||
|
||||
webhooks.MapPost("/gitlab", HandleGitLabWebhookAsync)
|
||||
.WithName("ScmWebhookGitLab")
|
||||
.WithDescription("Inbound webhook endpoint for GitLab events. Validates the X-Gitlab-Token header, extracts the event UUID and type, and dispatches the payload for scan and SBOM trigger evaluation. Returns 202 Accepted on success.")
|
||||
.Produces(StatusCodes.Status202Accepted)
|
||||
.Produces(StatusCodes.Status200OK)
|
||||
.Produces(StatusCodes.Status400BadRequest)
|
||||
@@ -39,6 +41,7 @@ public static class ScmWebhookEndpoints
|
||||
|
||||
webhooks.MapPost("/gitea", HandleGiteaWebhookAsync)
|
||||
.WithName("ScmWebhookGitea")
|
||||
.WithDescription("Inbound webhook endpoint for Gitea events. Validates the X-Hub-Signature-256 HMAC signature (falls back to X-Hub-Signature), extracts the event type and delivery ID, and dispatches the payload for scan and SBOM trigger evaluation. Returns 202 Accepted on success.")
|
||||
.Produces(StatusCodes.Status202Accepted)
|
||||
.Produces(StatusCodes.Status200OK)
|
||||
.Produces(StatusCodes.Status400BadRequest)
|
||||
|
||||
Reference in New Issue
Block a user