Skip to content

Seperate User Audit permissions from Admin#60

Merged
TheWitness merged 19 commits into
Cacti:developfrom
bmfmancini:feature/compliance-event-capture
Jul 25, 2026
Merged

Seperate User Audit permissions from Admin#60
TheWitness merged 19 commits into
Cacti:developfrom
bmfmancini:feature/compliance-event-capture

Conversation

@bmfmancini

Copy link
Copy Markdown
Member
  • Allow admin to grant a user access to the audit plugin but disallow them from purging the logs
  • Group Audit plugin permissions together
  • Better capturing of successful/Failed events based on verified action

security: harden audit logging and management

- prevent stored XSS in audit views
- require CSRF-protected POST and management permission for purging
- recursively redact web and CLI credentials
- generate safe, standards-compliant CSV exports
- record hook events explicitly as attempted actions
- harden retention, replication, and external logging
- add security regression checks
- bump plugin version to 1.3
security: complete audit logging hardening

- bound request depth, field counts, string sizes, and JSON parsing
- detect and redact additional secret-shaped values
- finalize request outcomes as completed or failed
- track and retry failed external log delivery
- expose delivery status in the UI and CSV exports
- upgrade existing remote-poller schemas
- add retention, schema, delivery, and security regression tests
- update documentation and translation template
- bump plugin version to 1.4
This will make it easier for some SIEMS like splunk to ingest the log file
feat: add normalized compliance audit event capture

- add event and correlation UUIDs with integrity metadata
- record actor, target, outcome, timing, and event classification
- deliver finalized request outcomes to external log consumers
- audit log views, searches, details, exports, and purges
- capture logout and session-timeout events on Cacti 1.2.x
- finalize CLI audit events and expand CSV exports
- add schema migration, documentation, and tests
…ce-event-capture

# Conflicts:
#	.github/workflows/plugin-ci-workflow.yml
#	CHANGELOG.md
#	README.md
#	audit.php
#	audit_functions.php
#	setup.php
@TheWitness
TheWitness merged commit cd8772c into Cacti:develop Jul 25, 2026
1 check 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.

2 participants