I’m getting this in the auditlog after a failed try. Nothing for a successful curl command. (Maybe another index?)
I’m getting the same if I try with a wrong password with curl.
{
"_index": "security-auditlog-2024.01.15",
"_id": "meTNDY0BSYxssjVft4Ti",
"_version": 1,
"_score": null,
"_source": {
"audit_cluster_name": "logging-opensearch",
"audit_rest_request_params": {
"pretty": ""
},
"audit_node_name": "logging-opensearch-master-2",
"audit_rest_request_method": "GET",
"audit_category": "FAILED_LOGIN",
"audit_request_origin": "REST",
"audit_node_id": "_Ip_ceueRZu1LtSjFBUuHA",
"audit_request_layer": "REST",
"audit_rest_request_path": "/_plugins/_security/authinfo",
"@timestamp": "2024-01-15T15:46:42.273+00:00",
"audit_request_effective_user_is_admin": false,
"audit_format_version": 4,
"audit_request_remote_address": "127.0.0.1",
"audit_node_host_address": "100.64.2.147",
"audit_rest_request_headers": {
"Cookie": [
"security_authentication=****"
],
"Accept": [
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"
],
"Connection": [
"keep-alive"
],
"User-Agent": [
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
],
"Sec-Fetch-Dest": [
"document"
],
"Sec-Fetch-Site": [
"none"
],
"Host": [
"localhost:9203"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Sec-Fetch-Mode": [
"navigate"
],
"Upgrade-Insecure-Requests": [
"1"
],
"Sec-Fetch-User": [
"?1"
],
"Accept-Language": [
"en-US,en;q=0.5"
]
},
"audit_node_host_name": "100.64.2.147"
},
"fields": {
"@timestamp": [
"2024-01-15T15:46:42.273Z"
]
},
"sort": [
1705333602273
]
}