is a straightforward approach in Cliptopia.
Cliptopia offers out of the box protection for:
All these rules are written in ~/.config/exclusion-config.json
.
Here's the structure ...
{
"exclusions": [
{
"name": "GitHub Token",
"pattern": "^[a-zA-Z0-9]{40}quot; },
{
"name": "Gitlab Token",
"pattern": "^[a-zA-Z0-9_-]{20,}quot; },
{
"name": "Git HTTPS Url",
"pattern": "^https:\\/\\/([^:]+):([^@]+)@([^\\/]+)\\/(.+\/[^.]+)\\.gitquot; },
{
"name": "SSH Key",
"pattern": "^ssh-rsa\\s+[A-Za-z0-9+/]+[=]{0,3}(\\s+[^\\s]+)?\\s*quot; }
]
}
All these patterns are then read by The Daemon in realtime and it prevents watching any data that matches these regex filters.
This is even readable from the ...
You are free to add any filter you want.