Skip to content

tenable/tenable-connectors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tenable Connectors Mono-Repo

This is the Tenable Integration Framework's officially supported connectors repository. All connectors that are accepted into this main branch will be built and deployed for use with the Tenable Integration Framework (hereby simply referred as the "framework" within this document). While each connector is effectively a individual python project they are all collectively stored here in order to provide a consistent and unified testing and deployment process that can be controlled and maintained in a single place.

Repository Layout

The base folder contains the required docker-related files for universally building any of the connecters. The Dockerfile that is stored within this folder should generally be quite close to the one that is vendored within the tenint python library that any developer can use to build & test connectors locally. These files should rarely be updated (mostly to update the pinnings for any dependent libraries).

The connectors folder contains a list of sub-folders (one for each connector) and the folder names should closely match the name of the connector itself.

Connector Layout

Connectors are built using the template defined within the tenint python library and at a minimum must contain the following files:

  • pyproject.toml: This file contains all the relevent information on how to setup the connector with uv, as well as the required metadata in order to construct the marketplace object for the connector. For details on the required fields, refer to the documentation in the tenint library.

  • connector.py: The connector runtime script. This file (as defined by the tenint library) describes the connector configuration settings, any required credential settings, and the connector's main function to execute whatever additional code is needed to launch the connector itself.

  • logo.svg: An Scalable Vector Graphics file with the associated logo icon to be displayed with the connector in the connector marketplace.

  • README.md: A readme file with any details, instructions, or other information related to the connector itself.

  • tests: The folder containing the unit tests for the connector. These tests are run using the pytest testing suite.

Most of the connectors will contain additional files and folders depending on whats required to drive the connector. This is prerfectly alright, but all of the above must exist. Some additional requirements that all connectors must at a minimum meet are the following:

  • Greater than 80% test coverage
  • Clean code linting from ruff
  • Clean CodeQL report
  • No issues greater than medium in Bandit
  • No discovered issues from pip-audit
  • No discovered issued from Snyk

How to develop a connector

NOTE Will be written when we're ready to start accepting outside written integrations

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published