Created
April 4, 2017 16:57
-
-
Save ffpollock/b99c01ab6217fbda04c358b4531aa9e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inspec compliance login_automate https://MYAUTOMATE-URL.COM --user USERNAME --ent MYENTERPRISE --usertoken MYTOKEN --insecure | |
Token can be gathered from - https://YOUR_AUTOMATE_HOST/e/YOUR_AUTOMATE_ENTERPRISE/#/dashboard?token | |
Once succesful try a list | |
inspec compliance profiles | |
Positive response should be no avalible profiles | |
inspec compliance upload MYPROFILE.ZIP | |
Confirm the profile is uploaded by re-running | |
inspec compliance profiles | |
and also viewing it inside the Automate server under Compliance -> Profiles | |
Now update the role's second 'profile field with the identifier' | |
"profiles": [ | |
{ | |
"name": "linux-baseline", | |
"compliance": "devsec/linux-baseline" | |
} | |
Where the devsec/linux-baseline is the identifier in the Compliance -> Profiles Page | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment