airbnb / binaryalert

BinaryAlert: Serverless, Real-time & Retroactive Malware Detection.
https://binaryalert.io
Apache License 2.0
1.4k stars 187 forks source link

Prefix minimum length? #136

Open toringe opened 5 years ago

toringe commented 5 years ago

Is there a reason for the unique name prefix requiring a minimum 4 character length?

In reference to cli/config.py:

VALID_NAME_PREFIX_FORMAT = r'[a-z][a-z0-9_]{3,50}'
austinbyers commented 5 years ago

Good question @toringe , no specific reason that I can recall. I may have copied that regex from somewhere or just made it up. If you find a shorter prefix deploys just fine, feel free to submit a PR!

Thanks for flagging