/insights/{InsightArn}
http://securityhub.{region}.amazonaws.com/insights/{InsightArn}Updates the Security Hub insight identified by the specified insight ARN.
Path Parameters
The ARN of the insight that you want to update.
Body Params
The updated name for the insight.
<p>A collection of attributes that are applied to all active Security Hub-aggregated findings and that result in a subset of findings that are included in this insight.</p> <p>You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.</p>
The updated <code>GroupBy</code> attribute that defines this insight.
Responses
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PATCH \2 --url 'http://securityhub.{region}.amazonaws.com/insights/{InsightArn}' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}