Skip to content

Conversation

@aaunario-keeper
Copy link
Contributor

@aaunario-keeper aaunario-keeper commented Jan 12, 2026

Summary

Three reporting enhancements for compliance and security auditing:

1. Action Report: Lock Date for Blocked Users (aram.py)

  • New lock_time column showing when users were locked
  • Auto-included when --target locked or explicit --columns lock_time
  • Queries lock_user audit events to find most recent lock timestamp

2. Record Access Report: Last Password Change (compliance.py)

  • New last_pw_change column in --aging reports
  • Queries record_password_change audit events
  • Falls back to record created date if no password change event exists
  • Added progress spinners for long-running aging/access event fetches (silent in batch mode)

3. Security Audit: Per-Record Password Strength (security_audit.py)

  • New --record-details flag outputs per-record password strength
  • Uses get_incremental_security_data endpoint (has recordUid, unlike summary endpoint)
  • Columns: email, name, record_uid, strength, strength_category, node

Other Changes

  • Guard enterprise license expiration conversion for far-future timestamps (Windows time_t limits)
  • Add pytest to dev requirements
  • Stabilize service stop unit test by mocking OS-specific os.kill behavior

Test Plan

pytest unit-tests/ -q

Note: Full integration tests require tests/enterprise.json and tests/vault.json


🤖 Generated with Claude Code

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpytest@​9.0.287100100100100

View full report

@aaunario-keeper aaunario-keeper changed the title KC-1072: compliance spinners and whoami expiration KC-1072: Reporting enhancements - lock dates, password aging, per-record security Jan 12, 2026
@aaunario-keeper aaunario-keeper changed the title KC-1072: Reporting enhancements - lock dates, password aging, per-record security KC-1072: action-report lock dates, compliance pw aging, security-audit record details Jan 12, 2026
@craiglurey craiglurey merged commit 2b7ef9f into release Jan 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants