Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / hardening
hardening
Hardening subsystem of @graphorin/security. Exposes the startup helpers, the POSIX file-mode utilities, the doctor library functions, and the bootstrap-token helpers.
References
_resetHardeningStatusForTesting
Re-exports _resetHardeningStatusForTesting
applyProcessHardening
Re-exports applyProcessHardening
ApplyProcessHardeningOptions
Re-exports ApplyProcessHardeningOptions
BOOTSTRAP_TOKEN_LENGTH
Re-exports BOOTSTRAP_TOKEN_LENGTH
checkEncryption
Re-exports checkEncryption
checkPerms
Re-exports checkPerms
CheckPermsOptions
Re-exports CheckPermsOptions
CheckResult
Re-exports CheckResult
checkSecrets
Re-exports checkSecrets
CheckStatus
Re-exports CheckStatus
checkSystemd
Re-exports checkSystemd
encodeBase62
Re-exports encodeBase62
ensureDirMode
Re-exports ensureDirMode
ensureFileMode
Re-exports ensureFileMode
FileModeMismatchError
Re-exports FileModeMismatchError
generateAesSalt
Re-exports generateAesSalt
generateBootstrapToken
Re-exports generateBootstrapToken
getHardeningStatus
Re-exports getHardeningStatus
GraphorinHardeningError
Re-exports GraphorinHardeningError
HardeningStatus
Re-exports HardeningStatus
parseSystemdScore
Re-exports parseSystemdScore
RefuseToRunAsRootError
Re-exports RefuseToRunAsRootError
verifyFileMode
Re-exports verifyFileMode