mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-28 15:47:25 +00:00
update(userspace/falco): add accessor method for output's name
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
parent
0a14d34e16
commit
f2637c8600
@ -67,6 +67,12 @@ public:
|
||||
m_hostname = hostname;
|
||||
}
|
||||
|
||||
// Return the output's name as per its configuration.
|
||||
const std::string get_name()
|
||||
{
|
||||
return m_oc.name;
|
||||
}
|
||||
|
||||
// Output a message.
|
||||
virtual void output(const message *msg) = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user