apache

package
v0.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectApacheHttpdPosture

func CollectApacheHttpdPosture(ctx context.Context, services []payload.ServiceEntry, listeners []payload.Listener) *payload.ApacheHttpdPosture

CollectApacheHttpdPosture runs allowlisted -v, -S, -M and bounded config analysis when an Apache server binary is found. On Debian/Ubuntu, commands go through apache2ctl when present so /etc/apache2/envvars is applied (${APACHE_RUN_DIR} etc.); bare apache2 -S fails without that environment. bin_path remains the server binary path. listeners should be the same-scan TCP listener snapshot (after collect_listeners) for Listen cross-checks. Returns nil when no Apache binary is present.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL