Versions in this module Expand all Collapse all v1 v1.8.2 Oct 1, 2025 GO-2026-4416 GO-2026-4416: Devtron Attributes API Unauthorized Access Leading to API Token Signing Key Leakage in github.com/devtron-labs/devtron v1.8.1 Sep 15, 2025 GO-2026-4416 GO-2026-4416: Devtron Attributes API Unauthorized Access Leading to API Token Signing Key Leakage in github.com/devtron-labs/devtron v1.8.0 Sep 11, 2025 GO-2026-4416 GO-2026-4416: Devtron Attributes API Unauthorized Access Leading to API Token Signing Key Leakage in github.com/devtron-labs/devtron Changes in this version + type APISpecValidator struct + func NewAPISpecValidator(serverURL string, logger *zap.SugaredLogger) *APISpecValidator + func (v *APISpecValidator) BuildAndSetCookies(req *http.Request) + func (v *APISpecValidator) GenerateReport() string + func (v *APISpecValidator) GetResults() []ValidationResult + func (v *APISpecValidator) LoadSpecs(specsDir string) error + func (v *APISpecValidator) SetAdditionalCookie(name, value string) + func (v *APISpecValidator) SetCookiesFromString(cookieString string) + func (v *APISpecValidator) SetToken(token string) + func (v *APISpecValidator) ValidateAllSpecs() []ValidationResult + type ComparisonIssue struct + Field string + Message string + Method string + Path string + Type string + type ComparisonResult struct + Issues []ComparisonIssue + SpecFile string + type ExampleData struct + Request interface{} + Response interface{} + Status int + type FieldInfo struct + Name string + Required bool + Tag string + Type string + type HandlerInfo struct + FileName string + HandlerName string + Method string + Package string + Parameters []ParameterInfo + Path string + RequestBody *RequestBodyInfo + Response *ResponseInfo + type ParameterInfo struct + Location string + Name string + Required bool + Type string + type RequestBodyInfo struct + Fields []FieldInfo + Type string + type ResponseInfo struct + Fields []FieldInfo + StatusCode int + Type string + type SpecComparator struct + func NewSpecComparator(logger *zap.SugaredLogger) *SpecComparator + func (sc *SpecComparator) CompareSpecsWithHandlers(specsDir, handlersDir string) ([]ComparisonResult, error) + type SpecEnhancer struct + func NewSpecEnhancer(serverURL string, logger *zap.SugaredLogger) *SpecEnhancer + func (se *SpecEnhancer) EnhanceSpecs(specsDir, outputDir string) error + func (se *SpecEnhancer) SetAuthToken(token string) + type ValidationIssue struct + Actual interface{} + Expected interface{} + Field string + Message string + Severity string + Type string + type ValidationResult struct + Duration time.Duration + Endpoint string + Issues []ValidationIssue + Method string + Request interface{} + Response interface{} + SpecFile string + Status string + StatusCode int