This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Create pe_source module and add cybersixgill class #117
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- framework for pe_source module - will include cybersixgill, dnstwist, hibp, shodan scripts and more - this PR introduces the framework as well as the sixgill scripts
This pull request introduces 2 alerts when merging da00071 into a76ccf4 - view on LGTM.com new alerts:
|
- add db_query.py which contains functions to insert data into the pe postgres db
This pull request introduces 2 alerts when merging a363597 into a76ccf4 - view on LGTM.com new alerts:
|
- took out a duplicate concat() (lgtm) - In pe_source/data/pe_db/config.py added a exception if the .ini can't be found - address .replace() warning in pe_db/db_query.py
- empty .ini file
Pull Request Test Coverage Report for Build 1952507676
💛 - Coveralls |
- deleted all sixgill functions in api.py that are unused. - the full script can still be found in PE documents
- update readme to include the pe_source info
- take out filter that was used for testing
- replace f-string logging with % operators - fix test_pe_source - make sure there are no spelling mistakes
5 tasks
cduhn17
suggested changes
Feb 24, 2022
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.
See the few items to consider.
@dav3r , |
- Have pe_source module use the config function already created in pe_reports
Co-authored-by: dav3r <david.redmin@trio.dhs.gov>
Co-authored-by: dav3r <david.redmin@trio.dhs.gov>
+= 1 instead of x = x + 1 f-strings Co-authored-by: dav3r <david.redmin@trio.dhs.gov>
Use importlib to fetch sixgill credentials in config.py and log path when database.ini file can't be found
…ondition Co-authored-by: dav3r <david.redmin@trio.dhs.gov>
dav3r
reviewed
Mar 8, 2022
Co-authored-by: dav3r <david.redmin@trio.dhs.gov>
cduhn17
approved these changes
Mar 8, 2022
dav3r
reviewed
Mar 8, 2022
dav3r
reviewed
Mar 8, 2022
dav3r
reviewed
Mar 8, 2022
dav3r
reviewed
Mar 8, 2022
- I prefer to keep the rest "as is" for the purpose of readability
dav3r
approved these changes
Mar 8, 2022
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.
Thanks for considering all of my suggestions! 🚀
Of course, thank you! |
aloftus23
pushed a commit
that referenced
this pull request
Mar 30, 2022
Create pe_source module and add cybersixgill class
aloftus23
pushed a commit
that referenced
this pull request
Mar 30, 2022
Create pe_source module and add cybersixgill class
aloftus23
pushed a commit
that referenced
this pull request
Apr 13, 2022
Create pe_source module and add cybersixgill class
aloftus23
pushed a commit
that referenced
this pull request
Apr 13, 2022
Create pe_source module and add cybersixgill class
cisagovbot
pushed a commit
that referenced
this pull request
Jan 7, 2023
…-length_rules Update the `line-length` configuration for `yamllint`
cisagovbot
pushed a commit
that referenced
this pull request
Jan 8, 2023
…ttributions Add ignore directives to the dependabot configuration
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
improvement
This issue or pull request will add or improve functionality, maintainability, or ease of use
Tech Debt
Issue or PR from Previous Sprints
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🗣 Description
This PR introduces the pe_source as a moduel with the cybersixgill class.
pe_source module which will include cybersixgill, dnstwist, hibp, shodan and other data source scripts.
fixes #74
fixes #103
💭 Motivation and context
This will allow P&E to run our data collection scripts as a module.
🧪 Testing
Wrote new pytests and will make sure all lgtm and pre-commit checks are passed.
✅ Pre-approval checklist
in code comments.
to reflect the changes in this PR.