Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

To manage and analyse user activity within the Ministry of Justice's GitHub organisation. By tracking individual user interactions and contributions within teams and repositories, this system enables automated management of inactive or departed team members, enhancing security and access control.

License

Notifications You must be signed in to change notification settings

ministryofjustice/operations-engineering-user-insights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Operations Engineering User Insights

repo standards badge

Overview

The 'operations-engineering-user-insights' repository is a part of the Ministry of Justice's initiative to automate the management of user activity within its GitHub organisation. This system efficiently tracks, analyzes, and manages user interactions within teams and repositories, enhancing both security and access control.

Features

  1. User Activity Tracking: Monitors individual user interactions, contributions, and last activity dates within teams and repositories.
  2. Inactivity Management: Automatically removes users who have been inactive for a specified period (e.g., a year and six months) or who have left the team.
  3. Notification System: Sends prompt and reliable notifications to remaining team members when a user is removed due to inactivity or departure from the team.
  4. Access Control List Maintenance: Ensures that only active and authorized team members have access to the repositories, maintaining a secure environment.

Functional Requirements

  • Develop a system that tracks the last activity of each user within the team or repository.
  • Set a rule in this system to automatically remove users who have been inactive for a year and six months or who have left the team.
  • Notify the remaining team members when a user is removed due to inactivity or leaving the team.

Non-Functional Requirements

  • The system must accurately track user activity.
  • The notification process should be prompt and reliable.

Acceptance Criteria

  • Users who have left the team or have been inactive for a year and six months are automatically removed from the team or repository.
  • The rest of the team is notified when a user is removed.

Getting Started

To get started with this project, follow the instructions below:

  1. Clone the repository.
  2. Set up the required environment variables.
  3. Install the dependencies using pip install -r requirements.txt.
  4. Run the system following the guidelines provided in the documentation.

Contributing

We welcome contributions from anyone in the community. Please read our CONTRIBUTING.md for guidelines on how to contribute.

Support and Questions

For support or any questions, please reach out to the Operations Engineering team at contact@email.com.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

To manage and analyse user activity within the Ministry of Justice's GitHub organisation. By tracking individual user interactions and contributions within teams and repositories, this system enables automated management of inactive or departed team members, enhancing security and access control.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Languages