firefly/actuator is LaraFly's production-ready management surface — the Spring-Boot-Actuator analogue. It ships a
HealthIndicator SPI with liveness/readiness probe groups, an ActuatorEndpoint contract + registry, and a
route-registration BootPass that mounts framework endpoints on the illuminate Router under /actuator. Dependency-light,
always-on, and secured entirely by M11 config with zero code edge to firefly/security.
/actuator— HAL index of exposed endpoints/actuator/health(+/actuator/health/{group}, liveness/readiness) — aggregated health, 503 on DOWN/actuator/info— mergedInfoContributorfragments (app,build)/actuator/env— thefirefly.*config tree, sensitive values masked/actuator/beans,/actuator/conditions,/actuator/mappings,/actuator/loggers(GET/POST),/actuator/scheduledtasks/actuator/metrics,/actuator/prometheus— supplied byfirefly/observabilitywhen installed
HealthIndicator { health(): Health }; Status = UP/DOWN/OUT_OF_SERVICE/UNKNOWN (severity DOWN>OUT_OF_SERVICE>UP>UNKNOWN);
a most-severe StatusAggregator (empty→UP); a bean-scan HealthContributorRegistrar; built-in Ping/DiskSpace/Db
indicators. A throwing indicator degrades to DOWN — never a 500.
Default firefly.management.endpoints.web.exposure.include = "health,info"; sensitive endpoints return 404 until
explicitly exposed. Lock them down with firefly.security.http.rules (no second management port — doesn't fit PHP-FPM):
'firefly' => [
'security' => [
'enabled' => true,
'http' => [
'enabled' => true,
'rules' => [
['pattern' => 'actuator/health', 'access' => 'permitAll'],
['pattern' => 'actuator/info', 'access' => 'permitAll'],
['pattern' => 'actuator/*', 'access' => 'hasRole:ACTUATOR'],
],
],
],
],firefly/security's HttpSecurityFilter is a global middleware — FilterChainRegistrar pushes it onto Laravel's
HTTP-kernel middleware stack ($kernel->pushMiddleware(...)), so it runs for every request the kernel handles,
including the actuator's directly-$router->match()-registered /actuator/** routes. Securing actuator is therefore
pure configuration: firefly/actuator's composer.json has no dependency on firefly/security, and deptrac.yaml
carries no Actuator → Security edge. An integration test
(packages/actuator/tests/SecurityLockdownIntegrationTest.php, booted via
packages/actuator/tests/Support/SecuredActuatorCapstoneTestCase.php) boots both stacks together and proves it
end-to-end: with the lockdown rules above and env exposed, an anonymous GET /actuator/env is denied 401
(AuthenticationException, no matching rule's expression is satisfied) while GET /actuator/health stays 200
(permitAll).
/actuator/env additionally masks any key matching password|secret|token|key|credential|passwd (case-insensitive,
recursive) with ******, independent of whether the URL lockdown above is configured — defense in depth for an
endpoint that is reachable at all only once explicitly exposed.
firefly.management.enabled(defaulttrue) — master gatefirefly.management.endpoints.web.exposure.include/.exclude(CSV or*, exclude wins)firefly.management.endpoints.web.base-path(default/actuator)firefly.management.endpoint.{id}.enabled(per-endpoint)firefly.management.endpoint.health.show-details(never|when-authorized|always)firefly.management.endpoint.health.group.{name}.includefirefly.management.endpoint.health.db.enabled(defaultfalse) — opt-inDbhealth indicatorfirefly.management.info.app.*,firefly.management.info.build.path
Framework endpoints are #[Component] beans mounted by a BootPass on the illuminate Router (reusing route:list,
URL generation, the HTTP-kernel middleware pipeline) — not app controllers. Health/info reuse Laravel DB/Log/config.
when-authorizedshow-details degrades tonever(no Security code edge; gate details via the lockdown)./httpexchanges,/caches,/configprops,/refresh,/threaddump,/shutdownare deferred to later SP cycles.- No second management port (an Octane second-listener is an SP-7 option).