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

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

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

string
required

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

Body Params
string
required

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

resources
array of strings
required

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

resources*
args
object

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

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json