fetch_available_control_actions
Retrieve the list of available actions for a control to identify supported operations like create or update before execution.
Instructions
This tool should be used for handling control-related actions such as create, update, or to retrieve available actions for a given control.
If no control details are given use the tool "fetch_controls" to get the control details.
Fetch the available actions.
Prompt the user to confirm the intended action.
Once confirmed, use the
execute_actiontool with the appropriate parameters to carry out the operation.
Args:
assessmentName (str): Name of the assessment (required)
controlNumber (str): Identifier for the control (required)
controlAlias (str): Alias of the control (required)
If the above arguments are not available:
Use the
fetch_controlstool to retrieve control details.Then generate and execute a query to fetch the related assessment information before proceeding.
Returns: - actions (List[ActionsVO]): List of actions - actionName (str): Action name. - actionDescription (str): Action description. - actionSpecID (str): Action specific id. - actionBindingID (str): Action binding id. - target (str): Target. - error (Optional[str]): An error message if any issues occurred during retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assessmentName | Yes | ||
| controlNumber | No | ||
| controlAlias | No | ||
| evidenceName | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totalRecords | No | ||
| compliantRecords | No | ||
| nonCompliantRecords | No | ||
| notDeterminedRecords | No | ||
| records | No |