check_sensitive_file_access
Analyzes AI agent file access to detect sensitive files and prevent unauthorized access, ensuring EU AI Act security and data governance compliance.
Instructions
Checks if AI agent is attempting to access sensitive files using SonnyLabs.ai API.
Helps comply with EU AI Act Article 15 (Security) and Article 10 (Data governance). Prevents unauthorized access to confidential files and system resources.
Args: file_path: The file path being accessed by the AI agent agent_action: The action being performed (e.g., "read", "write", "execute") sonnylabs_api_token: Your SonnyLabs API token (Bearer token) sonnylabs_analysis_id: Your SonnyLabs analysis ID tag: Optional identifier for this check (default: "file_access_check")
Returns: Dictionary with file sensitivity analysis and access recommendations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | file_access_check | |
| file_path | Yes | ||
| agent_action | Yes | ||
| sonnylabs_api_token | Yes | ||
| sonnylabs_analysis_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |