Skip to content

LAB-2581: Post CSPM Assessment Specs#187

Merged
pr0uxx merged 3 commits into
mainfrom
LAB-2581_PostCSPMAssessmentSpec
Jul 14, 2026
Merged

LAB-2581: Post CSPM Assessment Specs#187
pr0uxx merged 3 commits into
mainfrom
LAB-2581_PostCSPMAssessmentSpec

Conversation

@Loop-infinity

Copy link
Copy Markdown
Contributor

This pull request adds support for storing and retrieving CSPM (Cloud Security Posture Management) Policy Assessment reports in the API specification. The changes introduce new schema definitions to represent CSPM policy assessment data and a new API endpoint for submitting and receiving these reports, including detailed examples and response structures.

API Additions:

  • Added a new POST endpoint /Api/V1/ArchitectureReport/CspmPolicyAssessment to store CSPM Policy Assessment reports, including request/response examples and required permissions.

Schema Additions:

  • Introduced the CspmPolicyAssessmentV1 schema representing the full CSPM policy assessment object, with correlation, data, and schema version fields.
  • Added supporting schemas:
    • CspmPolicyAssessmentV1.CspmPolicyAssessmentData for the assessment data, including a mapping of policy records and report dates.
    • CspmPolicyAssessmentV1.PolicyRecord for individual policy records with categories, coverage metrics, and status.
    • CspmPolicyAssessmentV1.CoverageMetrics for detailed user coverage statistics.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds OpenAPI specification support for submitting and retrieving CSPM (Cloud Security Posture Management) policy assessment reports via the Data Gateway API.

Changes:

  • Introduces new schemas for CSPM policy assessment data (CspmPolicyAssessmentV1 and related supporting schemas).
  • Adds a new POST endpoint /Api/V1/ArchitectureReport/CspmPolicyAssessment with request/response examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread specs/Data-Gateway.json Outdated
Comment thread specs/Data-Gateway.json
Comment thread specs/Data-Gateway.json
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ruman Mulla <91155446+Loop-infinity@users.noreply.github.com>
@pr0uxx
pr0uxx merged commit 9f31b34 into main Jul 14, 2026
8 checks passed
@pr0uxx
pr0uxx deleted the LAB-2581_PostCSPMAssessmentSpec branch July 14, 2026 12:39
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.

4 participants