Using CloudPassage Halo to manage application admission
Pull request Compare This branch is 2 commits ahead, 9 commits behind ashmastaflash:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Script to run configuration scans across a source group, and move all compliant hosts to the destination group

This script runs against the Halo API and causes all configuration-compliant hosts in the source group to be moved to the destination group.

Before We Begin

Please have a look at the config.conf file. You will need to set your clientid and clientsecret or the script simply won't work. Command line execution looks like this: -s SOURCE_GROUP -d DESTINATION_GROUP

Step by Step

Download all the files here into the same location and make sure that is executable. Edit config.conf to set your API key and secret, as well as any other values you need.

Here’s a breakdown of the files you see here:

  • Run this one.

  • Contains Server object definition

  • Contains functions that hit the API

  • config.conf Contains configuration variables

  • Contains general functions

  • This file