Skip to content

nessus agent not support 'NESSUS_USERNAME and NESSUS_PASSWORD' to login #29

@cc901109

Description

@cc901109

Hi,
I tried to connect my own nessus(images:tenable/nessus:10.9.2-ubuntu),
download dispatcher.yaml then used command faraday-dispatcher run --token={TOKEN},
it connected but trigger not response and here's error message:

2025-09-23 08:02:46,924 - faraday_agent_dispatcher - INFO {MainThread} [dispatcher_io.py:173 - register()]  token_registration_url: http://192.168.22.14:31597/_api/v3/agents
2025-09-23 08:02:47,023 - faraday_agent_dispatcher - INFO {MainThread} [dispatcher_io.py:213 - register()]  Registered successfully
2025-09-23 08:02:47,023 - faraday_agent_dispatcher - INFO {MainThread} [main.py:81 - main()]  Trying to connect to: http://192.168.22.14:31597
2025-09-23 08:03:12,746 - faraday_agent_dispatcher - INFO {MainThread} [metadata_utils.py:70 - check_commands()]  Dependency check ended. Ready to go
2025-09-23 08:03:12,746 - faraday_agent_dispatcher - INFO {MainThread} [dispatcher_io.py:771 - on_run()]  Running nessus executor
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/faraday_agent_dispatcher/static/executors/official/nessus.py", line 328, in <module>
    main()
  File "/usr/local/lib/python3.11/dist-packages/faraday_agent_dispatcher/static/executors/official/nessus.py", line 292, in main
    scan_id = get_scans(NESSUS_URL, NESSUS_SCAN_NAME, token, x_token)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/faraday_agent_dispatcher/static/executors/official/nessus.py", line 46, in get_scans
    for scan in response.json().get("scans", []):
TypeError: 'NoneType' object is not iterable
stderr sent empty data, 
2025-09-23 08:03:14,107 - faraday_agent_dispatcher - INFO {MainThread} [executor_helper.py:157 - end_f()]  Data sent to bulk create
stdout sent empty data, 
2025-09-23 08:03:14,107 - faraday_agent_dispatcher - WARNING {MainThread} [dispatcher_io.py:818 - on_run()]  Executor nessus finished with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions