Created
November 6, 2018 00:13
-
-
Save flaviotorres/54886425896cd367ff00fcf83ccf80b6 to your computer and use it in GitHub Desktop.
querying foreman API
This file contains hidden or 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
# query foreman audits API by: time > "Feb 1,2018" and action = create and type = host | |
curl -s -uUSER:$PW -XGET -k "https://foreman.com/api/audits?search=action=create,type=host,time>Feb,1&per_page=2035" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment