GovReady / GovReady-Drupal-Agent

Plugin for Drupal to assist with compliance
GNU Affero General Public License v3.0
1 stars 0 forks source link

Allow integration with drush/Jenkins #23

Open jlyon opened 8 years ago

jlyon commented 8 years ago

After our discussion yesterday, I have been thinking of ways for us to both move forward, and to integrate our front-end presentation layer with a more complex server build and monitoring environments (Jenkins/Ansible/Puppet/Chef/...) and Drush.

It seemed like the best way for us to live in our own worlds was to set up:

  1. A way to disable the automatic site monitoring and let a Jenkins, etc task call the API server (which can be self-hosted) via drush. Something like
# Pushes module, user, stack info
drush govready-agent
# Or do individually
drush govready-agent users
drush govready-agent modules
drush govready-agent stack
  1. A way to push results from OpenSCAP scans to the API so we can display them in a (potentially standalone in the future) dashboard, either by passing a file or piping the result
drush govready-scan "<scan keyname>" < results.json

LOE: 2-5hrs

Thoughts @openprivacy, @gregelin?

jlyon commented 8 years ago

I created a first pass of drush integration. The documentation is at https://github.com/GovReady/GovReady-Drupal-Agent/blob/7.x-1.x-dev/docs/drush.md.

jlyon commented 8 years ago

Call w Fen 7/19:

jlyon commented 8 years ago

@openprivacy to post/email example XML, HTML OpenSCAP results.

openprivacy commented 8 years ago

Hi Jeff,

Here you go. No rush on this - just don't break the dashboard this week (GovCon).

Thanks! =Fen

On Tue, Jul 19, 2016 at 6:32 PM, Jeff Lyon notifications@github.com wrote:

@openprivacy https://github.com/openprivacy to post/email example XML, HTML OpenSCAP results.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GovReady/GovReady-Drupal-Agent/issues/23#issuecomment-233786793, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJlp-Nr7nN8pk4p1cTwHhwWn3DIJaaOks5qXVCRgaJpZM4JKn2u .

Fen Labalme, CISO at CivicActions.com Security | Quality | DevOps mobile: 412-996-4113 github/skype/twitter: openprivacy

jlyon commented 8 years ago

Sounds good.