Documentation ¶
Index ¶
Constants ¶
View Source
const ( SECRET_PREFIX = "sk_" PUBLISHABLE_PREFIX = "pk_" RESTRICTED_PREFIX = "rk_" LIVE_PREFIX = "live_" TEST_PREFIX = "test_" SECRET = "Secret" PUBLISHABLE = "Publishable" RESTRICTED = "Restricted" LIVE = "Live" TEST = "Test" )
Variables ¶
This section is empty.
Functions ¶
func AnalyzeAndPrintPermissions ¶ added in v3.80.5
func StatusContains ¶
Types ¶
type Analyzer ¶ added in v3.80.6
func (Analyzer) Type ¶ added in v3.80.6
func (Analyzer) Type() analyzerpb.AnalyzerType
type Category ¶
type Category map[string]map[string]HttpStatusTest
type HttpStatusTest ¶
type Permission ¶
type PermissionsCategory ¶
type PermissionsCategory struct { Name string Permissions []Permission }
type SecretInfo ¶ added in v3.80.5
type SecretInfo struct { KeyType string KeyEnv string Valid bool Permissions []PermissionsCategory }
func AnalyzePermissions ¶
func AnalyzePermissions(cfg *config.Config, key string) (*SecretInfo, error)
Click to show internal directories.
Click to hide internal directories.