Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tenable-vuln-management] Tenable API changes #3473

Closed
adrienbroyere opened this issue Feb 24, 2025 · 0 comments
Closed

[tenable-vuln-management] Tenable API changes #3473

adrienbroyere opened this issue Feb 24, 2025 · 0 comments
Assignees
Labels
bug use for describing something not working as expected critical use to identify critical bug to fix ASAP filigran support [optional] use to identify an issue related to feature developed & maintained by Filigran. solved use to identify issue that has been solved (must be linked to the solving PR)
Milestone

Comments

@adrienbroyere
Copy link

adrienbroyere commented Feb 24, 2025

Description

It seems that Tenable has changed their API response, we can notice Unexpected Tenable API response errors when deploying the tenable-vuln-management connector.

Environment

  1. OS Debian 12
  2. OpenCTI version: 6.5.2

Reproducible Steps

  1. Deploy the Tenable-vuln-management connector
  2. Notice API response error

Actual Output

Traceback (most recent call last):
  File "/opt/opencti-connector-tenable-vuln-management/tenable_vuln_management/connector.py", line 171, in _process
    VulnerabilityFinding.from_api_response_body(
  File "/opt/opencti-connector-tenable-vuln-management/tenable_vuln_management/models/tenable.py", line 402, in from_api_response_body
    return [cls(**item) for item in joined_data]
            ^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pydantic/main.py", line 214, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for VulnerabilityFinding
asset.last_scan_target
  Field required [type=missing, input_value={'agent_uuid': 'ca7944533...efd85', 'tracked': True}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.10/v/missing

Additional information

https://www.notion.so/Tenable-Vuln-Management-Tenable-Breaking-API-Changes-1a48fce17f2a807e8275fd416f7df756?pvs=24

Screenshots (optional)

@adrienbroyere adrienbroyere added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Feb 24, 2025
@flavienSindou flavienSindou added this to the Bugs backlog milestone Feb 24, 2025
@romain-filigran romain-filigran removed the needs triage use to identify issue needing triage from Filigran Product team label Feb 24, 2025
@helene-nguyen helene-nguyen added the filigran support [optional] use to identify an issue related to feature developed & maintained by Filigran. label Feb 25, 2025
@helene-nguyen helene-nguyen added the critical use to identify critical bug to fix ASAP label Feb 27, 2025
@flavienSindou flavienSindou added the solved use to identify issue that has been solved (must be linked to the solving PR) label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected critical use to identify critical bug to fix ASAP filigran support [optional] use to identify an issue related to feature developed & maintained by Filigran. solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
Development

No branches or pull requests

4 participants