-
Notifications
You must be signed in to change notification settings - Fork 55
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
Update DNSTwist to use the pe-reports module and run on all P&E orgs #1988
base: master
Are you sure you want to change the base?
Conversation
@@ -14,6 +14,7 @@ const PE_DATA_SCHEMA = ` | |||
-- Draft Database Schema to store scan data | |||
-- Includes Domain Masquerading, Credentals Exposed, Inffered Vulns, and Dark Web data | |||
|
|||
|
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.
What was this change for? Needed for dnstwist?
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.
Ya, these changes are needed to run dnstwist in the development environment:
- P&Es latest database schema
- Added sample organizations and domains
} | ||
} | ||
const child = spawnSync('python', ['-m', 'pe_source', 'dnstwist'], { | ||
stdio: 'inherit', |
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.
We should remove dnstwist from dockerfile
Waiting on pe-source module updates so we can install that inside the worker container instead of pe-reports. |
fixes #1968
🗣 Description
The DNSTwist scan was updated to run the dnstwist module in the pe-reports repository instead of the typescript implementation.
It is now global and will run on all P&E orgs marked report_on in the P&E organizations table. No vulnerability data will be stored in the Crossfeed database; only the P&E database intstance.
🧪 Testing
To test locally:
Follow normal steps in https://docs.crossfeed.cyber.dhs.gov/dev/quickstart/ with the addition of running:
Create and run a dnstwist scan from the frontend.
✅ Pre-approval checklist
in code comments.
to reflect the changes in this PR.
✅ Pre-merge checklist
✅ Post-merge checklist