Skip to content

Convert frontend/backend to use the MDL #858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 49 commits into
base: develop
Choose a base branch
from

Conversation

aloftus23
Copy link
Contributor

@aloftus23 aloftus23 commented Apr 14, 2025

🗣 Description

Convert the Cyhy Dashboard to use the MDL.

The frontend had to change all interactions with the backend API to snake case instead of camel.

Backend adds a lot of new tables but uses normal and materialized views to emulate the old XFD database structure.

💭 Motivation and context

MDL combines all of the cyhy sources.

🧪 Testing

Passes pre-commits and github checks.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All future TODOs are captured in issues, which are referenced
    in code comments.
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All relevant repo and/or project documentation has been updated
    to reflect the changes in this PR.
  • Tests have been added and/or modified to cover the changes in this PR.
  • All new and existing tests pass.

✅ Pre-merge checklist

  • Revert dependencies to default branches.
  • Finalize version.

✅ Post-merge checklist

  • Create a release.

nickviola and others added 25 commits March 18, 2025 14:49
XFD to MDL API Endpoint Conversion

This was reviewed in a group session
… and update auth.py logic to save/update date on login
…used import in filter_helpers breaking precommit
…r-data-in-mdl

Update User Model/Logic to include additional Cognito data in MDL
add code to create normal and materialized view
Update materialized view and add model
Update views and model
Update sync helper and models to handle view deletion
DJensen94 and others added 22 commits April 14, 2025 14:30
Update domain model schema return to correctly pull Vuln data
minor view change
Change hashedKey to hashed_key
Create Vuln/Scan_source/id endpoint
…d v4 checks, and fix user approval org assignemnt.
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.

5 participants