-
Notifications
You must be signed in to change notification settings - Fork 4
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
[HOLD] Migrate portscan and vulnscan Instances to Debian Buster #292
Conversation
Update the Packer configurations for nessus and nmap to build from Debian Buster base AMIs.
Missed updating these from Debian Stretch to Debian Buster to reflect the rest of this PR's changes.
…o scanners_on_buster
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.
Moar Buster! Sayonara Stretch! 🛥️
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 stretch in Chino.
Seriously, it feels good to move away from Debian Stretch.
With the vulnscanner instances moving to Python 3 only, the script that installs the Nessus base policy needs to be updated for Python 3.
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.
Still 👍 from me!
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 made a few suggestions to use f-strings instead of the less fashionable "".format()
style.
Switch .format() calls for f-strings since this script will run on systems with Python 3.6+. Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
Change two other str.format() uses to f-strings to mirror the changes suggested in the PR review by @jsf9k.
Call the correct Python binary and update nessus_base.py to mirror how it is used.
🗣 Description
This PR updates the Packer configurations to build the
portscan
andvulnscan
AMIs (nessus.json
andnmap.json
) on Debian Buster.This PR should only be merged along with the following PRs:
cisagov/cyhy-runner#2
https://github.com/jsf9k/cyhy-commander/pull/17
💭 Motivation and Context
Migrating cisagov/cyhy-runner to Python 3 requires the instances it runs on to update to using Debian Buster.
🧪 Testing
I have used these updates to create AMIs that were deployed as part of testing the linked PRs.
✅ Checklist