Skip to content
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

Custom Update Server #68

Open
godsgood33 opened this issue Nov 10, 2018 · 2 comments
Open

Custom Update Server #68

godsgood33 opened this issue Nov 10, 2018 · 2 comments
Assignees
Milestone

Comments

@godsgood33
Copy link
Collaborator

Had the brilliant idea to create our own update server. Basically, here's the process

  • Create a couple scripts that would download the reference material from the various services (NIST, DISA, OpenVAS, etc). So once we get it working then it continues to work, and won't stop people from downloading content
  • Either store them in file format (STIGs) or in a database table (rest)
  • Alter Sagacity update_db.php to download from us using a custom build REST API (helps with issues of them changing the file formats, and we can remove all the extraneous data and files)
  • The API would create a custom download for the user depending on what they are asking for
  • The API would compile a file, zip it up, and allow the user to download it. Also, gives us the opportunity to compile more than one library into 1 file for much simpler downloading.

The added benefit of doing this is that it allows us to control updates for when we migrate to a professional subscription. We can add a flag for --direct or something similar that will bypass us and download directly from the source.

@godsgood33 godsgood33 added this to the 1.4.0 milestone Nov 10, 2018
@godsgood33 godsgood33 self-assigned this Nov 10, 2018
@godsgood33
Copy link
Collaborator Author

I've gotten a really good beta ready for this. Server-side at least. So right now, you can see it at
http://sagacity-update.cyberperspectives.com/ (cpe | cve | stigs) - to see some basic info about that download. Then you can prepend /download/ to the url (e.g. /download/cpe), to actually download the file.

It will take a little bit to integrate this into Sagacity itself. And then we are going to need to figure out how often we update. I think we should update CPE and CVE's daily. STIGs...probably weekly. Thoughts?

@JeffOdegard
Copy link
Collaborator

JeffOdegard commented Nov 15, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants