2.1 KiB
Executable File
Problem to solve
Actions taken by the module should have the option to be logged for auditing purposes. This would allow actions performed to be tracked, checked and have metrics available should it be needed.
Details
-
project changed if a user notices that something has changed in the project/group, an audit log would enable a check to confirm the what and when or if it was made by
gitlab-management- ~Feature log to a specified location
-
Usage tracking with logging, you will be able to determine how much
gitlab-managementis being used. for this to occur the log file should be able to stand up to scrutiny.- ~Feature commit log to git repository
- if the specified log location is a git repository, commit the log to the repository.
- possible log message:
Logfile {filename} updated with {SHA1_HASH} SHA1 fingerprint.
- ~Feature Determine if log path
git sub-module, commit to it, not parent repo.
- ~Feature commit log to git repository
-
Specify log level Minimum logging level will be
Information, with the option to specifyDebug. No other level will be available at this stage.- ~Feature Specify log level
-
Log format the log file will be plain text. at this stage, it will be formatted as a csv. A CSV will allow easy import into many different programs for further review or madification.
- ~Feature Log file a CSV.
Documentation
- ~Documentation CLI help
- There needs to be a Switch for activating this feature.
- ~Documentation page for python-gitlab-management.readthedocs.io
Links / references
/label ~Feature ~"Documentation::Not Started"