EAP audit logs show attribute being set to 'undefine-attribute' when the attribute is set to the default value.

Solution Verified - Updated -

Issue

When changing an EAP setting to a value that happens to be the default value, the operation is shown as undefine-attribute in the audit logs.

As a demonstration of the issue, enable audit logging and change the 'auto-start' attribute of a server from 'false' to 'true'. Note that even though the value is set explicitly to 'true', the audit logs show that the operation was undefining the attribute since 'true' is the default value.

2020-11-20 18:34:28 - {
    "type" : "core",
    "r/o" : false,
    "booting" : false,
    "version" : "7.3.0.GA",
    "user" : "",
    "domainUUID" : "ee2c84d7a4-0a13-7bf4-f4b6-fb93a90449d1",
    "access" : "HTTP",
    "remote-address" : "",
    "success" : true,
    "ops" : [{
        "operation" : "composite",
        "address" : [],
        "steps" : [{
            "name" : "auto-start",
            "operation" : "undefine-attribute",
            "address" : [
                {
                    "host" : "xxxxxxxxxxxxxxxxxxxxxxxx"
                },
                {
                    "server-config" : "xxxxxxxxxxxxxxxxxxxxxxxx"
                }
            ]
        }],
        "operation-headers" : {
            "access-mechanism" : "HTTP",
            "caller-type" : "user"
        }
    }]
}

Environment

Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In