Insights
Create or update an insight
Creates or updates a single insight for the given source and key. If an insight with the same key already exists for the source, it will be updated. Resource results are managed separately via the resource-results endpoint.
post/insights/v1/results/source/{sourceID}/insight/{insightKey}
Request
- Base URLhttps://api.doit.com
- URLhttps://api.doit.com/insights/v1/results/source/{sourceID}/insight/{insightKey}
- Auth
- API key in header Authorization
- or API key in header X-Tenant-Id and API key in header Authorization
Path parameters
sourceID'public-api' required
Only insights created via the public API can be managed. Currently only "public-api" is supported.
insightKeystring required
The unique key identifying the insight.
Request body
Example request
{
"cloudProvider": "aws"
}Response
Successful operation
Example response
{
"source": "aws-trusted-advisor, aws-cost-optimization-hub, aws-security-hub, azure-advisor, custom, gcp-recommender",
"cloudProvider": "aws",
"lastStatusChange": {
"userId": "/users/0Rkrkeq5P0XLe8QFHKq2"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.