Created
August 18, 2014 19:36
-
-
Save wkalt/01bbfa55b1434b0ac546 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
curl -X GET http://localhost:8080/v4/facts --data-urlencode 'query=["in", "name", ["extract", "name", ["select-fact-nodes",["=",["name","certname"],["trusted","mbp.local"]]]]]' | |
[ { | |
"value" : { | |
"authenticated" : "remote", | |
"certname" : "mbp.local" | |
}, | |
"name" : "trusted", | |
"environment" : "production", | |
"certname" : "mbp.local" | |
} ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -X GET http://localhost:8080/v4/facts --data-urlencode 'query=["in", ["name","certname"], ["extract", ["name","certname"], ["select-fact-nodes",["and",["=","value","remote"],["=","path",["trusted","authentication"]]]]]'