Documentation
¶
Overview ¶
Package config checks configuration posture: framework debug mode left on, shipped default credentials, and misconfigured sibling tools (Sentinel, Pulse) such as monitor-only WAF or in-memory storage in production. Every check is passive: it reads the in-process route table exported by scout.Mount and GET-only health/diagnostic endpoints, and sends no attack traffic.
Index ¶
- type DefaultCreds
- func (DefaultCreds) ASVS() []string
- func (DefaultCreds) Category() core.Category
- func (DefaultCreds) Description() string
- func (DefaultCreds) ID() string
- func (DefaultCreds) Mode() core.Mode
- func (DefaultCreds) OWASP() []string
- func (DefaultCreds) Run(ctx context.Context, t core.Target) ([]core.Finding, error)
- type GinDebug
- type InMemoryStorageProd
- func (InMemoryStorageProd) Category() core.Category
- func (InMemoryStorageProd) Description() string
- func (InMemoryStorageProd) ID() string
- func (InMemoryStorageProd) Mode() core.Mode
- func (InMemoryStorageProd) OWASP() []string
- func (InMemoryStorageProd) Run(ctx context.Context, t core.Target) ([]core.Finding, error)
- type PulseMisconfig
- type SentinelMisconfig
- func (SentinelMisconfig) Category() core.Category
- func (SentinelMisconfig) Description() string
- func (SentinelMisconfig) ID() string
- func (SentinelMisconfig) Mode() core.Mode
- func (SentinelMisconfig) OWASP() []string
- func (SentinelMisconfig) Run(ctx context.Context, t core.Target) ([]core.Finding, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultCreds ¶
type DefaultCreds struct{}
DefaultCreds advises rotating shipped default credentials when a known admin login route is present in production. It never submits credentials (that would be an active auth check); it is a passive, route-table-driven nudge.
func (DefaultCreds) ASVS ¶
func (DefaultCreds) ASVS() []string
func (DefaultCreds) Category ¶
func (DefaultCreds) Category() core.Category
func (DefaultCreds) Description ¶
func (DefaultCreds) Description() string
func (DefaultCreds) ID ¶
func (DefaultCreds) ID() string
func (DefaultCreds) Mode ¶
func (DefaultCreds) Mode() core.Mode
func (DefaultCreds) OWASP ¶
func (DefaultCreds) OWASP() []string
type GinDebug ¶
type GinDebug struct{}
GinDebug flags a Gin app running in debug mode, detected by its default not-found response and the absence of production hardening. Debug mode is read from the route table when available, and confirmed over HTTP.
func (GinDebug) Description ¶
type InMemoryStorageProd ¶
type InMemoryStorageProd struct{}
InMemoryStorageProd flags a sibling tool reporting in-memory storage on a production target, where history and audit data are lost on restart.
func (InMemoryStorageProd) Category ¶
func (InMemoryStorageProd) Category() core.Category
func (InMemoryStorageProd) Description ¶
func (InMemoryStorageProd) Description() string
func (InMemoryStorageProd) ID ¶
func (InMemoryStorageProd) ID() string
func (InMemoryStorageProd) Mode ¶
func (InMemoryStorageProd) Mode() core.Mode
func (InMemoryStorageProd) OWASP ¶
func (InMemoryStorageProd) OWASP() []string
type PulseMisconfig ¶
type PulseMisconfig struct{}
PulseMisconfig reads a reachable Pulse health endpoint and flags default credentials being allowed in production.
func (PulseMisconfig) Category ¶
func (PulseMisconfig) Category() core.Category
func (PulseMisconfig) Description ¶
func (PulseMisconfig) Description() string
func (PulseMisconfig) ID ¶
func (PulseMisconfig) ID() string
func (PulseMisconfig) Mode ¶
func (PulseMisconfig) Mode() core.Mode
func (PulseMisconfig) OWASP ¶
func (PulseMisconfig) OWASP() []string
type SentinelMisconfig ¶
type SentinelMisconfig struct{}
SentinelMisconfig reads a reachable Sentinel health/config endpoint and flags a WAF left in log-only mode.
func (SentinelMisconfig) Category ¶
func (SentinelMisconfig) Category() core.Category
func (SentinelMisconfig) Description ¶
func (SentinelMisconfig) Description() string
func (SentinelMisconfig) ID ¶
func (SentinelMisconfig) ID() string
func (SentinelMisconfig) Mode ¶
func (SentinelMisconfig) Mode() core.Mode
func (SentinelMisconfig) OWASP ¶
func (SentinelMisconfig) OWASP() []string