v1
latestOpenAPI 3.0.12026-07-26152262362.2 KBInsights
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}
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"
}
}