Skip to content

Instantly share code, notes, and snippets.

@cwjohnston
Created December 7, 2016 22:49
Show Gist options
  • Save cwjohnston/5d9bb797d854e819d11d38c6d295165f to your computer and use it in GitHub Desktop.
Save cwjohnston/5d9bb797d854e819d11d38c6d295165f to your computer and use it in GitHub Desktop.
redaction example
$ curl -s localhost:4567/results/ec2-35-165-186-85/check_redaction_test | jq .
{
"check": {
"type": "standard",
"status": 0,
"interval": 30,
"command": "echo :::custom_secret_stuff.password::: > /dev/null",
"standalone": true,
"name": "check_redaction_test",
"issued": 1481150815,
"executed": 1481150815,
"duration": 0.002,
"output": ""
},
"client": "ec2-35-165-186-85"
}
{
"checks": {
"check_redaction_test": {
"interval": 30,
"command": "echo :::custom_secret_stuff.password::: > /dev/null",
"standalone": true
}
}
}
{
"client": {
"name": "ec2-35-165-186-85",
"environment": "development",
"subscriptions": [
"dev"
],
"socket": {
"bind": "127.0.0.1",
"port": 3030
},
"custom_secret_stuff": {
"password": "setecastronomy"
}
}
}
@cwjohnston
Copy link
Author

2016-12-07 at 3 48 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment