Introduce new endpoints to support CSPM work#86
Conversation
Creating definition for new remediation endpoint with POST request
Define new endpoint that attempts to create new group and return its name, or just returns name if the resource has already been provisioned
updated spec to include the newly added /Api/Deploy/BreakGlassStatus endpoint
removed unneeded object schema
…example to match the definition Deploy.ConfigurationItem response now also includes deployStatus field Change example to accurately present available fields
updated endpoint name to match incoming schema update from @pasha-zayko
Fixed copilot pr suggested problems
…oup-and-users' into LAB-938-CSPM-main
Included optional query parameter with possible values to retrieve progress of the specific operation
Typos and text clarification
* Adding description to request remediation results Adding new schema and verb option to /Api/Deploy/Remediate path
Adding schema to describe documentation response object when data is available. Adding path to handle retrieval of the configuration item documentation.
Renamed LicenseReportV1 schemas to Report.* for consistency and updated all references. Added detailed descriptions, examples, and validation patterns to license, principal, and service plan fields. Improved API response codes and documentation for error handling and deletion endpoints.
Updated the Data-Gateway JSON schema to clarify and expand user and device principal records, including required fields and more detailed property definitions. Enhanced the structure and examples for inferred attributes and enhanced identity data, added explicit nullability, and improved descriptions for service plan and license references. These changes improve schema accuracy and documentation for integrators.
…ationId/Data * LAB-989: [SHIELD] Add Open API Spec for Discover/ArchitectureReport/Correlation/:correlationId/Data
Refactored user and device principal data schemas to use new CommonService, AssignedLicense, and PrincipalMetadata references under Report.PrincipalData. Simplified nullable property definitions and examples. Added 500 error responses to multiple API endpoints for improved error handling.
* Adding new endpoint to provide list of correlation records Listing available correlation entries for the Architecture Report
…/LAB-980_Describe-V1-LicenseReport-API-Endpoints LAB-980
Introduces the ArchitectureReportV1 schema, supporting objects, and new API endpoints for submitting, retrieving, and deleting architecture reports and correlation records. Also adds the 'Architecture Reporting' tag to the API documentation.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 6 changed files in this pull request and generated 2 comments.
Files not reviewed (2)
- src/dataGateway/TypeScript/package-lock.json: Language not supported
- src/shield/TypeScript/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Providing description for the endpoint already available in the main code
Set all summary values to title case Correct any descriptions for readability
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 6 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- src/dataGateway/TypeScript/package-lock.json: Language not supported
- src/shield/TypeScript/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Regenerate lock. Update overrides. Fix dev utils version specifier.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
When data is not present 404 would be returned
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Make the version match the published version of Data Gateway.
To match the product name.
Updating schema for LicenseReport to match new format for v1
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 8 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 8 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
To match the upcoming feature set for CSPM.
Significant enhancements and feature additions to the SHI Data Gateway and SHIELD OpenAPI specifications, along with corresponding SDK version bumps and dependency updates. Below is a consolidated, non-redundant summary of the notable changes based on the cumulative commit differences:
SHI Data Gateway & General OpenAPI Enhancements
License Report API Improvements:
Architecture Report API Additions:
Tenant & Update API Improvements:
SHIELD Specification & CSPM Features
CSPM & Security Posture Updates:
Configuration Item Metadata:
Remediation Automation Support:
SDK & Dependency Management
SDK Package Version Updates:
Additional Quality & Maintenance