Created
December 7, 2016 22:49
-
-
Save cwjohnston/5d9bb797d854e819d11d38c6d295165f to your computer and use it in GitHub Desktop.
redaction example
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
$ 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" | |
} |
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
{ | |
"checks": { | |
"check_redaction_test": { | |
"interval": 30, | |
"command": "echo :::custom_secret_stuff.password::: > /dev/null", | |
"standalone": true | |
} | |
} | |
} |
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
{ | |
"client": { | |
"name": "ec2-35-165-186-85", | |
"environment": "development", | |
"subscriptions": [ | |
"dev" | |
], | |
"socket": { | |
"bind": "127.0.0.1", | |
"port": 3030 | |
}, | |
"custom_secret_stuff": { | |
"password": "setecastronomy" | |
} | |
} | |
} |
Author
cwjohnston
commented
Dec 7, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment