utils

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const TenableAPIBaseURL = "https://cloud.tenable.com"

Variables

This section is empty.

Functions

func ParseFlexibleTimestamp added in v0.0.15

func ParseFlexibleTimestamp(ts string) (time.Time, error)

ParseFlexibleTimestamp attempts to parse a timestamp in multiple formats to handle variations in Tenable API responses

func SetTenableAPIKeyHeader

func SetTenableAPIKeyHeader(req *http.Request, secrets *methodtenablefern.SecretConfig)

SetTenableAPIKeyHeader sets the X-ApiKeys header with the provided secrets

Types

This section is empty.

Directories

Path Synopsis
vm
was

Jump to

Keyboard shortcuts

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