-
Notifications
You must be signed in to change notification settings - Fork 296
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
Add new bot: domain valid #1966
Conversation
Hi @mariuskarotkis and thanks for the contribution On the first glance, this looks very similar to the domain suffix expert, which uses the PSL. Is there a specific reason you did create a new specialized bot instead of utilizing the domain-suffix expert and filtering on the |
Hi @wagner-certat I didn't know about the expert domain-suffix. |
Codecov Report
@@ Coverage Diff @@
## develop #1966 +/- ##
===========================================
- Coverage 75.98% 75.90% -0.08%
===========================================
Files 423 425 +2
Lines 22812 22934 +122
Branches 3040 3058 +18
===========================================
+ Hits 17334 17409 +75
- Misses 4772 4817 +45
- Partials 706 708 +2
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a review of the code and I have a few suggestions/required changes.
intelmq/tests/bots/experts/domain_valid/tlds-alpha-by-domain.txt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a file intelmq/tests/bots/experts/domain_valid/tlds-alpha-by-domain.txt.license
with the following content:
SPDX-FileCopyrightText: 2021 Marius Karotkis <marius.karotkis@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
With these proposals incorporated, the bot runs fine and the checks should succeed. Also tested locally.
If you add the suggestions, I'll finally merge the PR after a long odyssey :)
* Add new bot: domain valid * Add license, add description * Add requirements * Update domain valid bot description, tests * Update domain valid bot description, reduce data file * Add cron and update TLD file function * fix * fix * fix * fix * fix * fix * Update after develop branch merge Co-authored-by: Wagner <wagner@cert.at>
* Add new bot: domain valid * Add license, add description * Add requirements * Update domain valid bot description, tests * Update domain valid bot description, reduce data file * Add cron and update TLD file function * fix * fix * fix * fix * fix * fix * Update after develop branch merge Co-authored-by: Wagner <wagner@cert.at>
Add new bot: domain valid