blabla1337 / skf-flask

Security Knowledge Framework (SKF) Python Flask / Angular project
https://www.securityknowledgeframework.org
Apache License 2.0
810 stars 308 forks source link

Request: Environment var to disable labs #832

Open cptfixit opened 1 year ago

cptfixit commented 1 year ago

Based on a remark in this thread -> https://github.com/blabla1337/skf-flask/issues/759

"On a related note can labs as a feature be hidden?"

and

"_The labs as a feature can be hidden by toggling the KUBERNETESENABLED flag in the angular environments.ts:"

I would very much appreciate a user-friendly way of disabling labs altogether, via an environment variable. Manually editing it in a Javascript file is a kludge. Plus, it won't work for people who use the pre-made Docker containers, when deploying via docker-compose

Plus, you're not really disabling the labs, it looks like you're just hiding a part of the user interface. That's contrary to your own secure coding lessons! ;)

So, please make an env var which we can use to fully disable all lab-related functionality in both front-end and back-end.