v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Guardrails

Execute Policy Recommendation

This is the api to execute recommendations for a policy violation, The recommended steps to resolve the violations can be executed with the help of data like action_name, resource_recommendation_id, will be available in Recommendation View API. The Recommendations can be executed with dynamic parameter which may or may not be passed in the input

post/governance/guardrails/{tenant_id}/recommendations/{recommendation_id}

Path parameters

tenant_idstring required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

recommendation_idstring required

This is a unique identifier for recommendation, can be obtained from the PolicyRecommendations api response

Request body

action_namestring required

action to perform to resolve violations, the name can be obtained from the view recommendation api. Example: action_name : skip or unskip

resourcesstring[] required

resource resource_recommendation_id list for which the recommendation will be executed, this value can be obtained from the view recommendation api

argsobject

arguments to execute recommendation if any. The values are dynamic in nature can change from recommendation to recommendation

Response

Success

boolean required