Skip to content
This repository was archived by the owner on Apr 21, 2023. It is now read-only.

Commit 4a99437

Browse files
committed
Updated docs
1 parent 2772ba3 commit 4a99437

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,17 @@ Structured parameters like admin, clustering, auth need to be specified in valid
580580
581581
One caveat: you cannot specify the admin hash in JSON due to the dollar signs in the SHA512 hash. Even though the PE docs mention you should escape $ to prevent variable interpolation, this doesn't seem to work for values in JSON.
582582
583+
| Status | Statement | Reason
584+
|------|-----|-----
585+
| **Works** | `{"pass": "changemeagain"}` | Valid JSON
586+
| Doesn't work | `{'pass': 'changemeagain'}` | Invalid JSON
587+
| Doesn't work | `{pass: "changemeagain"}` | Invalid JSON
588+
| Doesn't work | `{pass= "changemeagain"}` | Invalid JSON
589+
| Doesn't work | `{"hash": "$6$MR9IJetc"}` | Valid JSON but $ causes variable interpolation
590+
| Doesn't work | `{"hash": "\$6\$MR9IJetc"}` | Valid JSON but escaped $ causes PE webgui to interfere
591+
592+
If for one reason or another the PE web gui says "Converted to string" while you're entering JSON, you should assume your structured parameter to not be interpreted incorrectly.
593+
583594
## Splunk with ADFS
584595
585596
### Setup

0 commit comments

Comments
 (0)