Hello, we tried to setup the rule-source with the command like "suricata-update enable-source et/pro secret-code=xxxxxxxxxxxxxxxx“, but why did we receive an error message like:
KeyError: ‘secret-code’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/bin/suricata-update”, line 33, in
sys.exit(main.main())
File “/usr/local/lib/python3.8/dist-packages/suricata/update/main.py”, line 1305, in main
sys.exit(_main())
File “/usr/local/lib/python3.8/dist-packages/suricata/update/main.py”, line 1146, in _main
files = load_sources(suricata_version)
File “/usr/local/lib/python3.8/dist-packages/suricata/update/main.py”, line 898, in load_sources
url = (index.resolve_url(name, params), http_header,
File “/usr/local/lib/python3.8/dist-packages/suricata/update/sources.py”, line 132, in resolve_url
raise Exception(“Missing URL parameter: %s” % (str(err.args[0])))
Exception: Missing URL parameter: secret-code