Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.1.0
-
Enterprise Edition 7.1.0 build 2506
-
Untriaged
-
Centos 64-bit
-
1
-
No
Description
STEPS
- Create 2 eventing functions - src_bucket/_default/abcd and src_bucket/src_bucket/abcd.
- Deploy both functions.
- Enable audit logging.
- Pause both functions.
OBSERVATION
No way to distinguish between the 2 events via audit logs.
{"context":"Pause function","description":"Request to pause eventing function","error":null,"id":32791,"local":{"ip":"10.112.190.102","port":"8096"},"method":"POST","name":"Pause Function","real_userid":{"domain":"builtin","user":"Administrator"},"remote":{"ip":"10.112.190.101","port":"41327"},"request":null,"timestamp":"2022-03-21T20:47:45.293-07:00","url":"/api/v1/functions/abcd/pause"} |
{"context":"Pause function","description":"Request to pause eventing function","error":null,"id":32791,"local":{"ip":"10.112.190.102","port":"8096"},"method":"POST","name":"Pause Function","real_userid":{"domain":"builtin","user":"Administrator"},"remote":{"ip":"10.112.190.101","port":"41327"},"request":null,"timestamp":"2022-03-21T20:47:48.210-07:00","url":"/api/v1/functions/abcd/pause"} |
No such issues via system event logging.
{
|
"component": "eventing", |
"uuid": "eaa2236f-af28-46c8-8cd1-2e59871593ae", |
"timestamp": "2022-03-22T03:48:03.455Z", |
"sub_component": "eventing-producer", |
"severity": "info", |
"event_id": 4111, |
"description": "Function paused", |
"extra_attributes": { |
"appName": "src_bucket/_default/abcd" |
},
|
"node": "10.112.190.102", |
"otp_node": "ns_1@10.112.190.102" |
},
|
{
|
"component": "eventing", |
"uuid": "676149ca-d837-4ba4-b2cf-34bb620d3bcd", |
"timestamp": "2022-03-22T03:48:06.866Z", |
"sub_component": "eventing-producer", |
"severity": "info", |
"event_id": 4111, |
"description": "Function paused", |
"extra_attributes": { |
"appName": "src_bucket/src_bucket/abcd" |
},
|
"node": "10.112.190.102", |
"otp_node": "ns_1@10.112.190.102" |
}
|
Attachments
Issue Links
- is a backport of
-
MB-51534 Log function scope for lifecycle operation audit logs
- Resolved
For Gerrit Dashboard: MB-52367 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
176368,2 | MB-52367: Add appLocation(s) tag to relevant audit events | neo | eventing | Status: MERGED | +2 | +1 |