Add updated_at to ComplianceFrameworkType

What does this MR do and why?

Add updated_at to ComplianceFrameworkType

Users can now query the timestamp of when the compliance framework was last updated

EE: true Changelog: added

References

In order to implement the second solution suggestion in #535118 (closed) we need to add updated_at information to the compliance framework table.

MR Description
!190655 (merged) 👈 you're here
!190668 (merged) Add last updated information to Compliance Frameworks table
!192475 (merged) Add ability to sort compliance frameworks on GraphQL
!192560 (merged) Add ability to sort compliance frameworks on frontend

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Open GraphQL explorer: https://gdk.test:3443/-/graphql-explorer
  2. Query updtedAt field:
     query complianceFrameworksGroupList {
       namespace: group(fullPath: "ultimate-group1") {
         id
         name
         complianceFrameworks {
           nodes {
             id
             name
             updatedAt
           }
         }
       }
     }

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sheldon Led

Merge request reports

Loading