{"modulePath":"github.com/Method-Security/methodtenable","version":"v0.4.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package utils\n\n## Constants\n\n```go\nconst TenableAPIBaseURL = \"https://cloud.tenable.com\"\n```\n\n## Functions\n\n```go\nfunc ParseFlexibleTimestamp(ts string) (time.Time, error)\n```\nParseFlexibleTimestamp attempts to parse a timestamp in multiple formats to handle variations in Tenable API responses\n\n```go\nfunc SetTenableAPIKeyHeader(req *http.Request, secrets *methodtenablefern.SecretConfig)\n```\nSetTenableAPIKeyHeader sets the X-ApiKeys header with the provided secrets\n\n","path":"github.com/Method-Security/methodtenable/utils/api","name":"utils","synopsis":"","isRedistributable":true}
