Better visibility for security auto-configuration information on startup #82364
Labels
>bug
:Security/Security
Security issues without another label
Team:Security
Meta label for security team
v8.0.0-rc2
We have received feedback from early adopters and internal users that the output of the security auto-configuration on startup is easy to miss and we have decided to make certain changes to alleviate that.
We introduced
jansi
recently in order to be able to check whether or not a terminal is attached when elasticsearch starts so that we can decide to print auto-configuration information or not.We should take advantage of the features in order to make the auto-configuration information more prominent and easy to spot in the console by adding :
Irrespective to jAnsi features, we could possibly attempt to print some unicode symbols ( i.e. green check mark U+2705 etc. )
A visual representation of how this could look like:
✔️ Elasticsearch security features have been automatically configured!
✔️ Authentication is enabled and cluster connections are encrypted.
Password for the elastic user (reset with
bin/elasticsearch-reset-password -u elastic
):GpmUBuZ_h1mXwzQSxD*a
HTTP CA certificate SHA-256 fingerprint:
ba52842c34885ca68746fcb017e8c3e51af510de988815cae5a512b13129a985
ℹ️ Configure Kibana to use this cluster:
Run Kibana and click the configuration link in the terminal when Kibana starts.
Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):
eyJ2ZXIiOiI4LjAuMCIsImFkciI6WyIxMC4xNzIuMC4xOTo5MjAwIl0sImZnciI6ImJhNTI4NDJjMzQ4ODVjYTY4NzQ2ZmNiMDE3ZThjM2U1MWFmNTEwZGU5ODg4MTVjYWU1YTUxMmIxMzEyOWE5ODUiLCJrZXkiOiJSQXhyTFgwQmFSUldtLTlhSmJsXzpRYU0tdWZDSFM1dWlfUy1rbHBsTGl3In0=
ℹ️ Configure other nodes to join this cluster:
On this node:
On the other node:
The text was updated successfully, but these errors were encountered: