Add GraphQL examples and enhance JSON schema documentation for compliance frameworks

What does this MR do?

This MR addresses feedback from the Product Security team's dogfooding of custom compliance frameworks by adding two key documentation improvements:

  1. New GraphQL examples page: Creates doc/api/graphql/compliance_frameworks.md with comprehensive GraphQL examples for configuring compliance frameworks, similar to the existing audit event streaming documentation.

  2. Enhanced JSON schema documentation: Updates the main compliance frameworks page with more detailed information about JSON schema structure and the Compliance Adherence Templates project.

Related issues

Changes made

New GraphQL documentation page

  • Added comprehensive GraphQL examples for compliance framework operations
  • Includes mutations for creating, updating, and deleting frameworks
  • Shows how to manage requirements and controls via GraphQL
  • Provides examples for applying frameworks to projects
  • Follows the same structure as existing GraphQL documentation

Enhanced main documentation

  • Added detailed JSON schema information section
  • Expanded description of the Compliance Adherence Templates project
  • Improved cross-references between related documentation
  • Added clearer guidance on JSON template usage

Documentation checklist

  • Added new GraphQL examples page with comprehensive examples
  • Enhanced existing compliance frameworks documentation
  • Followed existing documentation patterns and style
  • Added appropriate cross-references
  • Included proper metadata and history sections

Merge request reports

Loading