Documentation
¶
Index ¶
- Constants
- func CollectCronTimersInventory(ctx context.Context) *payload.CronTimersInventory
- func CollectCupsExposureFingerprint(ctx context.Context) *payload.CupsExposureFingerprint
- func CollectDockerPosture(ctx context.Context) *payload.DockerPosture
- func CollectHostBackup(ctx context.Context) *payload.HostBackup
- func CollectHostRuntimes(ctx context.Context) *payload.HostRuntimes
- func CollectMtaFingerprint(ctx context.Context) *payload.MtaFingerprint
- func CollectPostgresPosture(ctx context.Context, services []payload.ServiceEntry, ...) *payload.PostgresPosture
- func CollectRedisExposureFingerprint(ctx context.Context) *payload.RedisExposureFingerprint
- func CollectWebDbServersFingerprint(ctx context.Context) *payload.WebDbServersFingerprint
Constants ¶
const ModuleName = "software_packages_and_applications"
ModuleName identifies this component module.
Variables ¶
This section is empty.
Functions ¶
func CollectCronTimersInventory ¶
func CollectCronTimersInventory(ctx context.Context) *payload.CronTimersInventory
CollectCronTimersInventory summarizes /etc/crontab, cron.d, user spool, and systemd timers.
func CollectCupsExposureFingerprint ¶
func CollectCupsExposureFingerprint(ctx context.Context) *payload.CupsExposureFingerprint
CollectCupsExposureFingerprint reads CUPS unit state and bounded cupsd config.
func CollectDockerPosture ¶ added in v0.5.0
func CollectDockerPosture(ctx context.Context) *payload.DockerPosture
CollectDockerPosture collects Docker host security posture (read-only docker CLI and filesystem checks).
func CollectHostBackup ¶
func CollectHostBackup(ctx context.Context) *payload.HostBackup
CollectHostBackup detects known backup systems and periodic backup cron hints. backup_status is "on" when tools/cron indicate backups likely exist, otherwise "unknown".
func CollectHostRuntimes ¶
func CollectHostRuntimes(ctx context.Context) *payload.HostRuntimes
CollectHostRuntimes probes common interpreters on PATH (capped, M1).
func CollectMtaFingerprint ¶
func CollectMtaFingerprint(ctx context.Context) *payload.MtaFingerprint
CollectMtaFingerprint detects Postfix / Exim / Sendmail and collects bounded relay hints.
func CollectPostgresPosture ¶ added in v0.5.0
func CollectPostgresPosture(ctx context.Context, services []payload.ServiceEntry, listeners []payload.Listener) *payload.PostgresPosture
CollectPostgresPosture collects PostgreSQL security posture (no SQL). listeners should be the same-scan TCP snapshot.
func CollectRedisExposureFingerprint ¶
func CollectRedisExposureFingerprint(ctx context.Context) *payload.RedisExposureFingerprint
CollectRedisExposureFingerprint parses redis.conf candidates and redis-server unit state.
func CollectWebDbServersFingerprint ¶
func CollectWebDbServersFingerprint(ctx context.Context) *payload.WebDbServersFingerprint
CollectWebDbServersFingerprint reads bounded nginx/Apache/MySQL/PostgreSQL config hints.
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ftp collects bounded security posture for FTP servers (vsftpd, ProFTPD, Pure-FTPd).
|
Package ftp collects bounded security posture for FTP servers (vsftpd, ProFTPD, Pure-FTPd). |
|
Package mongodb collects bounded security posture for MongoDB servers.
|
Package mongodb collects bounded security posture for MongoDB servers. |
|
Package redis collects bounded security posture for Redis/Valkey servers.
|
Package redis collects bounded security posture for Redis/Valkey servers. |