Skip to content

Conversation

@pasha-zayko
Copy link
Contributor

Adding schema to describe documentation response object when data is available.

Adding path to handle retrieval of the configuration item documentation.

Adding schema to describe documentation response object when data is available.

Adding path to handle retrieval of the configuration item documentation.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new schema and API endpoint to support retrieving configuration item metadata/documentation. The schema defines comprehensive metadata fields including title, description, priority, risks, deployment guidance, compliance information, and educational links. The endpoint allows clients to retrieve this documentation for a specific configuration item by template ID.

Key Changes:

  • Added Deploy.ConfigurationItemMetaData schema with 12 properties describing configuration item documentation
  • Added GET endpoint /Api/Deploy/Component/ConfigurationItemMetaData/{templateId} to retrieve metadata
  • Implemented flexible response handling that returns either full metadata object or a message when documentation is unavailable

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

Typo
@pasha-zayko pasha-zayko merged commit 6cf8173 into LAB-938-CSPM-main Nov 26, 2025
2 checks passed
@pasha-zayko pasha-zayko deleted the pasha-LAB-880-configItemMeta branch December 3, 2025 20:03
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.

2 participants