@@ -217,15 +217,27 @@ std::vector<falcosecurity::field_info> my_plugin::get_fields()
217217 " field may not be "
218218 " available yet." ,
219219 req_both_arg},
220- {ft::FTYPE_STRING, " container.image.repository" , " Repository" ,
220+ {ft::FTYPE_STRING,
221+ " container.image.repository" ,
222+ " Repository" ,
221223 " The container image repository (e.g. falcosecurity/falco). In "
222224 " instances of userspace "
223225 " container engine lookup delays, this field may not be available "
224- " yet." },
225- {ft::FTYPE_STRING, " container.image.tag" , " Image Tag" ,
226+ " yet." ,
227+ {},
228+ false ,
229+ {},
230+ true }, // use as suggested output format
231+ {ft::FTYPE_STRING,
232+ " container.image.tag" ,
233+ " Image Tag" ,
226234 " The container image tag (e.g. stable, latest). In instances of "
227235 " userspace container "
228- " engine lookup delays, this field may not be available yet." },
236+ " engine lookup delays, this field may not be available yet." ,
237+ {},
238+ false ,
239+ {},
240+ true }, // use as suggested output format
229241 {ft::FTYPE_STRING, " container.image.digest" , " Registry Digest" ,
230242 " The container image registry digest (e.g. "
231243 " sha256:"
@@ -311,18 +323,30 @@ std::vector<falcosecurity::field_info> my_plugin::get_fields()
311323 " Process Is Container Readiness" ,
312324 " 'true' if this process is running as a part of the container's "
313325 " readiness probe." },
314- {ft::FTYPE_STRING, " k8s.pod.name" , " Pod Name" ,
326+ {ft::FTYPE_STRING,
327+ " k8s.pod.name" ,
328+ " Pod Name" ,
315329 " The Kubernetes pod name. This field is extracted from the "
316330 " container runtime socket "
317331 " simultaneously as we look up the 'container.*' fields. In cases "
318332 " of lookup delays, it may "
319- " not be available yet." },
320- {ft::FTYPE_STRING, " k8s.ns.name" , " Namespace Name" ,
333+ " not be available yet." ,
334+ {},
335+ false ,
336+ {},
337+ true }, // use as suggested output format
338+ {ft::FTYPE_STRING,
339+ " k8s.ns.name" ,
340+ " Namespace Name" ,
321341 " The Kubernetes namespace name. This field is extracted from the "
322342 " container runtime socket "
323343 " simultaneously as we look up the 'container.*' fields. In cases "
324344 " of lookup delays, it may "
325- " not be available yet." },
345+ " not be available yet." ,
346+ {},
347+ false ,
348+ {},
349+ true }, // use as suggested output format
326350 {ft::FTYPE_STRING, " k8s.pod.id" , " Legacy Pod UID" ,
327351 " [LEGACY] The Kubernetes pod UID, e.g. "
328352 " 3e41dc6b-08a8-44db-bc2a-3724b18ab19a. This legacy "
0 commit comments