add_check_to_asset
Add compliance checks to assets by creating new controls under parent controls. Enables structured governance and monitoring by linking specific requirements to individual assets.
Instructions
Add a new control and a new check to an asset under a specified parent control. The check will be attached to newly created control beneath the parent control.
Args: - assetId (str): Asset id. - parentControlId (str): Parent control id under which the check will be added. - checkName (str): Name of the check to be added. - checkDescription (str): Description of the check to be added.
Returns: - success (bool): Indicates if the check was added successfully. - error (Optional[str]): An error message if any issues occurred during the addition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | ||
| parentControlId | Yes | ||
| checkName | Yes | ||
| checkDescription | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||