tenable-terraform

command module
v0.0.0-...-5a21cb2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 1 Imported by: 0

README

tenable-terraform

Go

Overview

This document outlines the development roadmap for the tenable-terraform custom provider. This provider interfaces with Tenable's API (referenced here: Tenable API Documentation) to manage resources like managed credentials, scanner groups, and vulnerability scans.

Getting Started

Prerequisites
  • Go 1.15 or higher
  • Docker (optional, for containerized environments)
Setting Up the Development Environment
  1. Clone the repository:
    git clone https://github.com/4cecoder/tenable-terraform.git
    cd tenable-terraform
    go mod tidy
    go build -o tenable-terraform
    

Libraries Used

This project leverages the following Go libraries:

  • Terraform Plugin SDK: The primary toolkit for building Terraform providers.
  • Go-Tenable: A Go client library for accessing the Tenable API.
  • Testify: For writing and executing unit tests in Go.
  • Logrus: A structured logger for Go, used for logging in this project.

These libraries provide the necessary functionality for interfacing with Terraform, interacting with the Tenable API, and handling logging and testing within the project.

Development Roadmap

Task Status Expected Due Date Notes
Develop scaffolding for local development Basic scaffolding and documentation for local development of the Tenable provider. Includes necessary packages, environment settings, docker setup, etc.
Development of internal API for "managed credentials" Should have all CRUD(L) capabilities offered
Development of internal API for "ScannerGroups" Should have all CRUD(L) capabilities offered
Development of internal API for "Vulnerability Scan" Should have all CRUD(L) capabilities offered
Development of internal API for "web scans" Should have all CRUD(L) capabilities offered
Development of test cases for internal API functions and resources
Development of Terraform provider for "managed credentials" Should have all CRUD(L) capabilities offered
Development of Terraform provider for "ScannerGroups" Should have all CRUD(L) capabilities offered
Development of Terraform provider for "vulnerability scan" Should have all CRUD(L) capabilities offered
Development of Terraform provider for "web scans" Should have all CRUD(L) capabilities offered
Development of test cases for terraform provider and its resources
Generated docs for Terraform provider

Additional Information

  • Scaffolding: Details the setup process for a local development environment.
  • Internal API Development: Involves creating APIs that interact with Tenable's services.
  • Terraform Provider Development: Focuses on developing the Terraform provider to manage Tenable resources.
  • Testing and Documentation: Ensures all developments are properly tested and documented.

For further details and updates, refer to the Tenable API Documentation.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
api
Package api provides endpoints for interacting with Tenable's API to enhance services for company clients.
Package api provides endpoints for interacting with Tenable's API to enhance services for company clients.
cli
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL