I have installed Elasticsearch via docker (version 6.5.4) not the oss image. As per my understanding it comes with a basic license. An API call to /_xpack/license
shows this response
{
"license" : {
"status" : "active",
"uid" : "aa2f181d-86ae-4101-b875-546bfe984ca1",
"type" : "basic",
"issue_date" : "2019-03-22T12:58:25.539Z",
"issue_date_in_millis" : 1553259505539,
"max_nodes" : 1000,
"issued_to" : "my-elasticsearch-cluster",
"issuer" : "elasticsearch",
"start_date_in_millis" : -1
}
}
Also, when I check the link https://www.elastic.co/subscriptions I can see that under Basic license, certain security features are marked as available
But when I try to hit the API GET /_xpack/security/role
, I get the response:
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "current license is non-compliant for [security]",
"license.expired.feature": "security"
}
],
"type": "security_exception",
"reason": "current license is non-compliant for [security]",
"license.expired.feature": "security"
},
"status": 403
}
Does this mean that security feature is not available with basic license? If yes, then is the subscription page providing inaccurate information or I didn't understand it properly? It would be great if anyone could clarify this.