check_rule_publish_status
Check rule publication status and publish unpublished rules to enable control attachment in ComplianceCow.
Instructions
Check if a rule is already published.
If not published → publish the rule so it becomes available for control attachment
Once published, prompt the user:
"Do you want to attach this rule to a ComplianceCow control? (yes/no)"If yes → ask for assessment name and control alias to proceed with association
If no → end workflow
Args: rule_name: Name of the rule to check
Returns: Dict with publication status and details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||