diff --git a/plugins/security/crowdsec b/plugins/security/crowdsec index 099cd70d5..83689d3bd 100755 --- a/plugins/security/crowdsec +++ b/plugins/security/crowdsec @@ -174,7 +174,7 @@ class Decisions(): print(f'{name}.value {v}') -class Aquisitions(): +class Acquisitions(): def __init__(self): # requires crowdsec >= 1.5.3 try: @@ -185,8 +185,8 @@ class Aquisitions(): def config(self): if len(self.data) > 0: print(dedent(""" - multigraph aquisitions - graph_title CrowdSec Aquisitions + multigraph acquisitions + graph_title CrowdSec Acquisitions graph_args --base 1000 --lower-limit 0 graph_vlabel Lines per ${graph_period} graph_category security @@ -209,7 +209,7 @@ class Aquisitions(): if type in self.data['acquisition'][source]: r[type] += self.data['acquisition'][source][type] print(dedent(f""" - multigraph aquisitions + multigraph acquisitions reads.value {r['reads']} unparsed.value {r['unparsed']} parsed.value {r['parsed']} @@ -222,8 +222,8 @@ if __name__ == "__main__": elif len(sys.argv) == 2 and sys.argv[1] == 'config': state = State() Decisions().config() - Aquisitions().config() + Acquisitions().config() else: state = State() Decisions().current() - Aquisitions().current() + Acquisitions().current()