opensearch-project / security

🔐 Secure your cluster with TLS, numerous authentication backends, data masking, audit logging as well as role-based access control on indices, documents, and fields
https://opensearch.org/docs/latest/security-plugin/index/
Apache License 2.0
191 stars 272 forks source link

[BUG] Typo in securityadmin.sh hint #4376

Open houska2 opened 4 months ago

houska2 commented 4 months ago

Describe the bug

securityadmin.sh gives hint: * Try running securityadmin.sh with -icl (but no -cl) and -nhnv (If that works you need to check your clustername as well as hostnames in your TLS certificates)

Instead of "-cl" should be "-cn". "-cl" doesnt exist.

Related component

Plugins

To Reproduce

Break your cluster and try to fix it with ./securityadmin.sh as recommended by the logs.

Expected behavior

Instead of "-cl" should be "-cn". "-cl" doesnt exist.

Additional Details

Ubuntu opensearch 2.14.0

dblock commented 4 months ago

Want to submit a PR fixing this @houska2?

stephen-crawford commented 4 months ago

[Triage] Hi @houska2 thanks for filing this issue. As @dblock mentioned please feel free to open a PR to fix this typo! :)