mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-16 13:17:04 +00:00
fix(userspce/engine): skip deprecated fields in --list -N option
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
parent
fafb7c4a72
commit
803d131843
@ -156,8 +156,7 @@ void falco_engine::list_fields(std::string &source, bool verbose, bool names_onl
|
|||||||
{
|
{
|
||||||
for(auto &field : fld_class.fields)
|
for(auto &field : fld_class.fields)
|
||||||
{
|
{
|
||||||
// Skip fields with the EPF_TABLE_ONLY flag.
|
if(field.is_skippable() || field.is_deprecated())
|
||||||
if(field.tags.find("EPF_TABLE_ONLY") != field.tags.end())
|
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user