github.com/devseccon/trivy@v0.47.1-0.20231123133102-bd902a0bd996/pkg/fanal/types/secret.go (about)

     1  package types
     2  
     3  type SecretRuleCategory string
     4  
     5  type Secret struct {
     6  	FilePath string
     7  	Findings []SecretFinding
     8  }
     9  
    10  type SecretFinding struct {
    11  	RuleID    string
    12  	Category  SecretRuleCategory
    13  	Severity  string
    14  	Title     string
    15  	StartLine int
    16  	EndLine   int
    17  	Code      Code
    18  	Match     string
    19  	Layer     Layer `json:",omitempty"`
    20  }