-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added FREEBOX plugin #901
Added FREEBOX plugin #901
Conversation
Co-authored-by: artemiscode@hotmail.it <artemiscode@hotmail.it>
Question: the API offers historical information about devices and IPs that are not online at the moment, but were at one point. I see no way to make use of this; as far as I understand, if we report offline devices they will appear as online, and the There is the |
Hello, some considerations on foreign-sub/aiofreepybox, the python library that implements the freebox API: However, the way the library is implemented does not allow certificate validation failures (even with We could attempt a pull request on the library but it seems abandoned. In the future the active fork might catch up in features.
|
I have pushed some more commits. One is just a fix for a missing dependency in the dockerfile. Now it's good to merge |
@KayJay7 Sorry, forgot to answer your question:
Currently, all devices passed thru the CurrentScan table will be reported as online. Although possible, I prefer not to write directly to the DB in the plugins to keep the flow and logic clean. It's something on my radar to improve in future - to figure out the import of "offline" devices, without the need to go thru the CurrentScan table in a more scalable way - to be incorporated into the plugin framework. Happy to hear ideas as well. |
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
13089635 | Triggered | Generic High Entropy Secret | ea16302 | front/plugins/omada_sdn_imp/omada_sdn.py | View secret |
13089635 | Triggered | Generic High Entropy Secret | ea16302 | front/plugins/omada_sdn_imp/omada_sdn.py | View secret |
13089637 | Triggered | Generic High Entropy Secret | ea16302 | front/plugins/omada_sdn_imp/omada_sdn.py | View secret |
13089637 | Triggered | Generic High Entropy Secret | ea16302 | front/plugins/omada_sdn_imp/omada_sdn.py | View secret |
13089637 | Triggered | Generic High Entropy Secret | ea16302 | front/plugins/omada_sdn_imp/omada_sdn.py | View secret |
13089637 | Triggered | Generic High Entropy Secret | ea16302 | front/plugins/omada_sdn_imp/omada_sdn.py | View secret |
13089638 | Triggered | Generic High Entropy Secret | ea16302 | front/plugins/omada_sdn_imp/omada_sdn.py | View secret |
13089639 | Triggered | Generic High Entropy Secret | ea16302 | front/plugins/omada_sdn_imp/omada_sdn.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
I might move the certificate in a separate file in the future, but I think this is good to go for now - let's see how much teh image grows due to the addition of |
As an alternative to git, we could try
Installation from source archive file. |
Looks ok, not much increase in size :) |
This adds a plugin to pull devices and names from a Freebox gateway, using their API. The details are in the README.
Our use-case of this plugin is for the Italian re-branding of the freebox, the "Iliadbox".
Support for the Iliadbox requires adding an extra ssl certificate. There are a number of ways to handle this, like mounting the file with the certificate, or getting it merged upstream.
In the meantime, I made no mention of the Iliadbox in the README.
Co-authored-by: @Lucide