fetch_assessments
Retrieve available ComplianceCow assessments to confirm assessment names when attaching rules to controls. Returns basic assessment details including IDs, names, and categories without full control hierarchies.
Instructions
Fetch the list of available assessments in ComplianceCow.
TOOL PURPOSE:
Retrieves a list of available assessments if no specific match is provided.
Returns only basic assessment info (id, name, category) without the full control hierarchy.
Used to confirm the assessment name while attaching a rule to a specific control.
Args:
categoryId (Optional[str]): Assessment category ID.
categoryName (Optional[str]): Assessment category name.
assessmentName (Optional[str]): Assessment name.
Returns:
- assessments (List[Assessments]): A list of assessment objects, each containing:
- id (str): Unique identifier of the assessment.
- name (str): Name of the assessment.
- category_name (str): Name of the category.
- error (Optional[str]): An error message if any issues occurred during retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryId | No | ||
| categoryName | No | ||
| assessmentName | No |