@@ -176,6 +176,94 @@ processors:
176176- set :
177177 field : event.kind
178178 value : event
179+ - set :
180+ if : " ctx.auditd.log?.record_type == 'CONFIG_CHANGE'"
181+ field : event.category
182+ value : configuration
183+ - set :
184+ if : " ctx.auditd.log?.record_type == 'CONFIG_CHANGE'"
185+ field : event.type
186+ value : change
187+ - set :
188+ if : " ctx.auditd.log?.record_type == 'DAEMON_CONFIG'"
189+ field : event.category
190+ value : configuration
191+ - set :
192+ if : " ctx.auditd.log?.record_type == 'DAEMON_CONFIG'"
193+ field : event.type
194+ value : change
195+ - set :
196+ if : " ctx.auditd.log?.record_type == 'DAEMON_RECONFIG'"
197+ field : event.category
198+ value : configuration
199+ - set :
200+ if : " ctx.auditd.log?.record_type == 'DAEMON_RECONFIG'"
201+ field : event.type
202+ value : info
203+ - set :
204+ if : " ctx.auditd.log?.record_type == 'USYS_CONFIG'"
205+ field : event.category
206+ value : configuration
207+ - set :
208+ if : " ctx.auditd.log?.record_type == 'USYS_CONFIG'"
209+ field : event.type
210+ value : info
211+ - set :
212+ if : " ctx.auditd.log?.record_type == 'NETFILTER_CFG'"
213+ field : event.category
214+ value : configuration
215+ - set :
216+ if : " ctx.auditd.log?.record_type == 'NETFILTER_CFG'"
217+ field : event.type
218+ value : info
219+ - set :
220+ if : " ctx.auditd.log?.record_type == 'FEATURE_CHANGE'"
221+ field : event.category
222+ value : configuration
223+ - set :
224+ if : " ctx.auditd.log?.record_type == 'FEATURE_CHANGE'"
225+ field : event.type
226+ value : info
227+ - set :
228+ if : " ctx.auditd.log?.record_type == 'MAC_CONFIG_CHANGE'"
229+ field : event.category
230+ value : configuration
231+ - set :
232+ if : " ctx.auditd.log?.record_type == 'MAC_CONFIG_CHANGE'"
233+ field : event.type
234+ value : info
235+ - set :
236+ if : " ctx.auditd.log?.record_type == 'MAC_POLICY_LOAD'"
237+ field : event.category
238+ value : configuration
239+ - set :
240+ if : " ctx.auditd.log?.record_type == 'MAC_POLICY_LOAD'"
241+ field : event.type
242+ value : access
243+ - set :
244+ if : " ctx.auditd.log?.record_type == 'MAC_STATUS'"
245+ field : event.category
246+ value : configuration
247+ - set :
248+ if : " ctx.auditd.log?.record_type == 'MAC_STATUS'"
249+ field : event.type
250+ value : change
251+ - set :
252+ if : " ctx.auditd.log?.record_type == 'USER_MAC_CONFIG_CHANGE'"
253+ field : event.category
254+ value : configuration
255+ - set :
256+ if : " ctx.auditd.log?.record_type == 'USER_MAC_CONFIG_CHANGE'"
257+ field : event.type
258+ value : change
259+ - set :
260+ if : " ctx.auditd.log?.record_type == 'USER_MAC_POLICY_LOAD'"
261+ field : event.category
262+ value : configuration
263+ - set :
264+ if : " ctx.auditd.log?.record_type == 'USER_MAC_POLICY_LOAD'"
265+ field : event.type
266+ value : access
179267- set :
180268 if : " ctx.auditd.log?.record_type == 'USER_AUTH'"
181269 field : event.category
0 commit comments