HawkInspector CoPilot is a Visual Studio Code (VS Code) extension designed to enhance security and compliance by scanning and notifying users about the presence of confidential data in text files within their workspace.
Features
Immediate Scanning: Initiates a scan upon activation, checking all files in the workspace for confidential data.
Real-Time Monitoring: Notifies users when confidential data is found in an opened text document.
Scheduled Scans: Performs periodic scans at configurable intervals (default: 60 minutes) for ongoing security.
Workspace-wide Scanning: Scans all files within the entire workspace, regardless of folder structure.
Relative Path Display: Displays the relative path of affected files, starting from the root folder.
Exclusion of Non-Text Files: Intelligently excludes non-text files, improving performance.
Customizable Keywords: Uses a customizable regular expression to identify confidential data keywords.
Extension Behavior
When confidential data is detected:
A warning message is displayed.
Users can choose to proceed or cancel file opening.
Choosing to cancel closes the active editor, preventing the file from being opened.
Requirements
Visual Studio Code is required. Ensure the extension is installed and activated.
hawkinspector.OnChangeEnabled: Enable/Disable notifications when files with confidential data are modified.
hawkinspector.AskPermissionEnabled: Enable/Disable notifications when files with confidential data are opened.
Usage
Open Visual Studio Code.
Ensure the extension is installed and activated.
Start working on your projects.
The extension will automatically perform scans and provide notifications if confidential data is detected or if files containing such data are modified.
Known Issues
There are no known issues with this extension at this time.
Limitations
The extension provides warnings and prompts but does not entirely prevent file opening.