identity

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ModuleName = "identity_access_and_authentication"

ModuleName identifies this component module.

Variables

This section is empty.

Functions

func CollectDuplicateUidGid

func CollectDuplicateUidGid() *payload.DuplicateUidGid

CollectDuplicateUidGid reports passwd/group IDs shared by more than one account (names capped).

func CollectHostSSH

func CollectHostSSH() (*payload.HostSSH, string)

CollectHostSSH reads effective sshd settings from `sshd -T`.

func CollectHostUsersSummary

func CollectHostUsersSummary() (*payload.HostUsersSummary, string)

CollectHostUsersSummary parses /etc/passwd for counts and a capped sample (no password material).

func CollectPasswordPolicyFingerprint

func CollectPasswordPolicyFingerprint() *payload.PasswordPolicyFingerprint

CollectPasswordPolicyFingerprint reads pwquality.conf and PAM password stack lines (no secrets).

func CollectShadowAccountSummary

func CollectShadowAccountSummary() *payload.ShadowAccountSummary

CollectShadowAccountSummary derives non-secret counts from /etc/shadow (no hash material).

func CollectSudoersAudit

func CollectSudoersAudit() *payload.SudoersAudit

CollectSudoersAudit performs a structural sudoers scan without transmitting full rule bodies.

Types

This section is empty.

Jump to

Keyboard shortcuts

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