Skip to content

feat: add findings CRUD endpoints (Phase 3 finding schema) - #16

Merged
danishkumar26 merged 1 commit into
mainfrom
feature/findings-crud
Nov 24, 2026
Merged

danishkumar26 merged 1 commit into
mainfrom
feature/findings-crud

Conversation

@danishkumar26

Copy link
Copy Markdown
Owner

Expose the existing findings table/model via a tenant-scoped REST API:

  • POST /api/v1/findings/ (create)
  • GET /api/v1/findings/ (list, org-scoped)
  • GET /api/v1/findings/{id} (get)

Adds FindingCreate/FindingOut schemas and 6 tests. Findings are tied to an
authorized assessment; only org members may create or read them.

Validation: ruff check clean, ruff format clean, mypy backend/app clean,
44/44 pytest pass locally (SQLite).

Closes nothing yet — Phase 3 finding schema follow-up.

Expose the existing findings table/model via a tenant-scoped REST API:
POST /api/v1/findings/ (create), GET /api/v1/findings/ (list, org-scoped),
GET /api/v1/findings/{id} (get). Findings are tied to an authorized
assessment; only org members may create or read them. Adds FindingCreate/
FindingOut schemas and 6 tests. ruff, ruff format, mypy clean; 44/44
pytest pass (SQLite).
@danishkumar26
danishkumar26 merged commit 87442a3 into main Nov 24, 2026
8 checks passed
@danishkumar26
danishkumar26 deleted the feature/findings-crud branch November 24, 2026 21:13
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