-
Notifications
You must be signed in to change notification settings - Fork 5
1 - Implement Shodan and Credential views into report generator #191
Conversation
To simplify the metrics required to generate the reports we have created new db views, this commit implements those changes across the report generator
This pull request introduces 4 alerts when merging 09ac0e3 into c926100 - view on LGTM.com new alerts:
|
add server to the db_schema
This pull request introduces 4 alerts when merging f78b708 into c926100 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 040b1de into 78ccbfd - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 65ea84f into 78ccbfd - view on LGTM.com new alerts:
|
Can't import same name
@DJensen94 @cduhn17 I got this one working finally. Is it worth reviewing and setting up to be merged next? Or should we shift to another? |
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.
Added a couple of docstring suggestions, but other than that I think it looks good
Update the get_orgs function to create a connection if one is not provided
get_orgs always requires a connection so we should revert this change
@dav3r This PR is ready for review |
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.
This all looks good to me, but I had a question and request that I'd like addressed before this gets merged.
fixes #172, fixes #176, fixes #181
To simplify the metrics required to generate the reports we have created new db views, this PR implements those changes across the report generator
💭 Motivation and context
A lot of the data manipulation in the metrics file is difficult to read and can be implemented into views inside our db. By querying directly from these views we speed up our report generation and simplify our code.
✅ Pre-approval checklist