identity

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 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(ctx context.Context) *payload.DuplicateUidGid

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

func CollectHostSSH

func CollectHostSSH(ctx context.Context) *payload.HostSSH

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

func CollectHostUsersSummary

func CollectHostUsersSummary(ctx context.Context) *payload.HostUsersSummary

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

func CollectPasswordPolicyFingerprint

func CollectPasswordPolicyFingerprint(ctx context.Context) *payload.PasswordPolicyFingerprint

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

func CollectShadowAccountSummary

func CollectShadowAccountSummary(ctx context.Context) *payload.ShadowAccountSummary

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

func CollectSudoersAudit

func CollectSudoersAudit(ctx context.Context) *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