Get insight by ID
Returns a single insight for a workspace. Used by the remediating agent for context and by the UI for detail views.
Org is the organisation identifier.
3gcProject is the project identifier.
wwWorkspace identifier.
cInsight identifier (recommendation_id).
tlmAccount is the internal customer account ID.
rOK response.
Raw suggested-action string for the insight; empty when not applicable.
MigrateToGravitonUser or system that applied the insight (latest remediating run triggered_by). Empty when not applied via a remediating run.
Qui explicabo fuga incidunt.Unix timestamp in milliseconds when the insight was applied (latest remediating run created time). Empty when not applied via a remediating run.
6195350149232274000Deep link to view the insight in the source system.
Ipsa nostrum aut.Stable per-insight identifier.
Quod dolor sed soluta maiores laborum.Potential monthly saving if the insight is acted on.
0.21778415643653273Current monthly spend on the resource.
0.6240226915868838Pipeline execution id for the latest remediation run.
Asperiores impedit et.Identifier of the pipeline that created the latest remediation run. Empty for runs that predate this column.
In a nihil cum unde necessitatibus aliquid.Latest remediation result payload (e.g. pr_link, skip reasons, error).
Possimus ut rem.Latest remediation result type; empty while in-flight.
explanationPossible values: Latest remediation run id for this insight, if any.
Velit qui qui possimus.Latest remediation run status.
failedPossible values: Raw resource-type string.
EC2_INSTANCEInsight state: OPEN or APPLIED.
OPENInsight type.
driftPossible values: BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
GET /api/orgs/{org}/projects/{project}/workspaces/{workspace}/insights/{id} HTTP/1.1
Host: localhost:80
Harness-Account: r
Accept: */*
{
"action": "MigrateToGraviton",
"applied_by": "Quod qui.",
"applied_on": 282148322734402240,
"details_link": "Esse distinctio.",
"id": "Quod nam consequatur sed repellendus.",
"monthly_saving": 0.2655074775726956,
"monthly_spend": 0.08960718735657745,
"pipeline_execution_id": "Nihil quasi cupiditate ducimus at et non.",
"pipeline_identifier": "Sit officia.",
"remediation_result_payload": "Officiis maiores dolore sed pariatur sapiente.",
"remediation_result_type": "pr_created",
"remediation_run_id": "Cumque sapiente.",
"remediation_status": "succeeded",
"resource": {
"account_id": "000000000000",
"instance_id": "i-0123456789abcdef0",
"instance_type": "c4.4xlarge"
},
"resource_type": "EC2_INSTANCE",
"state": "OPEN",
"type": "drift"
}Last updated
Was this helpful?